001 /** 002 * Copyright (c) 2000-2013 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 aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.service.persistence.BasePersistence; 020 021 import com.liferay.portlet.bookmarks.model.BookmarksFolder; 022 023 /** 024 * The persistence interface for the bookmarks folder service. 025 * 026 * <p> 027 * Caching information and settings can be found in <code>portal.properties</code> 028 * </p> 029 * 030 * @author Brian Wing Shun Chan 031 * @see BookmarksFolderPersistenceImpl 032 * @see BookmarksFolderUtil 033 * @generated 034 */ 035 @ProviderType 036 public interface BookmarksFolderPersistence extends BasePersistence<BookmarksFolder> { 037 /* 038 * NOTE FOR DEVELOPERS: 039 * 040 * 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. 041 */ 042 043 /** 044 * Returns all the bookmarks folders where resourceBlockId = ?. 045 * 046 * @param resourceBlockId the resource block ID 047 * @return the matching bookmarks folders 048 * @throws SystemException if a system exception occurred 049 */ 050 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByResourceBlockId( 051 long resourceBlockId) 052 throws com.liferay.portal.kernel.exception.SystemException; 053 054 /** 055 * Returns a range of all the bookmarks folders where resourceBlockId = ?. 056 * 057 * <p> 058 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 059 * </p> 060 * 061 * @param resourceBlockId the resource block ID 062 * @param start the lower bound of the range of bookmarks folders 063 * @param end the upper bound of the range of bookmarks folders (not inclusive) 064 * @return the range of matching bookmarks folders 065 * @throws SystemException if a system exception occurred 066 */ 067 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByResourceBlockId( 068 long resourceBlockId, int start, int end) 069 throws com.liferay.portal.kernel.exception.SystemException; 070 071 /** 072 * Returns an ordered range of all the bookmarks folders where resourceBlockId = ?. 073 * 074 * <p> 075 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 076 * </p> 077 * 078 * @param resourceBlockId the resource block ID 079 * @param start the lower bound of the range of bookmarks folders 080 * @param end the upper bound of the range of bookmarks folders (not inclusive) 081 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 082 * @return the ordered range of matching bookmarks folders 083 * @throws SystemException if a system exception occurred 084 */ 085 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByResourceBlockId( 086 long resourceBlockId, int start, int end, 087 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 088 throws com.liferay.portal.kernel.exception.SystemException; 089 090 /** 091 * Returns the first bookmarks folder in the ordered set where resourceBlockId = ?. 092 * 093 * @param resourceBlockId the resource block ID 094 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 095 * @return the first matching bookmarks folder 096 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a matching bookmarks folder could not be found 097 * @throws SystemException if a system exception occurred 098 */ 099 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByResourceBlockId_First( 100 long resourceBlockId, 101 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 102 throws com.liferay.portal.kernel.exception.SystemException, 103 com.liferay.portlet.bookmarks.NoSuchFolderException; 104 105 /** 106 * Returns the first bookmarks folder in the ordered set where resourceBlockId = ?. 107 * 108 * @param resourceBlockId the resource block ID 109 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 110 * @return the first matching bookmarks folder, or <code>null</code> if a matching bookmarks folder could not be found 111 * @throws SystemException if a system exception occurred 112 */ 113 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByResourceBlockId_First( 114 long resourceBlockId, 115 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 116 throws com.liferay.portal.kernel.exception.SystemException; 117 118 /** 119 * Returns the last bookmarks folder in the ordered set where resourceBlockId = ?. 120 * 121 * @param resourceBlockId the resource block ID 122 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 123 * @return the last matching bookmarks folder 124 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a matching bookmarks folder could not be found 125 * @throws SystemException if a system exception occurred 126 */ 127 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByResourceBlockId_Last( 128 long resourceBlockId, 129 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 130 throws com.liferay.portal.kernel.exception.SystemException, 131 com.liferay.portlet.bookmarks.NoSuchFolderException; 132 133 /** 134 * Returns the last bookmarks folder in the ordered set where resourceBlockId = ?. 135 * 136 * @param resourceBlockId the resource block ID 137 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 138 * @return the last matching bookmarks folder, or <code>null</code> if a matching bookmarks folder could not be found 139 * @throws SystemException if a system exception occurred 140 */ 141 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByResourceBlockId_Last( 142 long resourceBlockId, 143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 144 throws com.liferay.portal.kernel.exception.SystemException; 145 146 /** 147 * Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where resourceBlockId = ?. 148 * 149 * @param folderId the primary key of the current bookmarks folder 150 * @param resourceBlockId the resource block ID 151 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 152 * @return the previous, current, and next bookmarks folder 153 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a bookmarks folder with the primary key could not be found 154 * @throws SystemException if a system exception occurred 155 */ 156 public com.liferay.portlet.bookmarks.model.BookmarksFolder[] findByResourceBlockId_PrevAndNext( 157 long folderId, long resourceBlockId, 158 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 159 throws com.liferay.portal.kernel.exception.SystemException, 160 com.liferay.portlet.bookmarks.NoSuchFolderException; 161 162 /** 163 * Removes all the bookmarks folders where resourceBlockId = ? from the database. 164 * 165 * @param resourceBlockId the resource block ID 166 * @throws SystemException if a system exception occurred 167 */ 168 public void removeByResourceBlockId(long resourceBlockId) 169 throws com.liferay.portal.kernel.exception.SystemException; 170 171 /** 172 * Returns the number of bookmarks folders where resourceBlockId = ?. 173 * 174 * @param resourceBlockId the resource block ID 175 * @return the number of matching bookmarks folders 176 * @throws SystemException if a system exception occurred 177 */ 178 public int countByResourceBlockId(long resourceBlockId) 179 throws com.liferay.portal.kernel.exception.SystemException; 180 181 /** 182 * Returns all the bookmarks folders where uuid = ?. 183 * 184 * @param uuid the uuid 185 * @return the matching bookmarks folders 186 * @throws SystemException if a system exception occurred 187 */ 188 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByUuid( 189 java.lang.String uuid) 190 throws com.liferay.portal.kernel.exception.SystemException; 191 192 /** 193 * Returns a range of all the bookmarks folders where uuid = ?. 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 197 * </p> 198 * 199 * @param uuid the uuid 200 * @param start the lower bound of the range of bookmarks folders 201 * @param end the upper bound of the range of bookmarks folders (not inclusive) 202 * @return the range of matching bookmarks folders 203 * @throws SystemException if a system exception occurred 204 */ 205 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByUuid( 206 java.lang.String uuid, int start, int end) 207 throws com.liferay.portal.kernel.exception.SystemException; 208 209 /** 210 * Returns an ordered range of all the bookmarks folders where uuid = ?. 211 * 212 * <p> 213 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 214 * </p> 215 * 216 * @param uuid the uuid 217 * @param start the lower bound of the range of bookmarks folders 218 * @param end the upper bound of the range of bookmarks folders (not inclusive) 219 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 220 * @return the ordered range of matching bookmarks folders 221 * @throws SystemException if a system exception occurred 222 */ 223 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByUuid( 224 java.lang.String uuid, int start, int end, 225 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 226 throws com.liferay.portal.kernel.exception.SystemException; 227 228 /** 229 * Returns the first bookmarks folder in the ordered set where uuid = ?. 230 * 231 * @param uuid the uuid 232 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 233 * @return the first matching bookmarks folder 234 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a matching bookmarks folder could not be found 235 * @throws SystemException if a system exception occurred 236 */ 237 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByUuid_First( 238 java.lang.String uuid, 239 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 240 throws com.liferay.portal.kernel.exception.SystemException, 241 com.liferay.portlet.bookmarks.NoSuchFolderException; 242 243 /** 244 * Returns the first bookmarks folder in the ordered set where uuid = ?. 245 * 246 * @param uuid the uuid 247 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 248 * @return the first matching bookmarks folder, or <code>null</code> if a matching bookmarks folder could not be found 249 * @throws SystemException if a system exception occurred 250 */ 251 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByUuid_First( 252 java.lang.String uuid, 253 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 254 throws com.liferay.portal.kernel.exception.SystemException; 255 256 /** 257 * Returns the last bookmarks folder in the ordered set where uuid = ?. 258 * 259 * @param uuid the uuid 260 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 261 * @return the last matching bookmarks folder 262 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a matching bookmarks folder could not be found 263 * @throws SystemException if a system exception occurred 264 */ 265 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByUuid_Last( 266 java.lang.String uuid, 267 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 268 throws com.liferay.portal.kernel.exception.SystemException, 269 com.liferay.portlet.bookmarks.NoSuchFolderException; 270 271 /** 272 * Returns the last bookmarks folder in the ordered set where uuid = ?. 273 * 274 * @param uuid the uuid 275 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 276 * @return the last matching bookmarks folder, or <code>null</code> if a matching bookmarks folder could not be found 277 * @throws SystemException if a system exception occurred 278 */ 279 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByUuid_Last( 280 java.lang.String uuid, 281 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 282 throws com.liferay.portal.kernel.exception.SystemException; 283 284 /** 285 * Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where uuid = ?. 286 * 287 * @param folderId the primary key of the current bookmarks folder 288 * @param uuid the uuid 289 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 290 * @return the previous, current, and next bookmarks folder 291 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a bookmarks folder with the primary key could not be found 292 * @throws SystemException if a system exception occurred 293 */ 294 public com.liferay.portlet.bookmarks.model.BookmarksFolder[] findByUuid_PrevAndNext( 295 long folderId, java.lang.String uuid, 296 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 297 throws com.liferay.portal.kernel.exception.SystemException, 298 com.liferay.portlet.bookmarks.NoSuchFolderException; 299 300 /** 301 * Removes all the bookmarks folders where uuid = ? from the database. 302 * 303 * @param uuid the uuid 304 * @throws SystemException if a system exception occurred 305 */ 306 public void removeByUuid(java.lang.String uuid) 307 throws com.liferay.portal.kernel.exception.SystemException; 308 309 /** 310 * Returns the number of bookmarks folders where uuid = ?. 311 * 312 * @param uuid the uuid 313 * @return the number of matching bookmarks folders 314 * @throws SystemException if a system exception occurred 315 */ 316 public int countByUuid(java.lang.String uuid) 317 throws com.liferay.portal.kernel.exception.SystemException; 318 319 /** 320 * Returns the bookmarks folder where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.bookmarks.NoSuchFolderException} if it could not be found. 321 * 322 * @param uuid the uuid 323 * @param groupId the group ID 324 * @return the matching bookmarks folder 325 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a matching bookmarks folder could not be found 326 * @throws SystemException if a system exception occurred 327 */ 328 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByUUID_G( 329 java.lang.String uuid, long groupId) 330 throws com.liferay.portal.kernel.exception.SystemException, 331 com.liferay.portlet.bookmarks.NoSuchFolderException; 332 333 /** 334 * Returns the bookmarks folder where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 335 * 336 * @param uuid the uuid 337 * @param groupId the group ID 338 * @return the matching bookmarks folder, or <code>null</code> if a matching bookmarks folder could not be found 339 * @throws SystemException if a system exception occurred 340 */ 341 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByUUID_G( 342 java.lang.String uuid, long groupId) 343 throws com.liferay.portal.kernel.exception.SystemException; 344 345 /** 346 * Returns the bookmarks folder where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 347 * 348 * @param uuid the uuid 349 * @param groupId the group ID 350 * @param retrieveFromCache whether to use the finder cache 351 * @return the matching bookmarks folder, or <code>null</code> if a matching bookmarks folder could not be found 352 * @throws SystemException if a system exception occurred 353 */ 354 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByUUID_G( 355 java.lang.String uuid, long groupId, boolean retrieveFromCache) 356 throws com.liferay.portal.kernel.exception.SystemException; 357 358 /** 359 * Removes the bookmarks folder where uuid = ? and groupId = ? from the database. 360 * 361 * @param uuid the uuid 362 * @param groupId the group ID 363 * @return the bookmarks folder that was removed 364 * @throws SystemException if a system exception occurred 365 */ 366 public com.liferay.portlet.bookmarks.model.BookmarksFolder removeByUUID_G( 367 java.lang.String uuid, long groupId) 368 throws com.liferay.portal.kernel.exception.SystemException, 369 com.liferay.portlet.bookmarks.NoSuchFolderException; 370 371 /** 372 * Returns the number of bookmarks folders where uuid = ? and groupId = ?. 373 * 374 * @param uuid the uuid 375 * @param groupId the group ID 376 * @return the number of matching bookmarks folders 377 * @throws SystemException if a system exception occurred 378 */ 379 public int countByUUID_G(java.lang.String uuid, long groupId) 380 throws com.liferay.portal.kernel.exception.SystemException; 381 382 /** 383 * Returns all the bookmarks folders where uuid = ? and companyId = ?. 384 * 385 * @param uuid the uuid 386 * @param companyId the company ID 387 * @return the matching bookmarks folders 388 * @throws SystemException if a system exception occurred 389 */ 390 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByUuid_C( 391 java.lang.String uuid, long companyId) 392 throws com.liferay.portal.kernel.exception.SystemException; 393 394 /** 395 * Returns a range of all the bookmarks folders where uuid = ? and companyId = ?. 396 * 397 * <p> 398 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 399 * </p> 400 * 401 * @param uuid the uuid 402 * @param companyId the company ID 403 * @param start the lower bound of the range of bookmarks folders 404 * @param end the upper bound of the range of bookmarks folders (not inclusive) 405 * @return the range of matching bookmarks folders 406 * @throws SystemException if a system exception occurred 407 */ 408 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByUuid_C( 409 java.lang.String uuid, long companyId, int start, int end) 410 throws com.liferay.portal.kernel.exception.SystemException; 411 412 /** 413 * Returns an ordered range of all the bookmarks folders where uuid = ? and companyId = ?. 414 * 415 * <p> 416 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 417 * </p> 418 * 419 * @param uuid the uuid 420 * @param companyId the company ID 421 * @param start the lower bound of the range of bookmarks folders 422 * @param end the upper bound of the range of bookmarks folders (not inclusive) 423 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 424 * @return the ordered range of matching bookmarks folders 425 * @throws SystemException if a system exception occurred 426 */ 427 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByUuid_C( 428 java.lang.String uuid, long companyId, int start, int end, 429 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 430 throws com.liferay.portal.kernel.exception.SystemException; 431 432 /** 433 * Returns the first bookmarks folder in the ordered set where uuid = ? and companyId = ?. 434 * 435 * @param uuid the uuid 436 * @param companyId the company ID 437 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 438 * @return the first matching bookmarks folder 439 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a matching bookmarks folder could not be found 440 * @throws SystemException if a system exception occurred 441 */ 442 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByUuid_C_First( 443 java.lang.String uuid, long companyId, 444 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 445 throws com.liferay.portal.kernel.exception.SystemException, 446 com.liferay.portlet.bookmarks.NoSuchFolderException; 447 448 /** 449 * Returns the first bookmarks folder in the ordered set where uuid = ? and companyId = ?. 450 * 451 * @param uuid the uuid 452 * @param companyId the company ID 453 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 454 * @return the first matching bookmarks folder, or <code>null</code> if a matching bookmarks folder could not be found 455 * @throws SystemException if a system exception occurred 456 */ 457 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByUuid_C_First( 458 java.lang.String uuid, long companyId, 459 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 460 throws com.liferay.portal.kernel.exception.SystemException; 461 462 /** 463 * Returns the last bookmarks folder in the ordered set where uuid = ? and companyId = ?. 464 * 465 * @param uuid the uuid 466 * @param companyId the company ID 467 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 468 * @return the last matching bookmarks folder 469 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a matching bookmarks folder could not be found 470 * @throws SystemException if a system exception occurred 471 */ 472 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByUuid_C_Last( 473 java.lang.String uuid, long companyId, 474 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 475 throws com.liferay.portal.kernel.exception.SystemException, 476 com.liferay.portlet.bookmarks.NoSuchFolderException; 477 478 /** 479 * Returns the last bookmarks folder in the ordered set where uuid = ? and companyId = ?. 480 * 481 * @param uuid the uuid 482 * @param companyId the company ID 483 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 484 * @return the last matching bookmarks folder, or <code>null</code> if a matching bookmarks folder could not be found 485 * @throws SystemException if a system exception occurred 486 */ 487 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByUuid_C_Last( 488 java.lang.String uuid, long companyId, 489 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 490 throws com.liferay.portal.kernel.exception.SystemException; 491 492 /** 493 * Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where uuid = ? and companyId = ?. 494 * 495 * @param folderId the primary key of the current bookmarks folder 496 * @param uuid the uuid 497 * @param companyId the company ID 498 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 499 * @return the previous, current, and next bookmarks folder 500 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a bookmarks folder with the primary key could not be found 501 * @throws SystemException if a system exception occurred 502 */ 503 public com.liferay.portlet.bookmarks.model.BookmarksFolder[] findByUuid_C_PrevAndNext( 504 long folderId, java.lang.String uuid, long companyId, 505 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 506 throws com.liferay.portal.kernel.exception.SystemException, 507 com.liferay.portlet.bookmarks.NoSuchFolderException; 508 509 /** 510 * Removes all the bookmarks folders where uuid = ? and companyId = ? from the database. 511 * 512 * @param uuid the uuid 513 * @param companyId the company ID 514 * @throws SystemException if a system exception occurred 515 */ 516 public void removeByUuid_C(java.lang.String uuid, long companyId) 517 throws com.liferay.portal.kernel.exception.SystemException; 518 519 /** 520 * Returns the number of bookmarks folders where uuid = ? and companyId = ?. 521 * 522 * @param uuid the uuid 523 * @param companyId the company ID 524 * @return the number of matching bookmarks folders 525 * @throws SystemException if a system exception occurred 526 */ 527 public int countByUuid_C(java.lang.String uuid, long companyId) 528 throws com.liferay.portal.kernel.exception.SystemException; 529 530 /** 531 * Returns all the bookmarks folders where groupId = ?. 532 * 533 * @param groupId the group ID 534 * @return the matching bookmarks folders 535 * @throws SystemException if a system exception occurred 536 */ 537 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByGroupId( 538 long groupId) 539 throws com.liferay.portal.kernel.exception.SystemException; 540 541 /** 542 * Returns a range of all the bookmarks folders where groupId = ?. 543 * 544 * <p> 545 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 546 * </p> 547 * 548 * @param groupId the group ID 549 * @param start the lower bound of the range of bookmarks folders 550 * @param end the upper bound of the range of bookmarks folders (not inclusive) 551 * @return the range of matching bookmarks folders 552 * @throws SystemException if a system exception occurred 553 */ 554 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByGroupId( 555 long groupId, int start, int end) 556 throws com.liferay.portal.kernel.exception.SystemException; 557 558 /** 559 * Returns an ordered range of all the bookmarks folders where groupId = ?. 560 * 561 * <p> 562 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 563 * </p> 564 * 565 * @param groupId the group ID 566 * @param start the lower bound of the range of bookmarks folders 567 * @param end the upper bound of the range of bookmarks folders (not inclusive) 568 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 569 * @return the ordered range of matching bookmarks folders 570 * @throws SystemException if a system exception occurred 571 */ 572 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByGroupId( 573 long groupId, int start, int end, 574 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 575 throws com.liferay.portal.kernel.exception.SystemException; 576 577 /** 578 * Returns the first bookmarks folder in the ordered set where groupId = ?. 579 * 580 * @param groupId the group ID 581 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 582 * @return the first matching bookmarks folder 583 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a matching bookmarks folder could not be found 584 * @throws SystemException if a system exception occurred 585 */ 586 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByGroupId_First( 587 long groupId, 588 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 589 throws com.liferay.portal.kernel.exception.SystemException, 590 com.liferay.portlet.bookmarks.NoSuchFolderException; 591 592 /** 593 * Returns the first bookmarks folder in the ordered set where groupId = ?. 594 * 595 * @param groupId the group ID 596 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 597 * @return the first matching bookmarks folder, or <code>null</code> if a matching bookmarks folder could not be found 598 * @throws SystemException if a system exception occurred 599 */ 600 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByGroupId_First( 601 long groupId, 602 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 603 throws com.liferay.portal.kernel.exception.SystemException; 604 605 /** 606 * Returns the last bookmarks folder in the ordered set where groupId = ?. 607 * 608 * @param groupId the group ID 609 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 610 * @return the last matching bookmarks folder 611 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a matching bookmarks folder could not be found 612 * @throws SystemException if a system exception occurred 613 */ 614 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByGroupId_Last( 615 long groupId, 616 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 617 throws com.liferay.portal.kernel.exception.SystemException, 618 com.liferay.portlet.bookmarks.NoSuchFolderException; 619 620 /** 621 * Returns the last bookmarks folder in the ordered set where groupId = ?. 622 * 623 * @param groupId the group ID 624 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 625 * @return the last matching bookmarks folder, or <code>null</code> if a matching bookmarks folder could not be found 626 * @throws SystemException if a system exception occurred 627 */ 628 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByGroupId_Last( 629 long groupId, 630 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 631 throws com.liferay.portal.kernel.exception.SystemException; 632 633 /** 634 * Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where groupId = ?. 635 * 636 * @param folderId the primary key of the current bookmarks folder 637 * @param groupId the group ID 638 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 639 * @return the previous, current, and next bookmarks folder 640 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a bookmarks folder with the primary key could not be found 641 * @throws SystemException if a system exception occurred 642 */ 643 public com.liferay.portlet.bookmarks.model.BookmarksFolder[] findByGroupId_PrevAndNext( 644 long folderId, long groupId, 645 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 646 throws com.liferay.portal.kernel.exception.SystemException, 647 com.liferay.portlet.bookmarks.NoSuchFolderException; 648 649 /** 650 * Returns all the bookmarks folders that the user has permission to view where groupId = ?. 651 * 652 * @param groupId the group ID 653 * @return the matching bookmarks folders that the user has permission to view 654 * @throws SystemException if a system exception occurred 655 */ 656 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> filterFindByGroupId( 657 long groupId) 658 throws com.liferay.portal.kernel.exception.SystemException; 659 660 /** 661 * Returns a range of all the bookmarks folders that the user has permission to view where groupId = ?. 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 665 * </p> 666 * 667 * @param groupId the group 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 * @return the range of matching bookmarks folders that the user has permission to view 671 * @throws SystemException if a system exception occurred 672 */ 673 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> filterFindByGroupId( 674 long groupId, int start, int end) 675 throws com.liferay.portal.kernel.exception.SystemException; 676 677 /** 678 * Returns an ordered range of all the bookmarks folders that the user has permissions to view where groupId = ?. 679 * 680 * <p> 681 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 682 * </p> 683 * 684 * @param groupId the group ID 685 * @param start the lower bound of the range of bookmarks folders 686 * @param end the upper bound of the range of bookmarks folders (not inclusive) 687 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 688 * @return the ordered range of matching bookmarks folders that the user has permission to view 689 * @throws SystemException if a system exception occurred 690 */ 691 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> filterFindByGroupId( 692 long groupId, int start, int end, 693 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 694 throws com.liferay.portal.kernel.exception.SystemException; 695 696 /** 697 * 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 = ?. 698 * 699 * @param folderId the primary key of the current bookmarks folder 700 * @param groupId the group ID 701 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 702 * @return the previous, current, and next bookmarks folder 703 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a bookmarks folder with the primary key could not be found 704 * @throws SystemException if a system exception occurred 705 */ 706 public com.liferay.portlet.bookmarks.model.BookmarksFolder[] filterFindByGroupId_PrevAndNext( 707 long folderId, long groupId, 708 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 709 throws com.liferay.portal.kernel.exception.SystemException, 710 com.liferay.portlet.bookmarks.NoSuchFolderException; 711 712 /** 713 * Removes all the bookmarks folders where groupId = ? from the database. 714 * 715 * @param groupId the group ID 716 * @throws SystemException if a system exception occurred 717 */ 718 public void removeByGroupId(long groupId) 719 throws com.liferay.portal.kernel.exception.SystemException; 720 721 /** 722 * Returns the number of bookmarks folders where groupId = ?. 723 * 724 * @param groupId the group ID 725 * @return the number of matching bookmarks folders 726 * @throws SystemException if a system exception occurred 727 */ 728 public int countByGroupId(long groupId) 729 throws com.liferay.portal.kernel.exception.SystemException; 730 731 /** 732 * Returns the number of bookmarks folders that the user has permission to view where groupId = ?. 733 * 734 * @param groupId the group ID 735 * @return the number of matching bookmarks folders that the user has permission to view 736 * @throws SystemException if a system exception occurred 737 */ 738 public int filterCountByGroupId(long groupId) 739 throws com.liferay.portal.kernel.exception.SystemException; 740 741 /** 742 * Returns all the bookmarks folders where companyId = ?. 743 * 744 * @param companyId the company ID 745 * @return the matching bookmarks folders 746 * @throws SystemException if a system exception occurred 747 */ 748 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByCompanyId( 749 long companyId) 750 throws com.liferay.portal.kernel.exception.SystemException; 751 752 /** 753 * Returns a range of all the bookmarks folders where companyId = ?. 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 757 * </p> 758 * 759 * @param companyId the company ID 760 * @param start the lower bound of the range of bookmarks folders 761 * @param end the upper bound of the range of bookmarks folders (not inclusive) 762 * @return the range of matching bookmarks folders 763 * @throws SystemException if a system exception occurred 764 */ 765 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByCompanyId( 766 long companyId, int start, int end) 767 throws com.liferay.portal.kernel.exception.SystemException; 768 769 /** 770 * Returns an ordered range of all the bookmarks folders where companyId = ?. 771 * 772 * <p> 773 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 774 * </p> 775 * 776 * @param companyId the company ID 777 * @param start the lower bound of the range of bookmarks folders 778 * @param end the upper bound of the range of bookmarks folders (not inclusive) 779 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 780 * @return the ordered range of matching bookmarks folders 781 * @throws SystemException if a system exception occurred 782 */ 783 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByCompanyId( 784 long companyId, int start, int end, 785 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 786 throws com.liferay.portal.kernel.exception.SystemException; 787 788 /** 789 * Returns the first bookmarks folder in the ordered set where companyId = ?. 790 * 791 * @param companyId the company ID 792 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 793 * @return the first matching bookmarks folder 794 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a matching bookmarks folder could not be found 795 * @throws SystemException if a system exception occurred 796 */ 797 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByCompanyId_First( 798 long companyId, 799 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 800 throws com.liferay.portal.kernel.exception.SystemException, 801 com.liferay.portlet.bookmarks.NoSuchFolderException; 802 803 /** 804 * Returns the first bookmarks folder in the ordered set where companyId = ?. 805 * 806 * @param companyId the company ID 807 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 808 * @return the first matching bookmarks folder, or <code>null</code> if a matching bookmarks folder could not be found 809 * @throws SystemException if a system exception occurred 810 */ 811 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByCompanyId_First( 812 long companyId, 813 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 814 throws com.liferay.portal.kernel.exception.SystemException; 815 816 /** 817 * Returns the last bookmarks folder in the ordered set where companyId = ?. 818 * 819 * @param companyId the company ID 820 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 821 * @return the last matching bookmarks folder 822 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a matching bookmarks folder could not be found 823 * @throws SystemException if a system exception occurred 824 */ 825 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByCompanyId_Last( 826 long companyId, 827 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 828 throws com.liferay.portal.kernel.exception.SystemException, 829 com.liferay.portlet.bookmarks.NoSuchFolderException; 830 831 /** 832 * Returns the last bookmarks folder in the ordered set where companyId = ?. 833 * 834 * @param companyId the company ID 835 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 836 * @return the last matching bookmarks folder, or <code>null</code> if a matching bookmarks folder could not be found 837 * @throws SystemException if a system exception occurred 838 */ 839 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByCompanyId_Last( 840 long companyId, 841 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 842 throws com.liferay.portal.kernel.exception.SystemException; 843 844 /** 845 * Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where companyId = ?. 846 * 847 * @param folderId the primary key of the current bookmarks folder 848 * @param companyId the company ID 849 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 850 * @return the previous, current, and next bookmarks folder 851 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a bookmarks folder with the primary key could not be found 852 * @throws SystemException if a system exception occurred 853 */ 854 public com.liferay.portlet.bookmarks.model.BookmarksFolder[] findByCompanyId_PrevAndNext( 855 long folderId, long companyId, 856 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 857 throws com.liferay.portal.kernel.exception.SystemException, 858 com.liferay.portlet.bookmarks.NoSuchFolderException; 859 860 /** 861 * Removes all the bookmarks folders where companyId = ? from the database. 862 * 863 * @param companyId the company ID 864 * @throws SystemException if a system exception occurred 865 */ 866 public void removeByCompanyId(long companyId) 867 throws com.liferay.portal.kernel.exception.SystemException; 868 869 /** 870 * Returns the number of bookmarks folders where companyId = ?. 871 * 872 * @param companyId the company ID 873 * @return the number of matching bookmarks folders 874 * @throws SystemException if a system exception occurred 875 */ 876 public int countByCompanyId(long companyId) 877 throws com.liferay.portal.kernel.exception.SystemException; 878 879 /** 880 * Returns all the bookmarks folders where groupId = ? and parentFolderId = ?. 881 * 882 * @param groupId the group ID 883 * @param parentFolderId the parent folder ID 884 * @return the matching bookmarks folders 885 * @throws SystemException if a system exception occurred 886 */ 887 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByG_P( 888 long groupId, long parentFolderId) 889 throws com.liferay.portal.kernel.exception.SystemException; 890 891 /** 892 * Returns a range of all the bookmarks folders where groupId = ? and parentFolderId = ?. 893 * 894 * <p> 895 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 896 * </p> 897 * 898 * @param groupId the group ID 899 * @param parentFolderId the parent folder ID 900 * @param start the lower bound of the range of bookmarks folders 901 * @param end the upper bound of the range of bookmarks folders (not inclusive) 902 * @return the range of matching bookmarks folders 903 * @throws SystemException if a system exception occurred 904 */ 905 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByG_P( 906 long groupId, long parentFolderId, int start, int end) 907 throws com.liferay.portal.kernel.exception.SystemException; 908 909 /** 910 * Returns an ordered range of all the bookmarks folders where groupId = ? and parentFolderId = ?. 911 * 912 * <p> 913 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 914 * </p> 915 * 916 * @param groupId the group ID 917 * @param parentFolderId the parent folder ID 918 * @param start the lower bound of the range of bookmarks folders 919 * @param end the upper bound of the range of bookmarks folders (not inclusive) 920 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 921 * @return the ordered range of matching bookmarks folders 922 * @throws SystemException if a system exception occurred 923 */ 924 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByG_P( 925 long groupId, long parentFolderId, int start, int end, 926 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 927 throws com.liferay.portal.kernel.exception.SystemException; 928 929 /** 930 * Returns the first bookmarks folder in the ordered set where groupId = ? and parentFolderId = ?. 931 * 932 * @param groupId the group ID 933 * @param parentFolderId the parent folder ID 934 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 935 * @return the first matching bookmarks folder 936 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a matching bookmarks folder could not be found 937 * @throws SystemException if a system exception occurred 938 */ 939 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByG_P_First( 940 long groupId, long parentFolderId, 941 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 942 throws com.liferay.portal.kernel.exception.SystemException, 943 com.liferay.portlet.bookmarks.NoSuchFolderException; 944 945 /** 946 * Returns the first bookmarks folder in the ordered set where groupId = ? and parentFolderId = ?. 947 * 948 * @param groupId the group ID 949 * @param parentFolderId the parent folder ID 950 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 951 * @return the first matching bookmarks folder, or <code>null</code> if a matching bookmarks folder could not be found 952 * @throws SystemException if a system exception occurred 953 */ 954 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByG_P_First( 955 long groupId, long parentFolderId, 956 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 957 throws com.liferay.portal.kernel.exception.SystemException; 958 959 /** 960 * Returns the last bookmarks folder in the ordered set where groupId = ? and parentFolderId = ?. 961 * 962 * @param groupId the group ID 963 * @param parentFolderId the parent folder ID 964 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 965 * @return the last matching bookmarks folder 966 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a matching bookmarks folder could not be found 967 * @throws SystemException if a system exception occurred 968 */ 969 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByG_P_Last( 970 long groupId, long parentFolderId, 971 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 972 throws com.liferay.portal.kernel.exception.SystemException, 973 com.liferay.portlet.bookmarks.NoSuchFolderException; 974 975 /** 976 * Returns the last bookmarks folder in the ordered set where groupId = ? and parentFolderId = ?. 977 * 978 * @param groupId the group ID 979 * @param parentFolderId the parent folder ID 980 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 981 * @return the last matching bookmarks folder, or <code>null</code> if a matching bookmarks folder could not be found 982 * @throws SystemException if a system exception occurred 983 */ 984 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByG_P_Last( 985 long groupId, long parentFolderId, 986 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 987 throws com.liferay.portal.kernel.exception.SystemException; 988 989 /** 990 * Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where groupId = ? and parentFolderId = ?. 991 * 992 * @param folderId the primary key of the current bookmarks folder 993 * @param groupId the group ID 994 * @param parentFolderId the parent folder ID 995 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 996 * @return the previous, current, and next bookmarks folder 997 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a bookmarks folder with the primary key could not be found 998 * @throws SystemException if a system exception occurred 999 */ 1000 public com.liferay.portlet.bookmarks.model.BookmarksFolder[] findByG_P_PrevAndNext( 1001 long folderId, long groupId, long parentFolderId, 1002 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1003 throws com.liferay.portal.kernel.exception.SystemException, 1004 com.liferay.portlet.bookmarks.NoSuchFolderException; 1005 1006 /** 1007 * Returns all the bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ?. 1008 * 1009 * @param groupId the group ID 1010 * @param parentFolderId the parent folder ID 1011 * @return the matching bookmarks folders that the user has permission to view 1012 * @throws SystemException if a system exception occurred 1013 */ 1014 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> filterFindByG_P( 1015 long groupId, long parentFolderId) 1016 throws com.liferay.portal.kernel.exception.SystemException; 1017 1018 /** 1019 * Returns a range of all the bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ?. 1020 * 1021 * <p> 1022 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1023 * </p> 1024 * 1025 * @param groupId the group ID 1026 * @param parentFolderId the parent folder ID 1027 * @param start the lower bound of the range of bookmarks folders 1028 * @param end the upper bound of the range of bookmarks folders (not inclusive) 1029 * @return the range of matching bookmarks folders that the user has permission to view 1030 * @throws SystemException if a system exception occurred 1031 */ 1032 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> filterFindByG_P( 1033 long groupId, long parentFolderId, int start, int end) 1034 throws com.liferay.portal.kernel.exception.SystemException; 1035 1036 /** 1037 * Returns an ordered range of all the bookmarks folders that the user has permissions to view where groupId = ? and parentFolderId = ?. 1038 * 1039 * <p> 1040 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1041 * </p> 1042 * 1043 * @param groupId the group ID 1044 * @param parentFolderId the parent folder ID 1045 * @param start the lower bound of the range of bookmarks folders 1046 * @param end the upper bound of the range of bookmarks folders (not inclusive) 1047 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1048 * @return the ordered range of matching bookmarks folders that the user has permission to view 1049 * @throws SystemException if a system exception occurred 1050 */ 1051 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> filterFindByG_P( 1052 long groupId, long parentFolderId, int start, int end, 1053 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1054 throws com.liferay.portal.kernel.exception.SystemException; 1055 1056 /** 1057 * 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 = ?. 1058 * 1059 * @param folderId the primary key of the current bookmarks folder 1060 * @param groupId the group ID 1061 * @param parentFolderId the parent folder ID 1062 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1063 * @return the previous, current, and next bookmarks folder 1064 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a bookmarks folder with the primary key could not be found 1065 * @throws SystemException if a system exception occurred 1066 */ 1067 public com.liferay.portlet.bookmarks.model.BookmarksFolder[] filterFindByG_P_PrevAndNext( 1068 long folderId, long groupId, long parentFolderId, 1069 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1070 throws com.liferay.portal.kernel.exception.SystemException, 1071 com.liferay.portlet.bookmarks.NoSuchFolderException; 1072 1073 /** 1074 * Removes all the bookmarks folders where groupId = ? and parentFolderId = ? from the database. 1075 * 1076 * @param groupId the group ID 1077 * @param parentFolderId the parent folder ID 1078 * @throws SystemException if a system exception occurred 1079 */ 1080 public void removeByG_P(long groupId, long parentFolderId) 1081 throws com.liferay.portal.kernel.exception.SystemException; 1082 1083 /** 1084 * Returns the number of bookmarks folders where groupId = ? and parentFolderId = ?. 1085 * 1086 * @param groupId the group ID 1087 * @param parentFolderId the parent folder ID 1088 * @return the number of matching bookmarks folders 1089 * @throws SystemException if a system exception occurred 1090 */ 1091 public int countByG_P(long groupId, long parentFolderId) 1092 throws com.liferay.portal.kernel.exception.SystemException; 1093 1094 /** 1095 * Returns the number of bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ?. 1096 * 1097 * @param groupId the group ID 1098 * @param parentFolderId the parent folder ID 1099 * @return the number of matching bookmarks folders that the user has permission to view 1100 * @throws SystemException if a system exception occurred 1101 */ 1102 public int filterCountByG_P(long groupId, long parentFolderId) 1103 throws com.liferay.portal.kernel.exception.SystemException; 1104 1105 /** 1106 * Returns all the bookmarks folders where companyId = ? and status ≠ ?. 1107 * 1108 * @param companyId the company ID 1109 * @param status the status 1110 * @return the matching bookmarks folders 1111 * @throws SystemException if a system exception occurred 1112 */ 1113 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByC_NotS( 1114 long companyId, int status) 1115 throws com.liferay.portal.kernel.exception.SystemException; 1116 1117 /** 1118 * Returns a range of all the bookmarks folders where companyId = ? and status ≠ ?. 1119 * 1120 * <p> 1121 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1122 * </p> 1123 * 1124 * @param companyId the company ID 1125 * @param status the status 1126 * @param start the lower bound of the range of bookmarks folders 1127 * @param end the upper bound of the range of bookmarks folders (not inclusive) 1128 * @return the range of matching bookmarks folders 1129 * @throws SystemException if a system exception occurred 1130 */ 1131 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByC_NotS( 1132 long companyId, int status, int start, int end) 1133 throws com.liferay.portal.kernel.exception.SystemException; 1134 1135 /** 1136 * Returns an ordered range of all the bookmarks folders where companyId = ? and status ≠ ?. 1137 * 1138 * <p> 1139 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1140 * </p> 1141 * 1142 * @param companyId the company ID 1143 * @param status the status 1144 * @param start the lower bound of the range of bookmarks folders 1145 * @param end the upper bound of the range of bookmarks folders (not inclusive) 1146 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1147 * @return the ordered range of matching bookmarks folders 1148 * @throws SystemException if a system exception occurred 1149 */ 1150 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByC_NotS( 1151 long companyId, int status, int start, int end, 1152 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1153 throws com.liferay.portal.kernel.exception.SystemException; 1154 1155 /** 1156 * Returns the first bookmarks folder in the ordered set where companyId = ? and status ≠ ?. 1157 * 1158 * @param companyId the company ID 1159 * @param status the status 1160 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1161 * @return the first matching bookmarks folder 1162 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a matching bookmarks folder could not be found 1163 * @throws SystemException if a system exception occurred 1164 */ 1165 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByC_NotS_First( 1166 long companyId, int status, 1167 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1168 throws com.liferay.portal.kernel.exception.SystemException, 1169 com.liferay.portlet.bookmarks.NoSuchFolderException; 1170 1171 /** 1172 * Returns the first bookmarks folder in the ordered set where companyId = ? and status ≠ ?. 1173 * 1174 * @param companyId the company ID 1175 * @param status the status 1176 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1177 * @return the first matching bookmarks folder, or <code>null</code> if a matching bookmarks folder could not be found 1178 * @throws SystemException if a system exception occurred 1179 */ 1180 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByC_NotS_First( 1181 long companyId, int status, 1182 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1183 throws com.liferay.portal.kernel.exception.SystemException; 1184 1185 /** 1186 * Returns the last bookmarks folder in the ordered set where companyId = ? and status ≠ ?. 1187 * 1188 * @param companyId the company ID 1189 * @param status the status 1190 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1191 * @return the last matching bookmarks folder 1192 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a matching bookmarks folder could not be found 1193 * @throws SystemException if a system exception occurred 1194 */ 1195 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByC_NotS_Last( 1196 long companyId, int status, 1197 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1198 throws com.liferay.portal.kernel.exception.SystemException, 1199 com.liferay.portlet.bookmarks.NoSuchFolderException; 1200 1201 /** 1202 * Returns the last bookmarks folder in the ordered set where companyId = ? and status ≠ ?. 1203 * 1204 * @param companyId the company ID 1205 * @param status the status 1206 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1207 * @return the last matching bookmarks folder, or <code>null</code> if a matching bookmarks folder could not be found 1208 * @throws SystemException if a system exception occurred 1209 */ 1210 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByC_NotS_Last( 1211 long companyId, int status, 1212 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1213 throws com.liferay.portal.kernel.exception.SystemException; 1214 1215 /** 1216 * Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where companyId = ? and status ≠ ?. 1217 * 1218 * @param folderId the primary key of the current bookmarks folder 1219 * @param companyId the company ID 1220 * @param status the status 1221 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1222 * @return the previous, current, and next bookmarks folder 1223 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a bookmarks folder with the primary key could not be found 1224 * @throws SystemException if a system exception occurred 1225 */ 1226 public com.liferay.portlet.bookmarks.model.BookmarksFolder[] findByC_NotS_PrevAndNext( 1227 long folderId, long companyId, int status, 1228 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1229 throws com.liferay.portal.kernel.exception.SystemException, 1230 com.liferay.portlet.bookmarks.NoSuchFolderException; 1231 1232 /** 1233 * Removes all the bookmarks folders where companyId = ? and status ≠ ? from the database. 1234 * 1235 * @param companyId the company ID 1236 * @param status the status 1237 * @throws SystemException if a system exception occurred 1238 */ 1239 public void removeByC_NotS(long companyId, int status) 1240 throws com.liferay.portal.kernel.exception.SystemException; 1241 1242 /** 1243 * Returns the number of bookmarks folders where companyId = ? and status ≠ ?. 1244 * 1245 * @param companyId the company ID 1246 * @param status the status 1247 * @return the number of matching bookmarks folders 1248 * @throws SystemException if a system exception occurred 1249 */ 1250 public int countByC_NotS(long companyId, int status) 1251 throws com.liferay.portal.kernel.exception.SystemException; 1252 1253 /** 1254 * Returns all the bookmarks folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. 1255 * 1256 * @param folderId the folder ID 1257 * @param companyId the company ID 1258 * @param parentFolderId the parent folder ID 1259 * @param status the status 1260 * @return the matching bookmarks folders 1261 * @throws SystemException if a system exception occurred 1262 */ 1263 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByF_C_P_NotS( 1264 long folderId, long companyId, long parentFolderId, int status) 1265 throws com.liferay.portal.kernel.exception.SystemException; 1266 1267 /** 1268 * Returns a range of all the bookmarks folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. 1269 * 1270 * <p> 1271 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1272 * </p> 1273 * 1274 * @param folderId the folder ID 1275 * @param companyId the company ID 1276 * @param parentFolderId the parent folder ID 1277 * @param status the status 1278 * @param start the lower bound of the range of bookmarks folders 1279 * @param end the upper bound of the range of bookmarks folders (not inclusive) 1280 * @return the range of matching bookmarks folders 1281 * @throws SystemException if a system exception occurred 1282 */ 1283 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByF_C_P_NotS( 1284 long folderId, long companyId, long parentFolderId, int status, 1285 int start, int end) 1286 throws com.liferay.portal.kernel.exception.SystemException; 1287 1288 /** 1289 * Returns an ordered range of all the bookmarks folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. 1290 * 1291 * <p> 1292 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1293 * </p> 1294 * 1295 * @param folderId the folder ID 1296 * @param companyId the company ID 1297 * @param parentFolderId the parent folder ID 1298 * @param status the status 1299 * @param start the lower bound of the range of bookmarks folders 1300 * @param end the upper bound of the range of bookmarks folders (not inclusive) 1301 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1302 * @return the ordered range of matching bookmarks folders 1303 * @throws SystemException if a system exception occurred 1304 */ 1305 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByF_C_P_NotS( 1306 long folderId, long companyId, long parentFolderId, int status, 1307 int start, int end, 1308 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1309 throws com.liferay.portal.kernel.exception.SystemException; 1310 1311 /** 1312 * Returns the first bookmarks folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. 1313 * 1314 * @param folderId the folder ID 1315 * @param companyId the company ID 1316 * @param parentFolderId the parent folder ID 1317 * @param status the status 1318 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1319 * @return the first matching bookmarks folder 1320 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a matching bookmarks folder could not be found 1321 * @throws SystemException if a system exception occurred 1322 */ 1323 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByF_C_P_NotS_First( 1324 long folderId, long companyId, long parentFolderId, int status, 1325 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1326 throws com.liferay.portal.kernel.exception.SystemException, 1327 com.liferay.portlet.bookmarks.NoSuchFolderException; 1328 1329 /** 1330 * Returns the first bookmarks folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. 1331 * 1332 * @param folderId the folder ID 1333 * @param companyId the company ID 1334 * @param parentFolderId the parent folder ID 1335 * @param status the status 1336 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1337 * @return the first matching bookmarks folder, or <code>null</code> if a matching bookmarks folder could not be found 1338 * @throws SystemException if a system exception occurred 1339 */ 1340 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByF_C_P_NotS_First( 1341 long folderId, long companyId, long parentFolderId, int status, 1342 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1343 throws com.liferay.portal.kernel.exception.SystemException; 1344 1345 /** 1346 * Returns the last bookmarks folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. 1347 * 1348 * @param folderId the folder ID 1349 * @param companyId the company ID 1350 * @param parentFolderId the parent folder ID 1351 * @param status the status 1352 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1353 * @return the last matching bookmarks folder 1354 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a matching bookmarks folder could not be found 1355 * @throws SystemException if a system exception occurred 1356 */ 1357 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByF_C_P_NotS_Last( 1358 long folderId, long companyId, long parentFolderId, int status, 1359 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1360 throws com.liferay.portal.kernel.exception.SystemException, 1361 com.liferay.portlet.bookmarks.NoSuchFolderException; 1362 1363 /** 1364 * Returns the last bookmarks folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. 1365 * 1366 * @param folderId the folder ID 1367 * @param companyId the company ID 1368 * @param parentFolderId the parent folder ID 1369 * @param status the status 1370 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1371 * @return the last matching bookmarks folder, or <code>null</code> if a matching bookmarks folder could not be found 1372 * @throws SystemException if a system exception occurred 1373 */ 1374 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByF_C_P_NotS_Last( 1375 long folderId, long companyId, long parentFolderId, int status, 1376 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1377 throws com.liferay.portal.kernel.exception.SystemException; 1378 1379 /** 1380 * Removes all the bookmarks folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ? from the database. 1381 * 1382 * @param folderId the folder ID 1383 * @param companyId the company ID 1384 * @param parentFolderId the parent folder ID 1385 * @param status the status 1386 * @throws SystemException if a system exception occurred 1387 */ 1388 public void removeByF_C_P_NotS(long folderId, long companyId, 1389 long parentFolderId, int status) 1390 throws com.liferay.portal.kernel.exception.SystemException; 1391 1392 /** 1393 * Returns the number of bookmarks folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. 1394 * 1395 * @param folderId the folder ID 1396 * @param companyId the company ID 1397 * @param parentFolderId the parent folder ID 1398 * @param status the status 1399 * @return the number of matching bookmarks folders 1400 * @throws SystemException if a system exception occurred 1401 */ 1402 public int countByF_C_P_NotS(long folderId, long companyId, 1403 long parentFolderId, int status) 1404 throws com.liferay.portal.kernel.exception.SystemException; 1405 1406 /** 1407 * Returns all the bookmarks folders where groupId = ? and parentFolderId = ? and status = ?. 1408 * 1409 * @param groupId the group ID 1410 * @param parentFolderId the parent folder ID 1411 * @param status the status 1412 * @return the matching bookmarks folders 1413 * @throws SystemException if a system exception occurred 1414 */ 1415 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByG_P_S( 1416 long groupId, long parentFolderId, int status) 1417 throws com.liferay.portal.kernel.exception.SystemException; 1418 1419 /** 1420 * Returns a range of all the bookmarks folders where groupId = ? and parentFolderId = ? and status = ?. 1421 * 1422 * <p> 1423 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1424 * </p> 1425 * 1426 * @param groupId the group ID 1427 * @param parentFolderId the parent folder ID 1428 * @param status the status 1429 * @param start the lower bound of the range of bookmarks folders 1430 * @param end the upper bound of the range of bookmarks folders (not inclusive) 1431 * @return the range of matching bookmarks folders 1432 * @throws SystemException if a system exception occurred 1433 */ 1434 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByG_P_S( 1435 long groupId, long parentFolderId, int status, int start, int end) 1436 throws com.liferay.portal.kernel.exception.SystemException; 1437 1438 /** 1439 * Returns an ordered range of all the bookmarks folders where groupId = ? and parentFolderId = ? and status = ?. 1440 * 1441 * <p> 1442 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1443 * </p> 1444 * 1445 * @param groupId the group ID 1446 * @param parentFolderId the parent folder ID 1447 * @param status the status 1448 * @param start the lower bound of the range of bookmarks folders 1449 * @param end the upper bound of the range of bookmarks folders (not inclusive) 1450 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1451 * @return the ordered range of matching bookmarks folders 1452 * @throws SystemException if a system exception occurred 1453 */ 1454 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByG_P_S( 1455 long groupId, long parentFolderId, int status, int start, int end, 1456 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1457 throws com.liferay.portal.kernel.exception.SystemException; 1458 1459 /** 1460 * Returns the first bookmarks folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?. 1461 * 1462 * @param groupId the group ID 1463 * @param parentFolderId the parent folder ID 1464 * @param status the status 1465 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1466 * @return the first matching bookmarks folder 1467 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a matching bookmarks folder could not be found 1468 * @throws SystemException if a system exception occurred 1469 */ 1470 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByG_P_S_First( 1471 long groupId, long parentFolderId, int status, 1472 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1473 throws com.liferay.portal.kernel.exception.SystemException, 1474 com.liferay.portlet.bookmarks.NoSuchFolderException; 1475 1476 /** 1477 * Returns the first bookmarks folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?. 1478 * 1479 * @param groupId the group ID 1480 * @param parentFolderId the parent folder ID 1481 * @param status the status 1482 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1483 * @return the first matching bookmarks folder, or <code>null</code> if a matching bookmarks folder could not be found 1484 * @throws SystemException if a system exception occurred 1485 */ 1486 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByG_P_S_First( 1487 long groupId, long parentFolderId, int status, 1488 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1489 throws com.liferay.portal.kernel.exception.SystemException; 1490 1491 /** 1492 * Returns the last bookmarks folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?. 1493 * 1494 * @param groupId the group ID 1495 * @param parentFolderId the parent folder ID 1496 * @param status the status 1497 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1498 * @return the last matching bookmarks folder 1499 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a matching bookmarks folder could not be found 1500 * @throws SystemException if a system exception occurred 1501 */ 1502 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByG_P_S_Last( 1503 long groupId, long parentFolderId, int status, 1504 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1505 throws com.liferay.portal.kernel.exception.SystemException, 1506 com.liferay.portlet.bookmarks.NoSuchFolderException; 1507 1508 /** 1509 * Returns the last bookmarks folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?. 1510 * 1511 * @param groupId the group ID 1512 * @param parentFolderId the parent folder ID 1513 * @param status the status 1514 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1515 * @return the last matching bookmarks folder, or <code>null</code> if a matching bookmarks folder could not be found 1516 * @throws SystemException if a system exception occurred 1517 */ 1518 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByG_P_S_Last( 1519 long groupId, long parentFolderId, int status, 1520 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1521 throws com.liferay.portal.kernel.exception.SystemException; 1522 1523 /** 1524 * Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?. 1525 * 1526 * @param folderId the primary key of the current bookmarks folder 1527 * @param groupId the group ID 1528 * @param parentFolderId the parent folder ID 1529 * @param status the status 1530 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1531 * @return the previous, current, and next bookmarks folder 1532 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a bookmarks folder with the primary key could not be found 1533 * @throws SystemException if a system exception occurred 1534 */ 1535 public com.liferay.portlet.bookmarks.model.BookmarksFolder[] findByG_P_S_PrevAndNext( 1536 long folderId, long groupId, long parentFolderId, int status, 1537 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1538 throws com.liferay.portal.kernel.exception.SystemException, 1539 com.liferay.portlet.bookmarks.NoSuchFolderException; 1540 1541 /** 1542 * Returns all the bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?. 1543 * 1544 * @param groupId the group ID 1545 * @param parentFolderId the parent folder ID 1546 * @param status the status 1547 * @return the matching bookmarks folders that the user has permission to view 1548 * @throws SystemException if a system exception occurred 1549 */ 1550 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> filterFindByG_P_S( 1551 long groupId, long parentFolderId, int status) 1552 throws com.liferay.portal.kernel.exception.SystemException; 1553 1554 /** 1555 * Returns a range of all the bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?. 1556 * 1557 * <p> 1558 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1559 * </p> 1560 * 1561 * @param groupId the group ID 1562 * @param parentFolderId the parent folder ID 1563 * @param status the status 1564 * @param start the lower bound of the range of bookmarks folders 1565 * @param end the upper bound of the range of bookmarks folders (not inclusive) 1566 * @return the range of matching bookmarks folders that the user has permission to view 1567 * @throws SystemException if a system exception occurred 1568 */ 1569 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> filterFindByG_P_S( 1570 long groupId, long parentFolderId, int status, int start, int end) 1571 throws com.liferay.portal.kernel.exception.SystemException; 1572 1573 /** 1574 * Returns an ordered range of all the bookmarks folders that the user has permissions to view where groupId = ? and parentFolderId = ? and status = ?. 1575 * 1576 * <p> 1577 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1578 * </p> 1579 * 1580 * @param groupId the group ID 1581 * @param parentFolderId the parent folder ID 1582 * @param status the status 1583 * @param start the lower bound of the range of bookmarks folders 1584 * @param end the upper bound of the range of bookmarks folders (not inclusive) 1585 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1586 * @return the ordered range of matching bookmarks folders that the user has permission to view 1587 * @throws SystemException if a system exception occurred 1588 */ 1589 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> filterFindByG_P_S( 1590 long groupId, long parentFolderId, int status, int start, int end, 1591 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1592 throws com.liferay.portal.kernel.exception.SystemException; 1593 1594 /** 1595 * 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 = ? and status = ?. 1596 * 1597 * @param folderId the primary key of the current bookmarks folder 1598 * @param groupId the group ID 1599 * @param parentFolderId the parent folder ID 1600 * @param status the status 1601 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1602 * @return the previous, current, and next bookmarks folder 1603 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a bookmarks folder with the primary key could not be found 1604 * @throws SystemException if a system exception occurred 1605 */ 1606 public com.liferay.portlet.bookmarks.model.BookmarksFolder[] filterFindByG_P_S_PrevAndNext( 1607 long folderId, long groupId, long parentFolderId, int status, 1608 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1609 throws com.liferay.portal.kernel.exception.SystemException, 1610 com.liferay.portlet.bookmarks.NoSuchFolderException; 1611 1612 /** 1613 * Removes all the bookmarks folders where groupId = ? and parentFolderId = ? and status = ? from the database. 1614 * 1615 * @param groupId the group ID 1616 * @param parentFolderId the parent folder ID 1617 * @param status the status 1618 * @throws SystemException if a system exception occurred 1619 */ 1620 public void removeByG_P_S(long groupId, long parentFolderId, int status) 1621 throws com.liferay.portal.kernel.exception.SystemException; 1622 1623 /** 1624 * Returns the number of bookmarks folders where groupId = ? and parentFolderId = ? and status = ?. 1625 * 1626 * @param groupId the group ID 1627 * @param parentFolderId the parent folder ID 1628 * @param status the status 1629 * @return the number of matching bookmarks folders 1630 * @throws SystemException if a system exception occurred 1631 */ 1632 public int countByG_P_S(long groupId, long parentFolderId, int status) 1633 throws com.liferay.portal.kernel.exception.SystemException; 1634 1635 /** 1636 * Returns the number of bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?. 1637 * 1638 * @param groupId the group ID 1639 * @param parentFolderId the parent folder ID 1640 * @param status the status 1641 * @return the number of matching bookmarks folders that the user has permission to view 1642 * @throws SystemException if a system exception occurred 1643 */ 1644 public int filterCountByG_P_S(long groupId, long parentFolderId, int status) 1645 throws com.liferay.portal.kernel.exception.SystemException; 1646 1647 /** 1648 * Returns all the bookmarks folders where groupId = ? and parentFolderId = ? and status ≠ ?. 1649 * 1650 * @param groupId the group ID 1651 * @param parentFolderId the parent folder ID 1652 * @param status the status 1653 * @return the matching bookmarks folders 1654 * @throws SystemException if a system exception occurred 1655 */ 1656 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByG_P_NotS( 1657 long groupId, long parentFolderId, int status) 1658 throws com.liferay.portal.kernel.exception.SystemException; 1659 1660 /** 1661 * Returns a range of all the bookmarks folders where groupId = ? and parentFolderId = ? and status ≠ ?. 1662 * 1663 * <p> 1664 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1665 * </p> 1666 * 1667 * @param groupId the group ID 1668 * @param parentFolderId the parent folder ID 1669 * @param status the status 1670 * @param start the lower bound of the range of bookmarks folders 1671 * @param end the upper bound of the range of bookmarks folders (not inclusive) 1672 * @return the range of matching bookmarks folders 1673 * @throws SystemException if a system exception occurred 1674 */ 1675 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByG_P_NotS( 1676 long groupId, long parentFolderId, int status, int start, int end) 1677 throws com.liferay.portal.kernel.exception.SystemException; 1678 1679 /** 1680 * Returns an ordered range of all the bookmarks folders where groupId = ? and parentFolderId = ? and status ≠ ?. 1681 * 1682 * <p> 1683 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1684 * </p> 1685 * 1686 * @param groupId the group ID 1687 * @param parentFolderId the parent folder ID 1688 * @param status the status 1689 * @param start the lower bound of the range of bookmarks folders 1690 * @param end the upper bound of the range of bookmarks folders (not inclusive) 1691 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1692 * @return the ordered range of matching bookmarks folders 1693 * @throws SystemException if a system exception occurred 1694 */ 1695 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByG_P_NotS( 1696 long groupId, long parentFolderId, int status, int start, int end, 1697 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1698 throws com.liferay.portal.kernel.exception.SystemException; 1699 1700 /** 1701 * Returns the first bookmarks folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?. 1702 * 1703 * @param groupId the group ID 1704 * @param parentFolderId the parent folder ID 1705 * @param status the status 1706 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1707 * @return the first matching bookmarks folder 1708 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a matching bookmarks folder could not be found 1709 * @throws SystemException if a system exception occurred 1710 */ 1711 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByG_P_NotS_First( 1712 long groupId, long parentFolderId, int status, 1713 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1714 throws com.liferay.portal.kernel.exception.SystemException, 1715 com.liferay.portlet.bookmarks.NoSuchFolderException; 1716 1717 /** 1718 * Returns the first bookmarks folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?. 1719 * 1720 * @param groupId the group ID 1721 * @param parentFolderId the parent folder ID 1722 * @param status the status 1723 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1724 * @return the first matching bookmarks folder, or <code>null</code> if a matching bookmarks folder could not be found 1725 * @throws SystemException if a system exception occurred 1726 */ 1727 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByG_P_NotS_First( 1728 long groupId, long parentFolderId, int status, 1729 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1730 throws com.liferay.portal.kernel.exception.SystemException; 1731 1732 /** 1733 * Returns the last bookmarks folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?. 1734 * 1735 * @param groupId the group ID 1736 * @param parentFolderId the parent folder ID 1737 * @param status the status 1738 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1739 * @return the last matching bookmarks folder 1740 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a matching bookmarks folder could not be found 1741 * @throws SystemException if a system exception occurred 1742 */ 1743 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByG_P_NotS_Last( 1744 long groupId, long parentFolderId, int status, 1745 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1746 throws com.liferay.portal.kernel.exception.SystemException, 1747 com.liferay.portlet.bookmarks.NoSuchFolderException; 1748 1749 /** 1750 * Returns the last bookmarks folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?. 1751 * 1752 * @param groupId the group ID 1753 * @param parentFolderId the parent folder ID 1754 * @param status the status 1755 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1756 * @return the last matching bookmarks folder, or <code>null</code> if a matching bookmarks folder could not be found 1757 * @throws SystemException if a system exception occurred 1758 */ 1759 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByG_P_NotS_Last( 1760 long groupId, long parentFolderId, int status, 1761 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1762 throws com.liferay.portal.kernel.exception.SystemException; 1763 1764 /** 1765 * Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?. 1766 * 1767 * @param folderId the primary key of the current bookmarks folder 1768 * @param groupId the group ID 1769 * @param parentFolderId the parent folder ID 1770 * @param status the status 1771 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1772 * @return the previous, current, and next bookmarks folder 1773 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a bookmarks folder with the primary key could not be found 1774 * @throws SystemException if a system exception occurred 1775 */ 1776 public com.liferay.portlet.bookmarks.model.BookmarksFolder[] findByG_P_NotS_PrevAndNext( 1777 long folderId, long groupId, long parentFolderId, int status, 1778 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1779 throws com.liferay.portal.kernel.exception.SystemException, 1780 com.liferay.portlet.bookmarks.NoSuchFolderException; 1781 1782 /** 1783 * Returns all the bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ? and status ≠ ?. 1784 * 1785 * @param groupId the group ID 1786 * @param parentFolderId the parent folder ID 1787 * @param status the status 1788 * @return the matching bookmarks folders that the user has permission to view 1789 * @throws SystemException if a system exception occurred 1790 */ 1791 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> filterFindByG_P_NotS( 1792 long groupId, long parentFolderId, int status) 1793 throws com.liferay.portal.kernel.exception.SystemException; 1794 1795 /** 1796 * Returns a range of all the bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ? and status ≠ ?. 1797 * 1798 * <p> 1799 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1800 * </p> 1801 * 1802 * @param groupId the group ID 1803 * @param parentFolderId the parent folder ID 1804 * @param status the status 1805 * @param start the lower bound of the range of bookmarks folders 1806 * @param end the upper bound of the range of bookmarks folders (not inclusive) 1807 * @return the range of matching bookmarks folders that the user has permission to view 1808 * @throws SystemException if a system exception occurred 1809 */ 1810 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> filterFindByG_P_NotS( 1811 long groupId, long parentFolderId, int status, int start, int end) 1812 throws com.liferay.portal.kernel.exception.SystemException; 1813 1814 /** 1815 * Returns an ordered range of all the bookmarks folders that the user has permissions to view where groupId = ? and parentFolderId = ? and status ≠ ?. 1816 * 1817 * <p> 1818 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1819 * </p> 1820 * 1821 * @param groupId the group ID 1822 * @param parentFolderId the parent folder ID 1823 * @param status the status 1824 * @param start the lower bound of the range of bookmarks folders 1825 * @param end the upper bound of the range of bookmarks folders (not inclusive) 1826 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1827 * @return the ordered range of matching bookmarks folders that the user has permission to view 1828 * @throws SystemException if a system exception occurred 1829 */ 1830 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> filterFindByG_P_NotS( 1831 long groupId, long parentFolderId, int status, int start, int end, 1832 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1833 throws com.liferay.portal.kernel.exception.SystemException; 1834 1835 /** 1836 * 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 = ? and status ≠ ?. 1837 * 1838 * @param folderId the primary key of the current bookmarks folder 1839 * @param groupId the group ID 1840 * @param parentFolderId the parent folder ID 1841 * @param status the status 1842 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1843 * @return the previous, current, and next bookmarks folder 1844 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a bookmarks folder with the primary key could not be found 1845 * @throws SystemException if a system exception occurred 1846 */ 1847 public com.liferay.portlet.bookmarks.model.BookmarksFolder[] filterFindByG_P_NotS_PrevAndNext( 1848 long folderId, long groupId, long parentFolderId, int status, 1849 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1850 throws com.liferay.portal.kernel.exception.SystemException, 1851 com.liferay.portlet.bookmarks.NoSuchFolderException; 1852 1853 /** 1854 * Removes all the bookmarks folders where groupId = ? and parentFolderId = ? and status ≠ ? from the database. 1855 * 1856 * @param groupId the group ID 1857 * @param parentFolderId the parent folder ID 1858 * @param status the status 1859 * @throws SystemException if a system exception occurred 1860 */ 1861 public void removeByG_P_NotS(long groupId, long parentFolderId, int status) 1862 throws com.liferay.portal.kernel.exception.SystemException; 1863 1864 /** 1865 * Returns the number of bookmarks folders where groupId = ? and parentFolderId = ? and status ≠ ?. 1866 * 1867 * @param groupId the group ID 1868 * @param parentFolderId the parent folder ID 1869 * @param status the status 1870 * @return the number of matching bookmarks folders 1871 * @throws SystemException if a system exception occurred 1872 */ 1873 public int countByG_P_NotS(long groupId, long parentFolderId, int status) 1874 throws com.liferay.portal.kernel.exception.SystemException; 1875 1876 /** 1877 * Returns the number of bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ? and status ≠ ?. 1878 * 1879 * @param groupId the group ID 1880 * @param parentFolderId the parent folder ID 1881 * @param status the status 1882 * @return the number of matching bookmarks folders that the user has permission to view 1883 * @throws SystemException if a system exception occurred 1884 */ 1885 public int filterCountByG_P_NotS(long groupId, long parentFolderId, 1886 int status) throws com.liferay.portal.kernel.exception.SystemException; 1887 1888 /** 1889 * Caches the bookmarks folder in the entity cache if it is enabled. 1890 * 1891 * @param bookmarksFolder the bookmarks folder 1892 */ 1893 public void cacheResult( 1894 com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder); 1895 1896 /** 1897 * Caches the bookmarks folders in the entity cache if it is enabled. 1898 * 1899 * @param bookmarksFolders the bookmarks folders 1900 */ 1901 public void cacheResult( 1902 java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> bookmarksFolders); 1903 1904 /** 1905 * Creates a new bookmarks folder with the primary key. Does not add the bookmarks folder to the database. 1906 * 1907 * @param folderId the primary key for the new bookmarks folder 1908 * @return the new bookmarks folder 1909 */ 1910 public com.liferay.portlet.bookmarks.model.BookmarksFolder create( 1911 long folderId); 1912 1913 /** 1914 * Removes the bookmarks folder with the primary key from the database. Also notifies the appropriate model listeners. 1915 * 1916 * @param folderId the primary key of the bookmarks folder 1917 * @return the bookmarks folder that was removed 1918 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a bookmarks folder with the primary key could not be found 1919 * @throws SystemException if a system exception occurred 1920 */ 1921 public com.liferay.portlet.bookmarks.model.BookmarksFolder remove( 1922 long folderId) 1923 throws com.liferay.portal.kernel.exception.SystemException, 1924 com.liferay.portlet.bookmarks.NoSuchFolderException; 1925 1926 public com.liferay.portlet.bookmarks.model.BookmarksFolder updateImpl( 1927 com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder) 1928 throws com.liferay.portal.kernel.exception.SystemException; 1929 1930 /** 1931 * Returns the bookmarks folder with the primary key or throws a {@link com.liferay.portlet.bookmarks.NoSuchFolderException} if it could not be found. 1932 * 1933 * @param folderId the primary key of the bookmarks folder 1934 * @return the bookmarks folder 1935 * @throws com.liferay.portlet.bookmarks.NoSuchFolderException if a bookmarks folder with the primary key could not be found 1936 * @throws SystemException if a system exception occurred 1937 */ 1938 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByPrimaryKey( 1939 long folderId) 1940 throws com.liferay.portal.kernel.exception.SystemException, 1941 com.liferay.portlet.bookmarks.NoSuchFolderException; 1942 1943 /** 1944 * Returns the bookmarks folder with the primary key or returns <code>null</code> if it could not be found. 1945 * 1946 * @param folderId the primary key of the bookmarks folder 1947 * @return the bookmarks folder, or <code>null</code> if a bookmarks folder with the primary key could not be found 1948 * @throws SystemException if a system exception occurred 1949 */ 1950 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByPrimaryKey( 1951 long folderId) 1952 throws com.liferay.portal.kernel.exception.SystemException; 1953 1954 /** 1955 * Returns all the bookmarks folders. 1956 * 1957 * @return the bookmarks folders 1958 * @throws SystemException if a system exception occurred 1959 */ 1960 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findAll() 1961 throws com.liferay.portal.kernel.exception.SystemException; 1962 1963 /** 1964 * Returns a range of all the bookmarks folders. 1965 * 1966 * <p> 1967 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1968 * </p> 1969 * 1970 * @param start the lower bound of the range of bookmarks folders 1971 * @param end the upper bound of the range of bookmarks folders (not inclusive) 1972 * @return the range of bookmarks folders 1973 * @throws SystemException if a system exception occurred 1974 */ 1975 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findAll( 1976 int start, int end) 1977 throws com.liferay.portal.kernel.exception.SystemException; 1978 1979 /** 1980 * Returns an ordered range of all the bookmarks folders. 1981 * 1982 * <p> 1983 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1984 * </p> 1985 * 1986 * @param start the lower bound of the range of bookmarks folders 1987 * @param end the upper bound of the range of bookmarks folders (not inclusive) 1988 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1989 * @return the ordered range of bookmarks folders 1990 * @throws SystemException if a system exception occurred 1991 */ 1992 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findAll( 1993 int start, int end, 1994 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1995 throws com.liferay.portal.kernel.exception.SystemException; 1996 1997 /** 1998 * Removes all the bookmarks folders from the database. 1999 * 2000 * @throws SystemException if a system exception occurred 2001 */ 2002 public void removeAll() 2003 throws com.liferay.portal.kernel.exception.SystemException; 2004 2005 /** 2006 * Returns the number of bookmarks folders. 2007 * 2008 * @return the number of bookmarks folders 2009 * @throws SystemException if a system exception occurred 2010 */ 2011 public int countAll() 2012 throws com.liferay.portal.kernel.exception.SystemException; 2013 }