001 /** 002 * Copyright (c) 2000-present 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.BookmarksEntry; 022 023 /** 024 * The persistence interface for the bookmarks entry 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 BookmarksEntryPersistenceImpl 032 * @see BookmarksEntryUtil 033 * @generated 034 */ 035 @ProviderType 036 public interface BookmarksEntryPersistence extends BasePersistence<BookmarksEntry> { 037 /* 038 * NOTE FOR DEVELOPERS: 039 * 040 * Never modify or reference this interface directly. Always use {@link BookmarksEntryUtil} to access the bookmarks entry persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 041 */ 042 043 /** 044 * Returns all the bookmarks entries where resourceBlockId = ?. 045 * 046 * @param resourceBlockId the resource block ID 047 * @return the matching bookmarks entries 048 */ 049 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByResourceBlockId( 050 long resourceBlockId); 051 052 /** 053 * Returns a range of all the bookmarks entries where resourceBlockId = ?. 054 * 055 * <p> 056 * 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.BookmarksEntryModelImpl}. 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. 057 * </p> 058 * 059 * @param resourceBlockId the resource block ID 060 * @param start the lower bound of the range of bookmarks entries 061 * @param end the upper bound of the range of bookmarks entries (not inclusive) 062 * @return the range of matching bookmarks entries 063 */ 064 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByResourceBlockId( 065 long resourceBlockId, int start, int end); 066 067 /** 068 * Returns an ordered range of all the bookmarks entries where resourceBlockId = ?. 069 * 070 * <p> 071 * 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.BookmarksEntryModelImpl}. 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. 072 * </p> 073 * 074 * @param resourceBlockId the resource block ID 075 * @param start the lower bound of the range of bookmarks entries 076 * @param end the upper bound of the range of bookmarks entries (not inclusive) 077 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 078 * @return the ordered range of matching bookmarks entries 079 */ 080 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByResourceBlockId( 081 long resourceBlockId, int start, int end, 082 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 083 084 /** 085 * Returns the first bookmarks entry in the ordered set where resourceBlockId = ?. 086 * 087 * @param resourceBlockId the resource block ID 088 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 089 * @return the first matching bookmarks entry 090 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 091 */ 092 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByResourceBlockId_First( 093 long resourceBlockId, 094 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 095 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 096 097 /** 098 * Returns the first bookmarks entry in the ordered set where resourceBlockId = ?. 099 * 100 * @param resourceBlockId the resource block ID 101 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 102 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 103 */ 104 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByResourceBlockId_First( 105 long resourceBlockId, 106 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 107 108 /** 109 * Returns the last bookmarks entry in the ordered set where resourceBlockId = ?. 110 * 111 * @param resourceBlockId the resource block ID 112 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 113 * @return the last matching bookmarks entry 114 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 115 */ 116 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByResourceBlockId_Last( 117 long resourceBlockId, 118 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 119 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 120 121 /** 122 * Returns the last bookmarks entry in the ordered set where resourceBlockId = ?. 123 * 124 * @param resourceBlockId the resource block ID 125 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 126 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 127 */ 128 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByResourceBlockId_Last( 129 long resourceBlockId, 130 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 131 132 /** 133 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where resourceBlockId = ?. 134 * 135 * @param entryId the primary key of the current bookmarks entry 136 * @param resourceBlockId the resource block ID 137 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 138 * @return the previous, current, and next bookmarks entry 139 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 140 */ 141 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByResourceBlockId_PrevAndNext( 142 long entryId, long resourceBlockId, 143 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 144 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 145 146 /** 147 * Removes all the bookmarks entries where resourceBlockId = ? from the database. 148 * 149 * @param resourceBlockId the resource block ID 150 */ 151 public void removeByResourceBlockId(long resourceBlockId); 152 153 /** 154 * Returns the number of bookmarks entries where resourceBlockId = ?. 155 * 156 * @param resourceBlockId the resource block ID 157 * @return the number of matching bookmarks entries 158 */ 159 public int countByResourceBlockId(long resourceBlockId); 160 161 /** 162 * Returns all the bookmarks entries where uuid = ?. 163 * 164 * @param uuid the uuid 165 * @return the matching bookmarks entries 166 */ 167 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid( 168 java.lang.String uuid); 169 170 /** 171 * Returns a range of all the bookmarks entries where uuid = ?. 172 * 173 * <p> 174 * 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.BookmarksEntryModelImpl}. 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. 175 * </p> 176 * 177 * @param uuid the uuid 178 * @param start the lower bound of the range of bookmarks entries 179 * @param end the upper bound of the range of bookmarks entries (not inclusive) 180 * @return the range of matching bookmarks entries 181 */ 182 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid( 183 java.lang.String uuid, int start, int end); 184 185 /** 186 * Returns an ordered range of all the bookmarks entries where uuid = ?. 187 * 188 * <p> 189 * 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.BookmarksEntryModelImpl}. 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. 190 * </p> 191 * 192 * @param uuid the uuid 193 * @param start the lower bound of the range of bookmarks entries 194 * @param end the upper bound of the range of bookmarks entries (not inclusive) 195 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 196 * @return the ordered range of matching bookmarks entries 197 */ 198 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid( 199 java.lang.String uuid, int start, int end, 200 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 201 202 /** 203 * Returns the first bookmarks entry in the ordered set where uuid = ?. 204 * 205 * @param uuid the uuid 206 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 207 * @return the first matching bookmarks entry 208 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 209 */ 210 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_First( 211 java.lang.String uuid, 212 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 213 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 214 215 /** 216 * Returns the first bookmarks entry in the ordered set where uuid = ?. 217 * 218 * @param uuid the uuid 219 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 220 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 221 */ 222 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUuid_First( 223 java.lang.String uuid, 224 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 225 226 /** 227 * Returns the last bookmarks entry in the ordered set where uuid = ?. 228 * 229 * @param uuid the uuid 230 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 231 * @return the last matching bookmarks entry 232 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 233 */ 234 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_Last( 235 java.lang.String uuid, 236 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 237 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 238 239 /** 240 * Returns the last bookmarks entry in the ordered set where uuid = ?. 241 * 242 * @param uuid the uuid 243 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 244 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 245 */ 246 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUuid_Last( 247 java.lang.String uuid, 248 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 249 250 /** 251 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where uuid = ?. 252 * 253 * @param entryId the primary key of the current bookmarks entry 254 * @param uuid the uuid 255 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 256 * @return the previous, current, and next bookmarks entry 257 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 258 */ 259 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByUuid_PrevAndNext( 260 long entryId, java.lang.String uuid, 261 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 262 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 263 264 /** 265 * Removes all the bookmarks entries where uuid = ? from the database. 266 * 267 * @param uuid the uuid 268 */ 269 public void removeByUuid(java.lang.String uuid); 270 271 /** 272 * Returns the number of bookmarks entries where uuid = ?. 273 * 274 * @param uuid the uuid 275 * @return the number of matching bookmarks entries 276 */ 277 public int countByUuid(java.lang.String uuid); 278 279 /** 280 * Returns the bookmarks entry where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.bookmarks.NoSuchEntryException} if it could not be found. 281 * 282 * @param uuid the uuid 283 * @param groupId the group ID 284 * @return the matching bookmarks entry 285 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 286 */ 287 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUUID_G( 288 java.lang.String uuid, long groupId) 289 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 290 291 /** 292 * Returns the bookmarks entry where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 293 * 294 * @param uuid the uuid 295 * @param groupId the group ID 296 * @return the matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 297 */ 298 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUUID_G( 299 java.lang.String uuid, long groupId); 300 301 /** 302 * Returns the bookmarks entry where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 303 * 304 * @param uuid the uuid 305 * @param groupId the group ID 306 * @param retrieveFromCache whether to use the finder cache 307 * @return the matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 308 */ 309 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUUID_G( 310 java.lang.String uuid, long groupId, boolean retrieveFromCache); 311 312 /** 313 * Removes the bookmarks entry where uuid = ? and groupId = ? from the database. 314 * 315 * @param uuid the uuid 316 * @param groupId the group ID 317 * @return the bookmarks entry that was removed 318 */ 319 public com.liferay.portlet.bookmarks.model.BookmarksEntry removeByUUID_G( 320 java.lang.String uuid, long groupId) 321 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 322 323 /** 324 * Returns the number of bookmarks entries where uuid = ? and groupId = ?. 325 * 326 * @param uuid the uuid 327 * @param groupId the group ID 328 * @return the number of matching bookmarks entries 329 */ 330 public int countByUUID_G(java.lang.String uuid, long groupId); 331 332 /** 333 * Returns all the bookmarks entries where uuid = ? and companyId = ?. 334 * 335 * @param uuid the uuid 336 * @param companyId the company ID 337 * @return the matching bookmarks entries 338 */ 339 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid_C( 340 java.lang.String uuid, long companyId); 341 342 /** 343 * Returns a range of all the bookmarks entries where uuid = ? and companyId = ?. 344 * 345 * <p> 346 * 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.BookmarksEntryModelImpl}. 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. 347 * </p> 348 * 349 * @param uuid the uuid 350 * @param companyId the company ID 351 * @param start the lower bound of the range of bookmarks entries 352 * @param end the upper bound of the range of bookmarks entries (not inclusive) 353 * @return the range of matching bookmarks entries 354 */ 355 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid_C( 356 java.lang.String uuid, long companyId, int start, int end); 357 358 /** 359 * Returns an ordered range of all the bookmarks entries where uuid = ? and companyId = ?. 360 * 361 * <p> 362 * 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.BookmarksEntryModelImpl}. 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. 363 * </p> 364 * 365 * @param uuid the uuid 366 * @param companyId the company ID 367 * @param start the lower bound of the range of bookmarks entries 368 * @param end the upper bound of the range of bookmarks entries (not inclusive) 369 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 370 * @return the ordered range of matching bookmarks entries 371 */ 372 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid_C( 373 java.lang.String uuid, long companyId, int start, int end, 374 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 375 376 /** 377 * Returns the first bookmarks entry in the ordered set where uuid = ? and companyId = ?. 378 * 379 * @param uuid the uuid 380 * @param companyId the company ID 381 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 382 * @return the first matching bookmarks entry 383 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 384 */ 385 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_C_First( 386 java.lang.String uuid, long companyId, 387 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 388 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 389 390 /** 391 * Returns the first bookmarks entry in the ordered set where uuid = ? and companyId = ?. 392 * 393 * @param uuid the uuid 394 * @param companyId the company ID 395 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 396 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 397 */ 398 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUuid_C_First( 399 java.lang.String uuid, long companyId, 400 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 401 402 /** 403 * Returns the last bookmarks entry in the ordered set where uuid = ? and companyId = ?. 404 * 405 * @param uuid the uuid 406 * @param companyId the company ID 407 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 408 * @return the last matching bookmarks entry 409 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 410 */ 411 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_C_Last( 412 java.lang.String uuid, long companyId, 413 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 414 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 415 416 /** 417 * Returns the last bookmarks entry in the ordered set where uuid = ? and companyId = ?. 418 * 419 * @param uuid the uuid 420 * @param companyId the company ID 421 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 422 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 423 */ 424 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUuid_C_Last( 425 java.lang.String uuid, long companyId, 426 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 427 428 /** 429 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where uuid = ? and companyId = ?. 430 * 431 * @param entryId the primary key of the current bookmarks entry 432 * @param uuid the uuid 433 * @param companyId the company ID 434 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 435 * @return the previous, current, and next bookmarks entry 436 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 437 */ 438 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByUuid_C_PrevAndNext( 439 long entryId, java.lang.String uuid, long companyId, 440 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 441 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 442 443 /** 444 * Removes all the bookmarks entries where uuid = ? and companyId = ? from the database. 445 * 446 * @param uuid the uuid 447 * @param companyId the company ID 448 */ 449 public void removeByUuid_C(java.lang.String uuid, long companyId); 450 451 /** 452 * Returns the number of bookmarks entries where uuid = ? and companyId = ?. 453 * 454 * @param uuid the uuid 455 * @param companyId the company ID 456 * @return the number of matching bookmarks entries 457 */ 458 public int countByUuid_C(java.lang.String uuid, long companyId); 459 460 /** 461 * Returns all the bookmarks entries where companyId = ?. 462 * 463 * @param companyId the company ID 464 * @return the matching bookmarks entries 465 */ 466 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByCompanyId( 467 long companyId); 468 469 /** 470 * Returns a range of all the bookmarks entries where companyId = ?. 471 * 472 * <p> 473 * 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.BookmarksEntryModelImpl}. 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. 474 * </p> 475 * 476 * @param companyId the company ID 477 * @param start the lower bound of the range of bookmarks entries 478 * @param end the upper bound of the range of bookmarks entries (not inclusive) 479 * @return the range of matching bookmarks entries 480 */ 481 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByCompanyId( 482 long companyId, int start, int end); 483 484 /** 485 * Returns an ordered range of all the bookmarks entries where companyId = ?. 486 * 487 * <p> 488 * 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.BookmarksEntryModelImpl}. 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. 489 * </p> 490 * 491 * @param companyId the company ID 492 * @param start the lower bound of the range of bookmarks entries 493 * @param end the upper bound of the range of bookmarks entries (not inclusive) 494 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 495 * @return the ordered range of matching bookmarks entries 496 */ 497 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByCompanyId( 498 long companyId, int start, int end, 499 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 500 501 /** 502 * Returns the first bookmarks entry in the ordered set where companyId = ?. 503 * 504 * @param companyId the company ID 505 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 506 * @return the first matching bookmarks entry 507 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 508 */ 509 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByCompanyId_First( 510 long companyId, 511 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 512 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 513 514 /** 515 * Returns the first bookmarks entry in the ordered set where companyId = ?. 516 * 517 * @param companyId the company ID 518 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 519 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 520 */ 521 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByCompanyId_First( 522 long companyId, 523 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 524 525 /** 526 * Returns the last bookmarks entry in the ordered set where companyId = ?. 527 * 528 * @param companyId the company ID 529 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 530 * @return the last matching bookmarks entry 531 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 532 */ 533 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByCompanyId_Last( 534 long companyId, 535 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 536 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 537 538 /** 539 * Returns the last bookmarks entry in the ordered set where companyId = ?. 540 * 541 * @param companyId the company ID 542 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 543 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 544 */ 545 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByCompanyId_Last( 546 long companyId, 547 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 548 549 /** 550 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where companyId = ?. 551 * 552 * @param entryId the primary key of the current bookmarks entry 553 * @param companyId the company ID 554 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 555 * @return the previous, current, and next bookmarks entry 556 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 557 */ 558 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByCompanyId_PrevAndNext( 559 long entryId, long companyId, 560 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 561 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 562 563 /** 564 * Removes all the bookmarks entries where companyId = ? from the database. 565 * 566 * @param companyId the company ID 567 */ 568 public void removeByCompanyId(long companyId); 569 570 /** 571 * Returns the number of bookmarks entries where companyId = ?. 572 * 573 * @param companyId the company ID 574 * @return the number of matching bookmarks entries 575 */ 576 public int countByCompanyId(long companyId); 577 578 /** 579 * Returns all the bookmarks entries where groupId = ? and folderId = ?. 580 * 581 * @param groupId the group ID 582 * @param folderId the folder ID 583 * @return the matching bookmarks entries 584 */ 585 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F( 586 long groupId, long folderId); 587 588 /** 589 * Returns a range of all the bookmarks entries where groupId = ? and folderId = ?. 590 * 591 * <p> 592 * 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.BookmarksEntryModelImpl}. 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. 593 * </p> 594 * 595 * @param groupId the group ID 596 * @param folderId the folder ID 597 * @param start the lower bound of the range of bookmarks entries 598 * @param end the upper bound of the range of bookmarks entries (not inclusive) 599 * @return the range of matching bookmarks entries 600 */ 601 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F( 602 long groupId, long folderId, int start, int end); 603 604 /** 605 * Returns an ordered range of all the bookmarks entries where groupId = ? and folderId = ?. 606 * 607 * <p> 608 * 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.BookmarksEntryModelImpl}. 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. 609 * </p> 610 * 611 * @param groupId the group ID 612 * @param folderId the folder ID 613 * @param start the lower bound of the range of bookmarks entries 614 * @param end the upper bound of the range of bookmarks entries (not inclusive) 615 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 616 * @return the ordered range of matching bookmarks entries 617 */ 618 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F( 619 long groupId, long folderId, int start, int end, 620 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 621 622 /** 623 * Returns the first bookmarks entry in the ordered set where groupId = ? and folderId = ?. 624 * 625 * @param groupId the group ID 626 * @param folderId the folder ID 627 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 628 * @return the first matching bookmarks entry 629 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 630 */ 631 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_First( 632 long groupId, long folderId, 633 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 634 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 635 636 /** 637 * Returns the first bookmarks entry in the ordered set where groupId = ? and folderId = ?. 638 * 639 * @param groupId the group ID 640 * @param folderId the folder ID 641 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 642 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 643 */ 644 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_First( 645 long groupId, long folderId, 646 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 647 648 /** 649 * Returns the last bookmarks entry in the ordered set where groupId = ? and folderId = ?. 650 * 651 * @param groupId the group ID 652 * @param folderId the folder ID 653 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 654 * @return the last matching bookmarks entry 655 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 656 */ 657 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_Last( 658 long groupId, long folderId, 659 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 660 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 661 662 /** 663 * Returns the last bookmarks entry in the ordered set where groupId = ? and folderId = ?. 664 * 665 * @param groupId the group ID 666 * @param folderId the folder ID 667 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 668 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 669 */ 670 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_Last( 671 long groupId, long folderId, 672 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 673 674 /** 675 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and folderId = ?. 676 * 677 * @param entryId the primary key of the current bookmarks entry 678 * @param groupId the group ID 679 * @param folderId the folder ID 680 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 681 * @return the previous, current, and next bookmarks entry 682 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 683 */ 684 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_F_PrevAndNext( 685 long entryId, long groupId, long folderId, 686 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 687 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 688 689 /** 690 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and folderId = ?. 691 * 692 * @param groupId the group ID 693 * @param folderId the folder ID 694 * @return the matching bookmarks entries that the user has permission to view 695 */ 696 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F( 697 long groupId, long folderId); 698 699 /** 700 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = ?. 701 * 702 * <p> 703 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 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.BookmarksEntryModelImpl}. 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. 704 * </p> 705 * 706 * @param groupId the group ID 707 * @param folderId the folder ID 708 * @param start the lower bound of the range of bookmarks entries 709 * @param end the upper bound of the range of bookmarks entries (not inclusive) 710 * @return the range of matching bookmarks entries that the user has permission to view 711 */ 712 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F( 713 long groupId, long folderId, int start, int end); 714 715 /** 716 * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ? and folderId = ?. 717 * 718 * <p> 719 * 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.BookmarksEntryModelImpl}. 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. 720 * </p> 721 * 722 * @param groupId the group ID 723 * @param folderId the folder ID 724 * @param start the lower bound of the range of bookmarks entries 725 * @param end the upper bound of the range of bookmarks entries (not inclusive) 726 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 727 * @return the ordered range of matching bookmarks entries that the user has permission to view 728 */ 729 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F( 730 long groupId, long folderId, int start, int end, 731 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 732 733 /** 734 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and folderId = ?. 735 * 736 * @param entryId the primary key of the current bookmarks entry 737 * @param groupId the group ID 738 * @param folderId the folder ID 739 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 740 * @return the previous, current, and next bookmarks entry 741 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 742 */ 743 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_F_PrevAndNext( 744 long entryId, long groupId, long folderId, 745 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 746 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 747 748 /** 749 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ?. 750 * 751 * @param groupId the group ID 752 * @param folderIds the folder IDs 753 * @return the matching bookmarks entries that the user has permission to view 754 */ 755 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F( 756 long groupId, long[] folderIds); 757 758 /** 759 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ?. 760 * 761 * <p> 762 * 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.BookmarksEntryModelImpl}. 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. 763 * </p> 764 * 765 * @param groupId the group ID 766 * @param folderIds the folder IDs 767 * @param start the lower bound of the range of bookmarks entries 768 * @param end the upper bound of the range of bookmarks entries (not inclusive) 769 * @return the range of matching bookmarks entries that the user has permission to view 770 */ 771 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F( 772 long groupId, long[] folderIds, int start, int end); 773 774 /** 775 * Returns an ordered range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ?. 776 * 777 * <p> 778 * 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.BookmarksEntryModelImpl}. 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. 779 * </p> 780 * 781 * @param groupId the group ID 782 * @param folderIds the folder IDs 783 * @param start the lower bound of the range of bookmarks entries 784 * @param end the upper bound of the range of bookmarks entries (not inclusive) 785 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 786 * @return the ordered range of matching bookmarks entries that the user has permission to view 787 */ 788 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F( 789 long groupId, long[] folderIds, int start, int end, 790 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 791 792 /** 793 * Returns all the bookmarks entries where groupId = ? and folderId = any ?. 794 * 795 * <p> 796 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 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.BookmarksEntryModelImpl}. 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. 797 * </p> 798 * 799 * @param groupId the group ID 800 * @param folderIds the folder IDs 801 * @return the matching bookmarks entries 802 */ 803 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F( 804 long groupId, long[] folderIds); 805 806 /** 807 * Returns a range of all the bookmarks entries where groupId = ? and folderId = any ?. 808 * 809 * <p> 810 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 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.BookmarksEntryModelImpl}. 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. 811 * </p> 812 * 813 * @param groupId the group ID 814 * @param folderIds the folder IDs 815 * @param start the lower bound of the range of bookmarks entries 816 * @param end the upper bound of the range of bookmarks entries (not inclusive) 817 * @return the range of matching bookmarks entries 818 */ 819 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F( 820 long groupId, long[] folderIds, int start, int end); 821 822 /** 823 * Returns an ordered range of all the bookmarks entries where groupId = ? and folderId = any ?. 824 * 825 * <p> 826 * 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.BookmarksEntryModelImpl}. 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. 827 * </p> 828 * 829 * @param groupId the group ID 830 * @param folderIds the folder IDs 831 * @param start the lower bound of the range of bookmarks entries 832 * @param end the upper bound of the range of bookmarks entries (not inclusive) 833 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 834 * @return the ordered range of matching bookmarks entries 835 */ 836 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F( 837 long groupId, long[] folderIds, int start, int end, 838 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 839 840 /** 841 * Removes all the bookmarks entries where groupId = ? and folderId = ? from the database. 842 * 843 * @param groupId the group ID 844 * @param folderId the folder ID 845 */ 846 public void removeByG_F(long groupId, long folderId); 847 848 /** 849 * Returns the number of bookmarks entries where groupId = ? and folderId = ?. 850 * 851 * @param groupId the group ID 852 * @param folderId the folder ID 853 * @return the number of matching bookmarks entries 854 */ 855 public int countByG_F(long groupId, long folderId); 856 857 /** 858 * Returns the number of bookmarks entries where groupId = ? and folderId = any ?. 859 * 860 * @param groupId the group ID 861 * @param folderIds the folder IDs 862 * @return the number of matching bookmarks entries 863 */ 864 public int countByG_F(long groupId, long[] folderIds); 865 866 /** 867 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and folderId = ?. 868 * 869 * @param groupId the group ID 870 * @param folderId the folder ID 871 * @return the number of matching bookmarks entries that the user has permission to view 872 */ 873 public int filterCountByG_F(long groupId, long folderId); 874 875 /** 876 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and folderId = any ?. 877 * 878 * @param groupId the group ID 879 * @param folderIds the folder IDs 880 * @return the number of matching bookmarks entries that the user has permission to view 881 */ 882 public int filterCountByG_F(long groupId, long[] folderIds); 883 884 /** 885 * Returns all the bookmarks entries where groupId = ? and status = ?. 886 * 887 * @param groupId the group ID 888 * @param status the status 889 * @return the matching bookmarks entries 890 */ 891 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_S( 892 long groupId, int status); 893 894 /** 895 * Returns a range of all the bookmarks entries where groupId = ? and status = ?. 896 * 897 * <p> 898 * 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.BookmarksEntryModelImpl}. 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. 899 * </p> 900 * 901 * @param groupId the group ID 902 * @param status the status 903 * @param start the lower bound of the range of bookmarks entries 904 * @param end the upper bound of the range of bookmarks entries (not inclusive) 905 * @return the range of matching bookmarks entries 906 */ 907 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_S( 908 long groupId, int status, int start, int end); 909 910 /** 911 * Returns an ordered range of all the bookmarks entries where groupId = ? and status = ?. 912 * 913 * <p> 914 * 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.BookmarksEntryModelImpl}. 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. 915 * </p> 916 * 917 * @param groupId the group ID 918 * @param status the status 919 * @param start the lower bound of the range of bookmarks entries 920 * @param end the upper bound of the range of bookmarks entries (not inclusive) 921 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 922 * @return the ordered range of matching bookmarks entries 923 */ 924 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_S( 925 long groupId, int status, int start, int end, 926 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 927 928 /** 929 * Returns the first bookmarks entry in the ordered set where groupId = ? and status = ?. 930 * 931 * @param groupId the group ID 932 * @param status the status 933 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 934 * @return the first matching bookmarks entry 935 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 936 */ 937 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_S_First( 938 long groupId, int status, 939 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 940 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 941 942 /** 943 * Returns the first bookmarks entry in the ordered set where groupId = ? and status = ?. 944 * 945 * @param groupId the group ID 946 * @param status the status 947 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 948 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 949 */ 950 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_S_First( 951 long groupId, int status, 952 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 953 954 /** 955 * Returns the last bookmarks entry in the ordered set where groupId = ? and status = ?. 956 * 957 * @param groupId the group ID 958 * @param status the status 959 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 960 * @return the last matching bookmarks entry 961 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 962 */ 963 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_S_Last( 964 long groupId, int status, 965 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 966 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 967 968 /** 969 * Returns the last bookmarks entry in the ordered set where groupId = ? and status = ?. 970 * 971 * @param groupId the group ID 972 * @param status the status 973 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 974 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 975 */ 976 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_S_Last( 977 long groupId, int status, 978 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 979 980 /** 981 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and status = ?. 982 * 983 * @param entryId the primary key of the current bookmarks entry 984 * @param groupId the group ID 985 * @param status the status 986 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 987 * @return the previous, current, and next bookmarks entry 988 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 989 */ 990 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_S_PrevAndNext( 991 long entryId, long groupId, int status, 992 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 993 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 994 995 /** 996 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and status = ?. 997 * 998 * @param groupId the group ID 999 * @param status the status 1000 * @return the matching bookmarks entries that the user has permission to view 1001 */ 1002 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_S( 1003 long groupId, int status); 1004 1005 /** 1006 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and status = ?. 1007 * 1008 * <p> 1009 * 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.BookmarksEntryModelImpl}. 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. 1010 * </p> 1011 * 1012 * @param groupId the group ID 1013 * @param status the status 1014 * @param start the lower bound of the range of bookmarks entries 1015 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1016 * @return the range of matching bookmarks entries that the user has permission to view 1017 */ 1018 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_S( 1019 long groupId, int status, int start, int end); 1020 1021 /** 1022 * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ? and status = ?. 1023 * 1024 * <p> 1025 * 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.BookmarksEntryModelImpl}. 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. 1026 * </p> 1027 * 1028 * @param groupId the group ID 1029 * @param status the status 1030 * @param start the lower bound of the range of bookmarks entries 1031 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1032 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1033 * @return the ordered range of matching bookmarks entries that the user has permission to view 1034 */ 1035 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_S( 1036 long groupId, int status, int start, int end, 1037 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 1038 1039 /** 1040 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and status = ?. 1041 * 1042 * @param entryId the primary key of the current bookmarks entry 1043 * @param groupId the group ID 1044 * @param status the status 1045 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1046 * @return the previous, current, and next bookmarks entry 1047 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 1048 */ 1049 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_S_PrevAndNext( 1050 long entryId, long groupId, int status, 1051 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 1052 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 1053 1054 /** 1055 * Removes all the bookmarks entries where groupId = ? and status = ? from the database. 1056 * 1057 * @param groupId the group ID 1058 * @param status the status 1059 */ 1060 public void removeByG_S(long groupId, int status); 1061 1062 /** 1063 * Returns the number of bookmarks entries where groupId = ? and status = ?. 1064 * 1065 * @param groupId the group ID 1066 * @param status the status 1067 * @return the number of matching bookmarks entries 1068 */ 1069 public int countByG_S(long groupId, int status); 1070 1071 /** 1072 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and status = ?. 1073 * 1074 * @param groupId the group ID 1075 * @param status the status 1076 * @return the number of matching bookmarks entries that the user has permission to view 1077 */ 1078 public int filterCountByG_S(long groupId, int status); 1079 1080 /** 1081 * Returns all the bookmarks entries where groupId = ? and status ≠ ?. 1082 * 1083 * @param groupId the group ID 1084 * @param status the status 1085 * @return the matching bookmarks entries 1086 */ 1087 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_NotS( 1088 long groupId, int status); 1089 1090 /** 1091 * Returns a range of all the bookmarks entries where groupId = ? and status ≠ ?. 1092 * 1093 * <p> 1094 * 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.BookmarksEntryModelImpl}. 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. 1095 * </p> 1096 * 1097 * @param groupId the group ID 1098 * @param status the status 1099 * @param start the lower bound of the range of bookmarks entries 1100 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1101 * @return the range of matching bookmarks entries 1102 */ 1103 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_NotS( 1104 long groupId, int status, int start, int end); 1105 1106 /** 1107 * Returns an ordered range of all the bookmarks entries where groupId = ? and status ≠ ?. 1108 * 1109 * <p> 1110 * 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.BookmarksEntryModelImpl}. 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. 1111 * </p> 1112 * 1113 * @param groupId the group ID 1114 * @param status the status 1115 * @param start the lower bound of the range of bookmarks entries 1116 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1117 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1118 * @return the ordered range of matching bookmarks entries 1119 */ 1120 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_NotS( 1121 long groupId, int status, int start, int end, 1122 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 1123 1124 /** 1125 * Returns the first bookmarks entry in the ordered set where groupId = ? and status ≠ ?. 1126 * 1127 * @param groupId the group ID 1128 * @param status the status 1129 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1130 * @return the first matching bookmarks entry 1131 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 1132 */ 1133 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_NotS_First( 1134 long groupId, int status, 1135 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 1136 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 1137 1138 /** 1139 * Returns the first bookmarks entry in the ordered set where groupId = ? and status ≠ ?. 1140 * 1141 * @param groupId the group ID 1142 * @param status the status 1143 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1144 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 1145 */ 1146 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_NotS_First( 1147 long groupId, int status, 1148 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 1149 1150 /** 1151 * Returns the last bookmarks entry in the ordered set where groupId = ? and status ≠ ?. 1152 * 1153 * @param groupId the group ID 1154 * @param status the status 1155 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1156 * @return the last matching bookmarks entry 1157 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 1158 */ 1159 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_NotS_Last( 1160 long groupId, int status, 1161 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 1162 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 1163 1164 /** 1165 * Returns the last bookmarks entry in the ordered set where groupId = ? and status ≠ ?. 1166 * 1167 * @param groupId the group ID 1168 * @param status the status 1169 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1170 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 1171 */ 1172 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_NotS_Last( 1173 long groupId, int status, 1174 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 1175 1176 /** 1177 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and status ≠ ?. 1178 * 1179 * @param entryId the primary key of the current bookmarks entry 1180 * @param groupId the group ID 1181 * @param status the status 1182 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1183 * @return the previous, current, and next bookmarks entry 1184 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 1185 */ 1186 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_NotS_PrevAndNext( 1187 long entryId, long groupId, int status, 1188 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 1189 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 1190 1191 /** 1192 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and status ≠ ?. 1193 * 1194 * @param groupId the group ID 1195 * @param status the status 1196 * @return the matching bookmarks entries that the user has permission to view 1197 */ 1198 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_NotS( 1199 long groupId, int status); 1200 1201 /** 1202 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and status ≠ ?. 1203 * 1204 * <p> 1205 * 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.BookmarksEntryModelImpl}. 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. 1206 * </p> 1207 * 1208 * @param groupId the group ID 1209 * @param status the status 1210 * @param start the lower bound of the range of bookmarks entries 1211 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1212 * @return the range of matching bookmarks entries that the user has permission to view 1213 */ 1214 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_NotS( 1215 long groupId, int status, int start, int end); 1216 1217 /** 1218 * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ? and status ≠ ?. 1219 * 1220 * <p> 1221 * 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.BookmarksEntryModelImpl}. 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. 1222 * </p> 1223 * 1224 * @param groupId the group ID 1225 * @param status the status 1226 * @param start the lower bound of the range of bookmarks entries 1227 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1228 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1229 * @return the ordered range of matching bookmarks entries that the user has permission to view 1230 */ 1231 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_NotS( 1232 long groupId, int status, int start, int end, 1233 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 1234 1235 /** 1236 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and status ≠ ?. 1237 * 1238 * @param entryId the primary key of the current bookmarks entry 1239 * @param groupId the group ID 1240 * @param status the status 1241 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1242 * @return the previous, current, and next bookmarks entry 1243 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 1244 */ 1245 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_NotS_PrevAndNext( 1246 long entryId, long groupId, int status, 1247 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 1248 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 1249 1250 /** 1251 * Removes all the bookmarks entries where groupId = ? and status ≠ ? from the database. 1252 * 1253 * @param groupId the group ID 1254 * @param status the status 1255 */ 1256 public void removeByG_NotS(long groupId, int status); 1257 1258 /** 1259 * Returns the number of bookmarks entries where groupId = ? and status ≠ ?. 1260 * 1261 * @param groupId the group ID 1262 * @param status the status 1263 * @return the number of matching bookmarks entries 1264 */ 1265 public int countByG_NotS(long groupId, int status); 1266 1267 /** 1268 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and status ≠ ?. 1269 * 1270 * @param groupId the group ID 1271 * @param status the status 1272 * @return the number of matching bookmarks entries that the user has permission to view 1273 */ 1274 public int filterCountByG_NotS(long groupId, int status); 1275 1276 /** 1277 * Returns all the bookmarks entries where companyId = ? and status ≠ ?. 1278 * 1279 * @param companyId the company ID 1280 * @param status the status 1281 * @return the matching bookmarks entries 1282 */ 1283 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByC_NotS( 1284 long companyId, int status); 1285 1286 /** 1287 * Returns a range of all the bookmarks entries where companyId = ? and status ≠ ?. 1288 * 1289 * <p> 1290 * 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.BookmarksEntryModelImpl}. 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. 1291 * </p> 1292 * 1293 * @param companyId the company ID 1294 * @param status the status 1295 * @param start the lower bound of the range of bookmarks entries 1296 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1297 * @return the range of matching bookmarks entries 1298 */ 1299 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByC_NotS( 1300 long companyId, int status, int start, int end); 1301 1302 /** 1303 * Returns an ordered range of all the bookmarks entries where companyId = ? and status ≠ ?. 1304 * 1305 * <p> 1306 * 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.BookmarksEntryModelImpl}. 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. 1307 * </p> 1308 * 1309 * @param companyId the company ID 1310 * @param status the status 1311 * @param start the lower bound of the range of bookmarks entries 1312 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1313 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1314 * @return the ordered range of matching bookmarks entries 1315 */ 1316 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByC_NotS( 1317 long companyId, int status, int start, int end, 1318 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 1319 1320 /** 1321 * Returns the first bookmarks entry in the ordered set where companyId = ? and status ≠ ?. 1322 * 1323 * @param companyId the company ID 1324 * @param status the status 1325 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1326 * @return the first matching bookmarks entry 1327 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 1328 */ 1329 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByC_NotS_First( 1330 long companyId, int status, 1331 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 1332 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 1333 1334 /** 1335 * Returns the first bookmarks entry in the ordered set where companyId = ? and status ≠ ?. 1336 * 1337 * @param companyId the company ID 1338 * @param status the status 1339 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1340 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 1341 */ 1342 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByC_NotS_First( 1343 long companyId, int status, 1344 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 1345 1346 /** 1347 * Returns the last bookmarks entry in the ordered set where companyId = ? and status ≠ ?. 1348 * 1349 * @param companyId the company ID 1350 * @param status the status 1351 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1352 * @return the last matching bookmarks entry 1353 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 1354 */ 1355 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByC_NotS_Last( 1356 long companyId, int status, 1357 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 1358 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 1359 1360 /** 1361 * Returns the last bookmarks entry in the ordered set where companyId = ? and status ≠ ?. 1362 * 1363 * @param companyId the company ID 1364 * @param status the status 1365 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1366 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 1367 */ 1368 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByC_NotS_Last( 1369 long companyId, int status, 1370 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 1371 1372 /** 1373 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where companyId = ? and status ≠ ?. 1374 * 1375 * @param entryId the primary key of the current bookmarks entry 1376 * @param companyId the company ID 1377 * @param status the status 1378 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1379 * @return the previous, current, and next bookmarks entry 1380 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 1381 */ 1382 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByC_NotS_PrevAndNext( 1383 long entryId, long companyId, int status, 1384 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 1385 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 1386 1387 /** 1388 * Removes all the bookmarks entries where companyId = ? and status ≠ ? from the database. 1389 * 1390 * @param companyId the company ID 1391 * @param status the status 1392 */ 1393 public void removeByC_NotS(long companyId, int status); 1394 1395 /** 1396 * Returns the number of bookmarks entries where companyId = ? and status ≠ ?. 1397 * 1398 * @param companyId the company ID 1399 * @param status the status 1400 * @return the number of matching bookmarks entries 1401 */ 1402 public int countByC_NotS(long companyId, int status); 1403 1404 /** 1405 * Returns all the bookmarks entries where groupId = ? and userId = ? and status = ?. 1406 * 1407 * @param groupId the group ID 1408 * @param userId the user ID 1409 * @param status the status 1410 * @return the matching bookmarks entries 1411 */ 1412 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_S( 1413 long groupId, long userId, int status); 1414 1415 /** 1416 * Returns a range of all the bookmarks entries where groupId = ? and userId = ? and status = ?. 1417 * 1418 * <p> 1419 * 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.BookmarksEntryModelImpl}. 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. 1420 * </p> 1421 * 1422 * @param groupId the group ID 1423 * @param userId the user ID 1424 * @param status the status 1425 * @param start the lower bound of the range of bookmarks entries 1426 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1427 * @return the range of matching bookmarks entries 1428 */ 1429 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_S( 1430 long groupId, long userId, int status, int start, int end); 1431 1432 /** 1433 * Returns an ordered range of all the bookmarks entries where groupId = ? and userId = ? and status = ?. 1434 * 1435 * <p> 1436 * 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.BookmarksEntryModelImpl}. 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. 1437 * </p> 1438 * 1439 * @param groupId the group ID 1440 * @param userId the user ID 1441 * @param status the status 1442 * @param start the lower bound of the range of bookmarks entries 1443 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1444 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1445 * @return the ordered range of matching bookmarks entries 1446 */ 1447 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_S( 1448 long groupId, long userId, int status, int start, int end, 1449 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 1450 1451 /** 1452 * Returns the first bookmarks entry in the ordered set where groupId = ? and userId = ? and status = ?. 1453 * 1454 * @param groupId the group ID 1455 * @param userId the user ID 1456 * @param status the status 1457 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1458 * @return the first matching bookmarks entry 1459 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 1460 */ 1461 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_S_First( 1462 long groupId, long userId, int status, 1463 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 1464 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 1465 1466 /** 1467 * Returns the first bookmarks entry in the ordered set where groupId = ? and userId = ? and status = ?. 1468 * 1469 * @param groupId the group ID 1470 * @param userId the user ID 1471 * @param status the status 1472 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1473 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 1474 */ 1475 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_U_S_First( 1476 long groupId, long userId, int status, 1477 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 1478 1479 /** 1480 * Returns the last bookmarks entry in the ordered set where groupId = ? and userId = ? and status = ?. 1481 * 1482 * @param groupId the group ID 1483 * @param userId the user ID 1484 * @param status the status 1485 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1486 * @return the last matching bookmarks entry 1487 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 1488 */ 1489 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_S_Last( 1490 long groupId, long userId, int status, 1491 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 1492 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 1493 1494 /** 1495 * Returns the last bookmarks entry in the ordered set where groupId = ? and userId = ? and status = ?. 1496 * 1497 * @param groupId the group ID 1498 * @param userId the user ID 1499 * @param status the status 1500 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1501 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 1502 */ 1503 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_U_S_Last( 1504 long groupId, long userId, int status, 1505 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 1506 1507 /** 1508 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and userId = ? and status = ?. 1509 * 1510 * @param entryId the primary key of the current bookmarks entry 1511 * @param groupId the group ID 1512 * @param userId the user ID 1513 * @param status the status 1514 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1515 * @return the previous, current, and next bookmarks entry 1516 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 1517 */ 1518 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_U_S_PrevAndNext( 1519 long entryId, long groupId, long userId, int status, 1520 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 1521 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 1522 1523 /** 1524 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and userId = ? and status = ?. 1525 * 1526 * @param groupId the group ID 1527 * @param userId the user ID 1528 * @param status the status 1529 * @return the matching bookmarks entries that the user has permission to view 1530 */ 1531 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_S( 1532 long groupId, long userId, int status); 1533 1534 /** 1535 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and userId = ? and status = ?. 1536 * 1537 * <p> 1538 * 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.BookmarksEntryModelImpl}. 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. 1539 * </p> 1540 * 1541 * @param groupId the group ID 1542 * @param userId the user ID 1543 * @param status the status 1544 * @param start the lower bound of the range of bookmarks entries 1545 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1546 * @return the range of matching bookmarks entries that the user has permission to view 1547 */ 1548 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_S( 1549 long groupId, long userId, int status, int start, int end); 1550 1551 /** 1552 * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ? and userId = ? and status = ?. 1553 * 1554 * <p> 1555 * 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.BookmarksEntryModelImpl}. 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. 1556 * </p> 1557 * 1558 * @param groupId the group ID 1559 * @param userId the user ID 1560 * @param status the status 1561 * @param start the lower bound of the range of bookmarks entries 1562 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1563 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1564 * @return the ordered range of matching bookmarks entries that the user has permission to view 1565 */ 1566 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_S( 1567 long groupId, long userId, int status, int start, int end, 1568 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 1569 1570 /** 1571 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and userId = ? and status = ?. 1572 * 1573 * @param entryId the primary key of the current bookmarks entry 1574 * @param groupId the group ID 1575 * @param userId the user ID 1576 * @param status the status 1577 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1578 * @return the previous, current, and next bookmarks entry 1579 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 1580 */ 1581 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_U_S_PrevAndNext( 1582 long entryId, long groupId, long userId, int status, 1583 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 1584 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 1585 1586 /** 1587 * Removes all the bookmarks entries where groupId = ? and userId = ? and status = ? from the database. 1588 * 1589 * @param groupId the group ID 1590 * @param userId the user ID 1591 * @param status the status 1592 */ 1593 public void removeByG_U_S(long groupId, long userId, int status); 1594 1595 /** 1596 * Returns the number of bookmarks entries where groupId = ? and userId = ? and status = ?. 1597 * 1598 * @param groupId the group ID 1599 * @param userId the user ID 1600 * @param status the status 1601 * @return the number of matching bookmarks entries 1602 */ 1603 public int countByG_U_S(long groupId, long userId, int status); 1604 1605 /** 1606 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and userId = ? and status = ?. 1607 * 1608 * @param groupId the group ID 1609 * @param userId the user ID 1610 * @param status the status 1611 * @return the number of matching bookmarks entries that the user has permission to view 1612 */ 1613 public int filterCountByG_U_S(long groupId, long userId, int status); 1614 1615 /** 1616 * Returns all the bookmarks entries where groupId = ? and userId = ? and status ≠ ?. 1617 * 1618 * @param groupId the group ID 1619 * @param userId the user ID 1620 * @param status the status 1621 * @return the matching bookmarks entries 1622 */ 1623 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_NotS( 1624 long groupId, long userId, int status); 1625 1626 /** 1627 * Returns a range of all the bookmarks entries where groupId = ? and userId = ? and status ≠ ?. 1628 * 1629 * <p> 1630 * 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.BookmarksEntryModelImpl}. 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. 1631 * </p> 1632 * 1633 * @param groupId the group ID 1634 * @param userId the user ID 1635 * @param status the status 1636 * @param start the lower bound of the range of bookmarks entries 1637 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1638 * @return the range of matching bookmarks entries 1639 */ 1640 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_NotS( 1641 long groupId, long userId, int status, int start, int end); 1642 1643 /** 1644 * Returns an ordered range of all the bookmarks entries where groupId = ? and userId = ? and status ≠ ?. 1645 * 1646 * <p> 1647 * 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.BookmarksEntryModelImpl}. 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. 1648 * </p> 1649 * 1650 * @param groupId the group ID 1651 * @param userId the user ID 1652 * @param status the status 1653 * @param start the lower bound of the range of bookmarks entries 1654 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1655 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1656 * @return the ordered range of matching bookmarks entries 1657 */ 1658 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_NotS( 1659 long groupId, long userId, int status, int start, int end, 1660 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 1661 1662 /** 1663 * Returns the first bookmarks entry in the ordered set where groupId = ? and userId = ? and status ≠ ?. 1664 * 1665 * @param groupId the group ID 1666 * @param userId the user ID 1667 * @param status the status 1668 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1669 * @return the first matching bookmarks entry 1670 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 1671 */ 1672 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_NotS_First( 1673 long groupId, long userId, int status, 1674 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 1675 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 1676 1677 /** 1678 * Returns the first bookmarks entry in the ordered set where groupId = ? and userId = ? and status ≠ ?. 1679 * 1680 * @param groupId the group ID 1681 * @param userId the user ID 1682 * @param status the status 1683 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1684 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 1685 */ 1686 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_U_NotS_First( 1687 long groupId, long userId, int status, 1688 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 1689 1690 /** 1691 * Returns the last bookmarks entry in the ordered set where groupId = ? and userId = ? and status ≠ ?. 1692 * 1693 * @param groupId the group ID 1694 * @param userId the user ID 1695 * @param status the status 1696 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1697 * @return the last matching bookmarks entry 1698 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 1699 */ 1700 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_NotS_Last( 1701 long groupId, long userId, int status, 1702 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 1703 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 1704 1705 /** 1706 * Returns the last bookmarks entry in the ordered set where groupId = ? and userId = ? and status ≠ ?. 1707 * 1708 * @param groupId the group ID 1709 * @param userId the user ID 1710 * @param status the status 1711 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1712 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 1713 */ 1714 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_U_NotS_Last( 1715 long groupId, long userId, int status, 1716 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 1717 1718 /** 1719 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and userId = ? and status ≠ ?. 1720 * 1721 * @param entryId the primary key of the current bookmarks entry 1722 * @param groupId the group ID 1723 * @param userId the user ID 1724 * @param status the status 1725 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1726 * @return the previous, current, and next bookmarks entry 1727 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 1728 */ 1729 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_U_NotS_PrevAndNext( 1730 long entryId, long groupId, long userId, int status, 1731 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 1732 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 1733 1734 /** 1735 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and userId = ? and status ≠ ?. 1736 * 1737 * @param groupId the group ID 1738 * @param userId the user ID 1739 * @param status the status 1740 * @return the matching bookmarks entries that the user has permission to view 1741 */ 1742 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_NotS( 1743 long groupId, long userId, int status); 1744 1745 /** 1746 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and userId = ? and status ≠ ?. 1747 * 1748 * <p> 1749 * 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.BookmarksEntryModelImpl}. 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. 1750 * </p> 1751 * 1752 * @param groupId the group ID 1753 * @param userId the user ID 1754 * @param status the status 1755 * @param start the lower bound of the range of bookmarks entries 1756 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1757 * @return the range of matching bookmarks entries that the user has permission to view 1758 */ 1759 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_NotS( 1760 long groupId, long userId, int status, int start, int end); 1761 1762 /** 1763 * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ? and userId = ? and status ≠ ?. 1764 * 1765 * <p> 1766 * 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.BookmarksEntryModelImpl}. 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. 1767 * </p> 1768 * 1769 * @param groupId the group ID 1770 * @param userId the user ID 1771 * @param status the status 1772 * @param start the lower bound of the range of bookmarks entries 1773 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1774 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1775 * @return the ordered range of matching bookmarks entries that the user has permission to view 1776 */ 1777 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_NotS( 1778 long groupId, long userId, int status, int start, int end, 1779 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 1780 1781 /** 1782 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and userId = ? and status ≠ ?. 1783 * 1784 * @param entryId the primary key of the current bookmarks entry 1785 * @param groupId the group ID 1786 * @param userId the user ID 1787 * @param status the status 1788 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1789 * @return the previous, current, and next bookmarks entry 1790 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 1791 */ 1792 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_U_NotS_PrevAndNext( 1793 long entryId, long groupId, long userId, int status, 1794 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 1795 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 1796 1797 /** 1798 * Removes all the bookmarks entries where groupId = ? and userId = ? and status ≠ ? from the database. 1799 * 1800 * @param groupId the group ID 1801 * @param userId the user ID 1802 * @param status the status 1803 */ 1804 public void removeByG_U_NotS(long groupId, long userId, int status); 1805 1806 /** 1807 * Returns the number of bookmarks entries where groupId = ? and userId = ? and status ≠ ?. 1808 * 1809 * @param groupId the group ID 1810 * @param userId the user ID 1811 * @param status the status 1812 * @return the number of matching bookmarks entries 1813 */ 1814 public int countByG_U_NotS(long groupId, long userId, int status); 1815 1816 /** 1817 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and userId = ? and status ≠ ?. 1818 * 1819 * @param groupId the group ID 1820 * @param userId the user ID 1821 * @param status the status 1822 * @return the number of matching bookmarks entries that the user has permission to view 1823 */ 1824 public int filterCountByG_U_NotS(long groupId, long userId, int status); 1825 1826 /** 1827 * Returns all the bookmarks entries where groupId = ? and folderId = ? and status = ?. 1828 * 1829 * @param groupId the group ID 1830 * @param folderId the folder ID 1831 * @param status the status 1832 * @return the matching bookmarks entries 1833 */ 1834 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_S( 1835 long groupId, long folderId, int status); 1836 1837 /** 1838 * Returns a range of all the bookmarks entries where groupId = ? and folderId = ? and status = ?. 1839 * 1840 * <p> 1841 * 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.BookmarksEntryModelImpl}. 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. 1842 * </p> 1843 * 1844 * @param groupId the group ID 1845 * @param folderId the folder ID 1846 * @param status the status 1847 * @param start the lower bound of the range of bookmarks entries 1848 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1849 * @return the range of matching bookmarks entries 1850 */ 1851 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_S( 1852 long groupId, long folderId, int status, int start, int end); 1853 1854 /** 1855 * Returns an ordered range of all the bookmarks entries where groupId = ? and folderId = ? and status = ?. 1856 * 1857 * <p> 1858 * 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.BookmarksEntryModelImpl}. 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. 1859 * </p> 1860 * 1861 * @param groupId the group ID 1862 * @param folderId the folder ID 1863 * @param status the status 1864 * @param start the lower bound of the range of bookmarks entries 1865 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1866 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1867 * @return the ordered range of matching bookmarks entries 1868 */ 1869 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_S( 1870 long groupId, long folderId, int status, int start, int end, 1871 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 1872 1873 /** 1874 * Returns the first bookmarks entry in the ordered set where groupId = ? and folderId = ? and status = ?. 1875 * 1876 * @param groupId the group ID 1877 * @param folderId the folder ID 1878 * @param status the status 1879 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1880 * @return the first matching bookmarks entry 1881 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 1882 */ 1883 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_S_First( 1884 long groupId, long folderId, int status, 1885 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 1886 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 1887 1888 /** 1889 * Returns the first bookmarks entry in the ordered set where groupId = ? and folderId = ? and status = ?. 1890 * 1891 * @param groupId the group ID 1892 * @param folderId the folder ID 1893 * @param status the status 1894 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1895 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 1896 */ 1897 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_S_First( 1898 long groupId, long folderId, int status, 1899 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 1900 1901 /** 1902 * Returns the last bookmarks entry in the ordered set where groupId = ? and folderId = ? and status = ?. 1903 * 1904 * @param groupId the group ID 1905 * @param folderId the folder ID 1906 * @param status the status 1907 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1908 * @return the last matching bookmarks entry 1909 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 1910 */ 1911 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_S_Last( 1912 long groupId, long folderId, int status, 1913 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 1914 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 1915 1916 /** 1917 * Returns the last bookmarks entry in the ordered set where groupId = ? and folderId = ? and status = ?. 1918 * 1919 * @param groupId the group ID 1920 * @param folderId the folder ID 1921 * @param status the status 1922 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1923 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 1924 */ 1925 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_S_Last( 1926 long groupId, long folderId, int status, 1927 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 1928 1929 /** 1930 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and folderId = ? and status = ?. 1931 * 1932 * @param entryId the primary key of the current bookmarks entry 1933 * @param groupId the group ID 1934 * @param folderId the folder ID 1935 * @param status the status 1936 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1937 * @return the previous, current, and next bookmarks entry 1938 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 1939 */ 1940 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_F_S_PrevAndNext( 1941 long entryId, long groupId, long folderId, int status, 1942 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 1943 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 1944 1945 /** 1946 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and folderId = ? and status = ?. 1947 * 1948 * @param groupId the group ID 1949 * @param folderId the folder ID 1950 * @param status the status 1951 * @return the matching bookmarks entries that the user has permission to view 1952 */ 1953 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_S( 1954 long groupId, long folderId, int status); 1955 1956 /** 1957 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = ? and status = ?. 1958 * 1959 * <p> 1960 * 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.BookmarksEntryModelImpl}. 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. 1961 * </p> 1962 * 1963 * @param groupId the group ID 1964 * @param folderId the folder ID 1965 * @param status the status 1966 * @param start the lower bound of the range of bookmarks entries 1967 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1968 * @return the range of matching bookmarks entries that the user has permission to view 1969 */ 1970 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_S( 1971 long groupId, long folderId, int status, int start, int end); 1972 1973 /** 1974 * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ? and folderId = ? and status = ?. 1975 * 1976 * <p> 1977 * 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.BookmarksEntryModelImpl}. 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. 1978 * </p> 1979 * 1980 * @param groupId the group ID 1981 * @param folderId the folder ID 1982 * @param status the status 1983 * @param start the lower bound of the range of bookmarks entries 1984 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1985 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1986 * @return the ordered range of matching bookmarks entries that the user has permission to view 1987 */ 1988 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_S( 1989 long groupId, long folderId, int status, int start, int end, 1990 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 1991 1992 /** 1993 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and folderId = ? and status = ?. 1994 * 1995 * @param entryId the primary key of the current bookmarks entry 1996 * @param groupId the group ID 1997 * @param folderId the folder ID 1998 * @param status the status 1999 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2000 * @return the previous, current, and next bookmarks entry 2001 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 2002 */ 2003 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_F_S_PrevAndNext( 2004 long entryId, long groupId, long folderId, int status, 2005 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 2006 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 2007 2008 /** 2009 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ? and status = ?. 2010 * 2011 * @param groupId the group ID 2012 * @param folderIds the folder IDs 2013 * @param status the status 2014 * @return the matching bookmarks entries that the user has permission to view 2015 */ 2016 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_S( 2017 long groupId, long[] folderIds, int status); 2018 2019 /** 2020 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ? and status = ?. 2021 * 2022 * <p> 2023 * 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.BookmarksEntryModelImpl}. 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. 2024 * </p> 2025 * 2026 * @param groupId the group ID 2027 * @param folderIds the folder IDs 2028 * @param status the status 2029 * @param start the lower bound of the range of bookmarks entries 2030 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2031 * @return the range of matching bookmarks entries that the user has permission to view 2032 */ 2033 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_S( 2034 long groupId, long[] folderIds, int status, int start, int end); 2035 2036 /** 2037 * Returns an ordered range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ? and status = ?. 2038 * 2039 * <p> 2040 * 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.BookmarksEntryModelImpl}. 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. 2041 * </p> 2042 * 2043 * @param groupId the group ID 2044 * @param folderIds the folder IDs 2045 * @param status the status 2046 * @param start the lower bound of the range of bookmarks entries 2047 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2048 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2049 * @return the ordered range of matching bookmarks entries that the user has permission to view 2050 */ 2051 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_S( 2052 long groupId, long[] folderIds, int status, int start, int end, 2053 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 2054 2055 /** 2056 * Returns all the bookmarks entries where groupId = ? and folderId = any ? and status = ?. 2057 * 2058 * <p> 2059 * 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.BookmarksEntryModelImpl}. 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. 2060 * </p> 2061 * 2062 * @param groupId the group ID 2063 * @param folderIds the folder IDs 2064 * @param status the status 2065 * @return the matching bookmarks entries 2066 */ 2067 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_S( 2068 long groupId, long[] folderIds, int status); 2069 2070 /** 2071 * Returns a range of all the bookmarks entries where groupId = ? and folderId = any ? and status = ?. 2072 * 2073 * <p> 2074 * 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.BookmarksEntryModelImpl}. 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. 2075 * </p> 2076 * 2077 * @param groupId the group ID 2078 * @param folderIds the folder IDs 2079 * @param status the status 2080 * @param start the lower bound of the range of bookmarks entries 2081 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2082 * @return the range of matching bookmarks entries 2083 */ 2084 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_S( 2085 long groupId, long[] folderIds, int status, int start, int end); 2086 2087 /** 2088 * Returns an ordered range of all the bookmarks entries where groupId = ? and folderId = any ? and status = ?. 2089 * 2090 * <p> 2091 * 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.BookmarksEntryModelImpl}. 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. 2092 * </p> 2093 * 2094 * @param groupId the group ID 2095 * @param folderIds the folder IDs 2096 * @param status the status 2097 * @param start the lower bound of the range of bookmarks entries 2098 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2099 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2100 * @return the ordered range of matching bookmarks entries 2101 */ 2102 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_S( 2103 long groupId, long[] folderIds, int status, int start, int end, 2104 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 2105 2106 /** 2107 * Removes all the bookmarks entries where groupId = ? and folderId = ? and status = ? from the database. 2108 * 2109 * @param groupId the group ID 2110 * @param folderId the folder ID 2111 * @param status the status 2112 */ 2113 public void removeByG_F_S(long groupId, long folderId, int status); 2114 2115 /** 2116 * Returns the number of bookmarks entries where groupId = ? and folderId = ? and status = ?. 2117 * 2118 * @param groupId the group ID 2119 * @param folderId the folder ID 2120 * @param status the status 2121 * @return the number of matching bookmarks entries 2122 */ 2123 public int countByG_F_S(long groupId, long folderId, int status); 2124 2125 /** 2126 * Returns the number of bookmarks entries where groupId = ? and folderId = any ? and status = ?. 2127 * 2128 * @param groupId the group ID 2129 * @param folderIds the folder IDs 2130 * @param status the status 2131 * @return the number of matching bookmarks entries 2132 */ 2133 public int countByG_F_S(long groupId, long[] folderIds, int status); 2134 2135 /** 2136 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and folderId = ? and status = ?. 2137 * 2138 * @param groupId the group ID 2139 * @param folderId the folder ID 2140 * @param status the status 2141 * @return the number of matching bookmarks entries that the user has permission to view 2142 */ 2143 public int filterCountByG_F_S(long groupId, long folderId, int status); 2144 2145 /** 2146 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and folderId = any ? and status = ?. 2147 * 2148 * @param groupId the group ID 2149 * @param folderIds the folder IDs 2150 * @param status the status 2151 * @return the number of matching bookmarks entries that the user has permission to view 2152 */ 2153 public int filterCountByG_F_S(long groupId, long[] folderIds, int status); 2154 2155 /** 2156 * Returns all the bookmarks entries where groupId = ? and folderId = ? and status ≠ ?. 2157 * 2158 * @param groupId the group ID 2159 * @param folderId the folder ID 2160 * @param status the status 2161 * @return the matching bookmarks entries 2162 */ 2163 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_NotS( 2164 long groupId, long folderId, int status); 2165 2166 /** 2167 * Returns a range of all the bookmarks entries where groupId = ? and folderId = ? and status ≠ ?. 2168 * 2169 * <p> 2170 * 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.BookmarksEntryModelImpl}. 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. 2171 * </p> 2172 * 2173 * @param groupId the group ID 2174 * @param folderId the folder ID 2175 * @param status the status 2176 * @param start the lower bound of the range of bookmarks entries 2177 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2178 * @return the range of matching bookmarks entries 2179 */ 2180 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_NotS( 2181 long groupId, long folderId, int status, int start, int end); 2182 2183 /** 2184 * Returns an ordered range of all the bookmarks entries where groupId = ? and folderId = ? and status ≠ ?. 2185 * 2186 * <p> 2187 * 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.BookmarksEntryModelImpl}. 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. 2188 * </p> 2189 * 2190 * @param groupId the group ID 2191 * @param folderId the folder ID 2192 * @param status the status 2193 * @param start the lower bound of the range of bookmarks entries 2194 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2195 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2196 * @return the ordered range of matching bookmarks entries 2197 */ 2198 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_NotS( 2199 long groupId, long folderId, int status, int start, int end, 2200 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 2201 2202 /** 2203 * Returns the first bookmarks entry in the ordered set where groupId = ? and folderId = ? and status ≠ ?. 2204 * 2205 * @param groupId the group ID 2206 * @param folderId the folder ID 2207 * @param status the status 2208 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2209 * @return the first matching bookmarks entry 2210 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 2211 */ 2212 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_NotS_First( 2213 long groupId, long folderId, int status, 2214 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 2215 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 2216 2217 /** 2218 * Returns the first bookmarks entry in the ordered set where groupId = ? and folderId = ? and status ≠ ?. 2219 * 2220 * @param groupId the group ID 2221 * @param folderId the folder ID 2222 * @param status the status 2223 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2224 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 2225 */ 2226 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_NotS_First( 2227 long groupId, long folderId, int status, 2228 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 2229 2230 /** 2231 * Returns the last bookmarks entry in the ordered set where groupId = ? and folderId = ? and status ≠ ?. 2232 * 2233 * @param groupId the group ID 2234 * @param folderId the folder ID 2235 * @param status the status 2236 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2237 * @return the last matching bookmarks entry 2238 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 2239 */ 2240 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_NotS_Last( 2241 long groupId, long folderId, int status, 2242 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 2243 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 2244 2245 /** 2246 * Returns the last bookmarks entry in the ordered set where groupId = ? and folderId = ? and status ≠ ?. 2247 * 2248 * @param groupId the group ID 2249 * @param folderId the folder ID 2250 * @param status the status 2251 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2252 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 2253 */ 2254 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_NotS_Last( 2255 long groupId, long folderId, int status, 2256 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 2257 2258 /** 2259 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and folderId = ? and status ≠ ?. 2260 * 2261 * @param entryId the primary key of the current bookmarks entry 2262 * @param groupId the group ID 2263 * @param folderId the folder ID 2264 * @param status the status 2265 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2266 * @return the previous, current, and next bookmarks entry 2267 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 2268 */ 2269 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_F_NotS_PrevAndNext( 2270 long entryId, long groupId, long folderId, int status, 2271 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 2272 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 2273 2274 /** 2275 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and folderId = ? and status ≠ ?. 2276 * 2277 * @param groupId the group ID 2278 * @param folderId the folder ID 2279 * @param status the status 2280 * @return the matching bookmarks entries that the user has permission to view 2281 */ 2282 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_NotS( 2283 long groupId, long folderId, int status); 2284 2285 /** 2286 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = ? and status ≠ ?. 2287 * 2288 * <p> 2289 * 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.BookmarksEntryModelImpl}. 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. 2290 * </p> 2291 * 2292 * @param groupId the group ID 2293 * @param folderId the folder ID 2294 * @param status the status 2295 * @param start the lower bound of the range of bookmarks entries 2296 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2297 * @return the range of matching bookmarks entries that the user has permission to view 2298 */ 2299 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_NotS( 2300 long groupId, long folderId, int status, int start, int end); 2301 2302 /** 2303 * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ? and folderId = ? and status ≠ ?. 2304 * 2305 * <p> 2306 * 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.BookmarksEntryModelImpl}. 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. 2307 * </p> 2308 * 2309 * @param groupId the group ID 2310 * @param folderId the folder ID 2311 * @param status the status 2312 * @param start the lower bound of the range of bookmarks entries 2313 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2314 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2315 * @return the ordered range of matching bookmarks entries that the user has permission to view 2316 */ 2317 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_NotS( 2318 long groupId, long folderId, int status, int start, int end, 2319 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 2320 2321 /** 2322 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and folderId = ? and status ≠ ?. 2323 * 2324 * @param entryId the primary key of the current bookmarks entry 2325 * @param groupId the group ID 2326 * @param folderId the folder ID 2327 * @param status the status 2328 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2329 * @return the previous, current, and next bookmarks entry 2330 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 2331 */ 2332 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_F_NotS_PrevAndNext( 2333 long entryId, long groupId, long folderId, int status, 2334 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 2335 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 2336 2337 /** 2338 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ? and status ≠ ?. 2339 * 2340 * @param groupId the group ID 2341 * @param folderIds the folder IDs 2342 * @param status the status 2343 * @return the matching bookmarks entries that the user has permission to view 2344 */ 2345 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_NotS( 2346 long groupId, long[] folderIds, int status); 2347 2348 /** 2349 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ? and status ≠ ?. 2350 * 2351 * <p> 2352 * 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.BookmarksEntryModelImpl}. 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. 2353 * </p> 2354 * 2355 * @param groupId the group ID 2356 * @param folderIds the folder IDs 2357 * @param status the status 2358 * @param start the lower bound of the range of bookmarks entries 2359 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2360 * @return the range of matching bookmarks entries that the user has permission to view 2361 */ 2362 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_NotS( 2363 long groupId, long[] folderIds, int status, int start, int end); 2364 2365 /** 2366 * Returns an ordered range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ? and status ≠ ?. 2367 * 2368 * <p> 2369 * 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.BookmarksEntryModelImpl}. 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. 2370 * </p> 2371 * 2372 * @param groupId the group ID 2373 * @param folderIds the folder IDs 2374 * @param status the status 2375 * @param start the lower bound of the range of bookmarks entries 2376 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2377 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2378 * @return the ordered range of matching bookmarks entries that the user has permission to view 2379 */ 2380 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_NotS( 2381 long groupId, long[] folderIds, int status, int start, int end, 2382 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 2383 2384 /** 2385 * Returns all the bookmarks entries where groupId = ? and folderId = any ? and status ≠ ?. 2386 * 2387 * <p> 2388 * 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.BookmarksEntryModelImpl}. 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. 2389 * </p> 2390 * 2391 * @param groupId the group ID 2392 * @param folderIds the folder IDs 2393 * @param status the status 2394 * @return the matching bookmarks entries 2395 */ 2396 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_NotS( 2397 long groupId, long[] folderIds, int status); 2398 2399 /** 2400 * Returns a range of all the bookmarks entries where groupId = ? and folderId = any ? and status ≠ ?. 2401 * 2402 * <p> 2403 * 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.BookmarksEntryModelImpl}. 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. 2404 * </p> 2405 * 2406 * @param groupId the group ID 2407 * @param folderIds the folder IDs 2408 * @param status the status 2409 * @param start the lower bound of the range of bookmarks entries 2410 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2411 * @return the range of matching bookmarks entries 2412 */ 2413 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_NotS( 2414 long groupId, long[] folderIds, int status, int start, int end); 2415 2416 /** 2417 * Returns an ordered range of all the bookmarks entries where groupId = ? and folderId = any ? and status ≠ ?. 2418 * 2419 * <p> 2420 * 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.BookmarksEntryModelImpl}. 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. 2421 * </p> 2422 * 2423 * @param groupId the group ID 2424 * @param folderIds the folder IDs 2425 * @param status the status 2426 * @param start the lower bound of the range of bookmarks entries 2427 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2428 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2429 * @return the ordered range of matching bookmarks entries 2430 */ 2431 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_NotS( 2432 long groupId, long[] folderIds, int status, int start, int end, 2433 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 2434 2435 /** 2436 * Removes all the bookmarks entries where groupId = ? and folderId = ? and status ≠ ? from the database. 2437 * 2438 * @param groupId the group ID 2439 * @param folderId the folder ID 2440 * @param status the status 2441 */ 2442 public void removeByG_F_NotS(long groupId, long folderId, int status); 2443 2444 /** 2445 * Returns the number of bookmarks entries where groupId = ? and folderId = ? and status ≠ ?. 2446 * 2447 * @param groupId the group ID 2448 * @param folderId the folder ID 2449 * @param status the status 2450 * @return the number of matching bookmarks entries 2451 */ 2452 public int countByG_F_NotS(long groupId, long folderId, int status); 2453 2454 /** 2455 * Returns the number of bookmarks entries where groupId = ? and folderId = any ? and status ≠ ?. 2456 * 2457 * @param groupId the group ID 2458 * @param folderIds the folder IDs 2459 * @param status the status 2460 * @return the number of matching bookmarks entries 2461 */ 2462 public int countByG_F_NotS(long groupId, long[] folderIds, int status); 2463 2464 /** 2465 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and folderId = ? and status ≠ ?. 2466 * 2467 * @param groupId the group ID 2468 * @param folderId the folder ID 2469 * @param status the status 2470 * @return the number of matching bookmarks entries that the user has permission to view 2471 */ 2472 public int filterCountByG_F_NotS(long groupId, long folderId, int status); 2473 2474 /** 2475 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and folderId = any ? and status ≠ ?. 2476 * 2477 * @param groupId the group ID 2478 * @param folderIds the folder IDs 2479 * @param status the status 2480 * @return the number of matching bookmarks entries that the user has permission to view 2481 */ 2482 public int filterCountByG_F_NotS(long groupId, long[] folderIds, int status); 2483 2484 /** 2485 * Returns all the bookmarks entries where groupId = ? and userId = ? and folderId = ? and status = ?. 2486 * 2487 * @param groupId the group ID 2488 * @param userId the user ID 2489 * @param folderId the folder ID 2490 * @param status the status 2491 * @return the matching bookmarks entries 2492 */ 2493 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_F_S( 2494 long groupId, long userId, long folderId, int status); 2495 2496 /** 2497 * Returns a range of all the bookmarks entries where groupId = ? and userId = ? and folderId = ? and status = ?. 2498 * 2499 * <p> 2500 * 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.BookmarksEntryModelImpl}. 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. 2501 * </p> 2502 * 2503 * @param groupId the group ID 2504 * @param userId the user ID 2505 * @param folderId the folder ID 2506 * @param status the status 2507 * @param start the lower bound of the range of bookmarks entries 2508 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2509 * @return the range of matching bookmarks entries 2510 */ 2511 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_F_S( 2512 long groupId, long userId, long folderId, int status, int start, int end); 2513 2514 /** 2515 * Returns an ordered range of all the bookmarks entries where groupId = ? and userId = ? and folderId = ? and status = ?. 2516 * 2517 * <p> 2518 * 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.BookmarksEntryModelImpl}. 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. 2519 * </p> 2520 * 2521 * @param groupId the group ID 2522 * @param userId the user ID 2523 * @param folderId the folder ID 2524 * @param status the status 2525 * @param start the lower bound of the range of bookmarks entries 2526 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2527 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2528 * @return the ordered range of matching bookmarks entries 2529 */ 2530 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_F_S( 2531 long groupId, long userId, long folderId, int status, int start, 2532 int end, 2533 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 2534 2535 /** 2536 * Returns the first bookmarks entry in the ordered set where groupId = ? and userId = ? and folderId = ? and status = ?. 2537 * 2538 * @param groupId the group ID 2539 * @param userId the user ID 2540 * @param folderId the folder ID 2541 * @param status the status 2542 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2543 * @return the first matching bookmarks entry 2544 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 2545 */ 2546 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_F_S_First( 2547 long groupId, long userId, long folderId, int status, 2548 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 2549 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 2550 2551 /** 2552 * Returns the first bookmarks entry in the ordered set where groupId = ? and userId = ? and folderId = ? and status = ?. 2553 * 2554 * @param groupId the group ID 2555 * @param userId the user ID 2556 * @param folderId the folder ID 2557 * @param status the status 2558 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2559 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 2560 */ 2561 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_U_F_S_First( 2562 long groupId, long userId, long folderId, int status, 2563 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 2564 2565 /** 2566 * Returns the last bookmarks entry in the ordered set where groupId = ? and userId = ? and folderId = ? and status = ?. 2567 * 2568 * @param groupId the group ID 2569 * @param userId the user ID 2570 * @param folderId the folder ID 2571 * @param status the status 2572 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2573 * @return the last matching bookmarks entry 2574 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 2575 */ 2576 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_F_S_Last( 2577 long groupId, long userId, long folderId, int status, 2578 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 2579 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 2580 2581 /** 2582 * Returns the last bookmarks entry in the ordered set where groupId = ? and userId = ? and folderId = ? and status = ?. 2583 * 2584 * @param groupId the group ID 2585 * @param userId the user ID 2586 * @param folderId the folder ID 2587 * @param status the status 2588 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2589 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 2590 */ 2591 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_U_F_S_Last( 2592 long groupId, long userId, long folderId, int status, 2593 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 2594 2595 /** 2596 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and userId = ? and folderId = ? and status = ?. 2597 * 2598 * @param entryId the primary key of the current bookmarks entry 2599 * @param groupId the group ID 2600 * @param userId the user ID 2601 * @param folderId the folder ID 2602 * @param status the status 2603 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2604 * @return the previous, current, and next bookmarks entry 2605 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 2606 */ 2607 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_U_F_S_PrevAndNext( 2608 long entryId, long groupId, long userId, long folderId, int status, 2609 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 2610 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 2611 2612 /** 2613 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and userId = ? and folderId = ? and status = ?. 2614 * 2615 * @param groupId the group ID 2616 * @param userId the user ID 2617 * @param folderId the folder ID 2618 * @param status the status 2619 * @return the matching bookmarks entries that the user has permission to view 2620 */ 2621 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_F_S( 2622 long groupId, long userId, long folderId, int status); 2623 2624 /** 2625 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and userId = ? and folderId = ? and status = ?. 2626 * 2627 * <p> 2628 * 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.BookmarksEntryModelImpl}. 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. 2629 * </p> 2630 * 2631 * @param groupId the group ID 2632 * @param userId the user ID 2633 * @param folderId the folder ID 2634 * @param status the status 2635 * @param start the lower bound of the range of bookmarks entries 2636 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2637 * @return the range of matching bookmarks entries that the user has permission to view 2638 */ 2639 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_F_S( 2640 long groupId, long userId, long folderId, int status, int start, int end); 2641 2642 /** 2643 * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ? and userId = ? and folderId = ? and status = ?. 2644 * 2645 * <p> 2646 * 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.BookmarksEntryModelImpl}. 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. 2647 * </p> 2648 * 2649 * @param groupId the group ID 2650 * @param userId the user ID 2651 * @param folderId the folder ID 2652 * @param status the status 2653 * @param start the lower bound of the range of bookmarks entries 2654 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2655 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2656 * @return the ordered range of matching bookmarks entries that the user has permission to view 2657 */ 2658 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_F_S( 2659 long groupId, long userId, long folderId, int status, int start, 2660 int end, 2661 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 2662 2663 /** 2664 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and userId = ? and folderId = ? and status = ?. 2665 * 2666 * @param entryId the primary key of the current bookmarks entry 2667 * @param groupId the group ID 2668 * @param userId the user ID 2669 * @param folderId the folder ID 2670 * @param status the status 2671 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2672 * @return the previous, current, and next bookmarks entry 2673 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 2674 */ 2675 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_U_F_S_PrevAndNext( 2676 long entryId, long groupId, long userId, long folderId, int status, 2677 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator) 2678 throws com.liferay.portlet.bookmarks.NoSuchEntryException; 2679 2680 /** 2681 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ? and status = ?. 2682 * 2683 * @param groupId the group ID 2684 * @param userId the user ID 2685 * @param folderIds the folder IDs 2686 * @param status the status 2687 * @return the matching bookmarks entries that the user has permission to view 2688 */ 2689 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_F_S( 2690 long groupId, long userId, long[] folderIds, int status); 2691 2692 /** 2693 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ? and status = ?. 2694 * 2695 * <p> 2696 * 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.BookmarksEntryModelImpl}. 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. 2697 * </p> 2698 * 2699 * @param groupId the group ID 2700 * @param userId the user ID 2701 * @param folderIds the folder IDs 2702 * @param status the status 2703 * @param start the lower bound of the range of bookmarks entries 2704 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2705 * @return the range of matching bookmarks entries that the user has permission to view 2706 */ 2707 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_F_S( 2708 long groupId, long userId, long[] folderIds, int status, int start, 2709 int end); 2710 2711 /** 2712 * Returns an ordered range of all the bookmarks entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ? and status = ?. 2713 * 2714 * <p> 2715 * 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.BookmarksEntryModelImpl}. 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. 2716 * </p> 2717 * 2718 * @param groupId the group ID 2719 * @param userId the user ID 2720 * @param folderIds the folder IDs 2721 * @param status the status 2722 * @param start the lower bound of the range of bookmarks entries 2723 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2724 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2725 * @return the ordered range of matching bookmarks entries that the user has permission to view 2726 */ 2727 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_F_S( 2728 long groupId, long userId, long[] folderIds, int status, int start, 2729 int end, 2730 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 2731 2732 /** 2733 * Returns all the bookmarks entries where groupId = ? and userId = ? and folderId = any ? and status = ?. 2734 * 2735 * <p> 2736 * 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.BookmarksEntryModelImpl}. 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. 2737 * </p> 2738 * 2739 * @param groupId the group ID 2740 * @param userId the user ID 2741 * @param folderIds the folder IDs 2742 * @param status the status 2743 * @return the matching bookmarks entries 2744 */ 2745 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_F_S( 2746 long groupId, long userId, long[] folderIds, int status); 2747 2748 /** 2749 * Returns a range of all the bookmarks entries where groupId = ? and userId = ? and folderId = any ? and status = ?. 2750 * 2751 * <p> 2752 * 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.BookmarksEntryModelImpl}. 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. 2753 * </p> 2754 * 2755 * @param groupId the group ID 2756 * @param userId the user ID 2757 * @param folderIds the folder IDs 2758 * @param status the status 2759 * @param start the lower bound of the range of bookmarks entries 2760 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2761 * @return the range of matching bookmarks entries 2762 */ 2763 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_F_S( 2764 long groupId, long userId, long[] folderIds, int status, int start, 2765 int end); 2766 2767 /** 2768 * Returns an ordered range of all the bookmarks entries where groupId = ? and userId = ? and folderId = any ? and status = ?. 2769 * 2770 * <p> 2771 * 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.BookmarksEntryModelImpl}. 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. 2772 * </p> 2773 * 2774 * @param groupId the group ID 2775 * @param userId the user ID 2776 * @param folderIds the folder IDs 2777 * @param status the status 2778 * @param start the lower bound of the range of bookmarks entries 2779 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2780 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2781 * @return the ordered range of matching bookmarks entries 2782 */ 2783 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_F_S( 2784 long groupId, long userId, long[] folderIds, int status, int start, 2785 int end, 2786 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 2787 2788 /** 2789 * Removes all the bookmarks entries where groupId = ? and userId = ? and folderId = ? and status = ? from the database. 2790 * 2791 * @param groupId the group ID 2792 * @param userId the user ID 2793 * @param folderId the folder ID 2794 * @param status the status 2795 */ 2796 public void removeByG_U_F_S(long groupId, long userId, long folderId, 2797 int status); 2798 2799 /** 2800 * Returns the number of bookmarks entries where groupId = ? and userId = ? and folderId = ? and status = ?. 2801 * 2802 * @param groupId the group ID 2803 * @param userId the user ID 2804 * @param folderId the folder ID 2805 * @param status the status 2806 * @return the number of matching bookmarks entries 2807 */ 2808 public int countByG_U_F_S(long groupId, long userId, long folderId, 2809 int status); 2810 2811 /** 2812 * Returns the number of bookmarks entries where groupId = ? and userId = ? and folderId = any ? and status = ?. 2813 * 2814 * @param groupId the group ID 2815 * @param userId the user ID 2816 * @param folderIds the folder IDs 2817 * @param status the status 2818 * @return the number of matching bookmarks entries 2819 */ 2820 public int countByG_U_F_S(long groupId, long userId, long[] folderIds, 2821 int status); 2822 2823 /** 2824 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and userId = ? and folderId = ? and status = ?. 2825 * 2826 * @param groupId the group ID 2827 * @param userId the user ID 2828 * @param folderId the folder ID 2829 * @param status the status 2830 * @return the number of matching bookmarks entries that the user has permission to view 2831 */ 2832 public int filterCountByG_U_F_S(long groupId, long userId, long folderId, 2833 int status); 2834 2835 /** 2836 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ? and status = ?. 2837 * 2838 * @param groupId the group ID 2839 * @param userId the user ID 2840 * @param folderIds the folder IDs 2841 * @param status the status 2842 * @return the number of matching bookmarks entries that the user has permission to view 2843 */ 2844 public int filterCountByG_U_F_S(long groupId, long userId, 2845 long[] folderIds, int status); 2846 2847 /** 2848 * Caches the bookmarks entry in the entity cache if it is enabled. 2849 * 2850 * @param bookmarksEntry the bookmarks entry 2851 */ 2852 public void cacheResult( 2853 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry); 2854 2855 /** 2856 * Caches the bookmarks entries in the entity cache if it is enabled. 2857 * 2858 * @param bookmarksEntries the bookmarks entries 2859 */ 2860 public void cacheResult( 2861 java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> bookmarksEntries); 2862 2863 /** 2864 * Creates a new bookmarks entry with the primary key. Does not add the bookmarks entry to the database. 2865 * 2866 * @param entryId the primary key for the new bookmarks entry 2867 * @return the new bookmarks entry 2868 */ 2869 public com.liferay.portlet.bookmarks.model.BookmarksEntry create( 2870 long entryId); 2871 2872 /** 2873 * Removes the bookmarks entry with the primary key from the database. Also notifies the appropriate model listeners. 2874 * 2875 * @param entryId the primary key of the bookmarks entry 2876 * @return the bookmarks entry that was removed 2877 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 2878 */ 2879 public com.liferay.portlet.bookmarks.model.BookmarksEntry remove( 2880 long entryId) throws com.liferay.portlet.bookmarks.NoSuchEntryException; 2881 2882 public com.liferay.portlet.bookmarks.model.BookmarksEntry updateImpl( 2883 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry); 2884 2885 /** 2886 * Returns the bookmarks entry with the primary key or throws a {@link com.liferay.portlet.bookmarks.NoSuchEntryException} if it could not be found. 2887 * 2888 * @param entryId the primary key of the bookmarks entry 2889 * @return the bookmarks entry 2890 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 2891 */ 2892 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByPrimaryKey( 2893 long entryId) throws com.liferay.portlet.bookmarks.NoSuchEntryException; 2894 2895 /** 2896 * Returns the bookmarks entry with the primary key or returns <code>null</code> if it could not be found. 2897 * 2898 * @param entryId the primary key of the bookmarks entry 2899 * @return the bookmarks entry, or <code>null</code> if a bookmarks entry with the primary key could not be found 2900 */ 2901 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByPrimaryKey( 2902 long entryId); 2903 2904 @Override 2905 public java.util.Map<java.io.Serializable, com.liferay.portlet.bookmarks.model.BookmarksEntry> fetchByPrimaryKeys( 2906 java.util.Set<java.io.Serializable> primaryKeys); 2907 2908 /** 2909 * Returns all the bookmarks entries. 2910 * 2911 * @return the bookmarks entries 2912 */ 2913 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll(); 2914 2915 /** 2916 * Returns a range of all the bookmarks entries. 2917 * 2918 * <p> 2919 * 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.BookmarksEntryModelImpl}. 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. 2920 * </p> 2921 * 2922 * @param start the lower bound of the range of bookmarks entries 2923 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2924 * @return the range of bookmarks entries 2925 */ 2926 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll( 2927 int start, int end); 2928 2929 /** 2930 * Returns an ordered range of all the bookmarks entries. 2931 * 2932 * <p> 2933 * 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.BookmarksEntryModelImpl}. 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. 2934 * </p> 2935 * 2936 * @param start the lower bound of the range of bookmarks entries 2937 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2938 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2939 * @return the ordered range of bookmarks entries 2940 */ 2941 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll( 2942 int start, int end, 2943 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.bookmarks.model.BookmarksEntry> orderByComparator); 2944 2945 /** 2946 * Removes all the bookmarks entries from the database. 2947 */ 2948 public void removeAll(); 2949 2950 /** 2951 * Returns the number of bookmarks entries. 2952 * 2953 * @return the number of bookmarks entries 2954 */ 2955 public int countAll(); 2956 }