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.documentlibrary.service.persistence; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil; 020 import com.liferay.portal.kernel.dao.orm.DynamicQuery; 021 import com.liferay.portal.kernel.util.OrderByComparator; 022 import com.liferay.portal.kernel.util.ReferenceRegistry; 023 import com.liferay.portal.service.ServiceContext; 024 025 import com.liferay.portlet.documentlibrary.model.DLFolder; 026 027 import java.util.List; 028 029 /** 030 * The persistence utility for the document library folder service. This utility wraps {@link DLFolderPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. 031 * 032 * <p> 033 * Caching information and settings can be found in <code>portal.properties</code> 034 * </p> 035 * 036 * @author Brian Wing Shun Chan 037 * @see DLFolderPersistence 038 * @see DLFolderPersistenceImpl 039 * @generated 040 */ 041 @ProviderType 042 public class DLFolderUtil { 043 /* 044 * NOTE FOR DEVELOPERS: 045 * 046 * Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class. 047 */ 048 049 /** 050 * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() 051 */ 052 public static void clearCache() { 053 getPersistence().clearCache(); 054 } 055 056 /** 057 * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) 058 */ 059 public static void clearCache(DLFolder dlFolder) { 060 getPersistence().clearCache(dlFolder); 061 } 062 063 /** 064 * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) 065 */ 066 public static long countWithDynamicQuery(DynamicQuery dynamicQuery) { 067 return getPersistence().countWithDynamicQuery(dynamicQuery); 068 } 069 070 /** 071 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) 072 */ 073 public static List<DLFolder> findWithDynamicQuery(DynamicQuery dynamicQuery) { 074 return getPersistence().findWithDynamicQuery(dynamicQuery); 075 } 076 077 /** 078 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) 079 */ 080 public static List<DLFolder> findWithDynamicQuery( 081 DynamicQuery dynamicQuery, int start, int end) { 082 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); 083 } 084 085 /** 086 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) 087 */ 088 public static List<DLFolder> findWithDynamicQuery( 089 DynamicQuery dynamicQuery, int start, int end, 090 OrderByComparator<DLFolder> orderByComparator) { 091 return getPersistence() 092 .findWithDynamicQuery(dynamicQuery, start, end, 093 orderByComparator); 094 } 095 096 /** 097 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) 098 */ 099 public static DLFolder update(DLFolder dlFolder) { 100 return getPersistence().update(dlFolder); 101 } 102 103 /** 104 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) 105 */ 106 public static DLFolder update(DLFolder dlFolder, 107 ServiceContext serviceContext) { 108 return getPersistence().update(dlFolder, serviceContext); 109 } 110 111 /** 112 * Returns all the document library folders where uuid = ?. 113 * 114 * @param uuid the uuid 115 * @return the matching document library folders 116 */ 117 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid( 118 java.lang.String uuid) { 119 return getPersistence().findByUuid(uuid); 120 } 121 122 /** 123 * Returns a range of all the document library folders where uuid = ?. 124 * 125 * <p> 126 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 127 * </p> 128 * 129 * @param uuid the uuid 130 * @param start the lower bound of the range of document library folders 131 * @param end the upper bound of the range of document library folders (not inclusive) 132 * @return the range of matching document library folders 133 */ 134 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid( 135 java.lang.String uuid, int start, int end) { 136 return getPersistence().findByUuid(uuid, start, end); 137 } 138 139 /** 140 * Returns an ordered range of all the document library folders where uuid = ?. 141 * 142 * <p> 143 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 144 * </p> 145 * 146 * @param uuid the uuid 147 * @param start the lower bound of the range of document library folders 148 * @param end the upper bound of the range of document library folders (not inclusive) 149 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 150 * @return the ordered range of matching document library folders 151 */ 152 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid( 153 java.lang.String uuid, int start, int end, 154 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 155 return getPersistence().findByUuid(uuid, start, end, orderByComparator); 156 } 157 158 /** 159 * Returns the first document library folder in the ordered set where uuid = ?. 160 * 161 * @param uuid the uuid 162 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 163 * @return the first matching document library folder 164 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 165 */ 166 public static com.liferay.portlet.documentlibrary.model.DLFolder findByUuid_First( 167 java.lang.String uuid, 168 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 169 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 170 return getPersistence().findByUuid_First(uuid, orderByComparator); 171 } 172 173 /** 174 * Returns the first document library folder in the ordered set where uuid = ?. 175 * 176 * @param uuid the uuid 177 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 178 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 179 */ 180 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByUuid_First( 181 java.lang.String uuid, 182 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 183 return getPersistence().fetchByUuid_First(uuid, orderByComparator); 184 } 185 186 /** 187 * Returns the last document library folder in the ordered set where uuid = ?. 188 * 189 * @param uuid the uuid 190 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 191 * @return the last matching document library folder 192 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 193 */ 194 public static com.liferay.portlet.documentlibrary.model.DLFolder findByUuid_Last( 195 java.lang.String uuid, 196 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 197 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 198 return getPersistence().findByUuid_Last(uuid, orderByComparator); 199 } 200 201 /** 202 * Returns the last document library folder in the ordered set where uuid = ?. 203 * 204 * @param uuid the uuid 205 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 206 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 207 */ 208 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByUuid_Last( 209 java.lang.String uuid, 210 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 211 return getPersistence().fetchByUuid_Last(uuid, orderByComparator); 212 } 213 214 /** 215 * Returns the document library folders before and after the current document library folder in the ordered set where uuid = ?. 216 * 217 * @param folderId the primary key of the current document library folder 218 * @param uuid the uuid 219 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 220 * @return the previous, current, and next document library folder 221 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 222 */ 223 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByUuid_PrevAndNext( 224 long folderId, java.lang.String uuid, 225 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 226 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 227 return getPersistence() 228 .findByUuid_PrevAndNext(folderId, uuid, orderByComparator); 229 } 230 231 /** 232 * Removes all the document library folders where uuid = ? from the database. 233 * 234 * @param uuid the uuid 235 */ 236 public static void removeByUuid(java.lang.String uuid) { 237 getPersistence().removeByUuid(uuid); 238 } 239 240 /** 241 * Returns the number of document library folders where uuid = ?. 242 * 243 * @param uuid the uuid 244 * @return the number of matching document library folders 245 */ 246 public static int countByUuid(java.lang.String uuid) { 247 return getPersistence().countByUuid(uuid); 248 } 249 250 /** 251 * Returns the document library folder where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFolderException} if it could not be found. 252 * 253 * @param uuid the uuid 254 * @param groupId the group ID 255 * @return the matching document library folder 256 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 257 */ 258 public static com.liferay.portlet.documentlibrary.model.DLFolder findByUUID_G( 259 java.lang.String uuid, long groupId) 260 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 261 return getPersistence().findByUUID_G(uuid, groupId); 262 } 263 264 /** 265 * Returns the document library folder where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 266 * 267 * @param uuid the uuid 268 * @param groupId the group ID 269 * @return the matching document library folder, or <code>null</code> if a matching document library folder could not be found 270 */ 271 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByUUID_G( 272 java.lang.String uuid, long groupId) { 273 return getPersistence().fetchByUUID_G(uuid, groupId); 274 } 275 276 /** 277 * Returns the document library folder where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 278 * 279 * @param uuid the uuid 280 * @param groupId the group ID 281 * @param retrieveFromCache whether to use the finder cache 282 * @return the matching document library folder, or <code>null</code> if a matching document library folder could not be found 283 */ 284 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByUUID_G( 285 java.lang.String uuid, long groupId, boolean retrieveFromCache) { 286 return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); 287 } 288 289 /** 290 * Removes the document library folder where uuid = ? and groupId = ? from the database. 291 * 292 * @param uuid the uuid 293 * @param groupId the group ID 294 * @return the document library folder that was removed 295 */ 296 public static com.liferay.portlet.documentlibrary.model.DLFolder removeByUUID_G( 297 java.lang.String uuid, long groupId) 298 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 299 return getPersistence().removeByUUID_G(uuid, groupId); 300 } 301 302 /** 303 * Returns the number of document library folders where uuid = ? and groupId = ?. 304 * 305 * @param uuid the uuid 306 * @param groupId the group ID 307 * @return the number of matching document library folders 308 */ 309 public static int countByUUID_G(java.lang.String uuid, long groupId) { 310 return getPersistence().countByUUID_G(uuid, groupId); 311 } 312 313 /** 314 * Returns all the document library folders where uuid = ? and companyId = ?. 315 * 316 * @param uuid the uuid 317 * @param companyId the company ID 318 * @return the matching document library folders 319 */ 320 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid_C( 321 java.lang.String uuid, long companyId) { 322 return getPersistence().findByUuid_C(uuid, companyId); 323 } 324 325 /** 326 * Returns a range of all the document library folders where uuid = ? and companyId = ?. 327 * 328 * <p> 329 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 330 * </p> 331 * 332 * @param uuid the uuid 333 * @param companyId the company ID 334 * @param start the lower bound of the range of document library folders 335 * @param end the upper bound of the range of document library folders (not inclusive) 336 * @return the range of matching document library folders 337 */ 338 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid_C( 339 java.lang.String uuid, long companyId, int start, int end) { 340 return getPersistence().findByUuid_C(uuid, companyId, start, end); 341 } 342 343 /** 344 * Returns an ordered range of all the document library folders where uuid = ? and companyId = ?. 345 * 346 * <p> 347 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 348 * </p> 349 * 350 * @param uuid the uuid 351 * @param companyId the company ID 352 * @param start the lower bound of the range of document library folders 353 * @param end the upper bound of the range of document library folders (not inclusive) 354 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 355 * @return the ordered range of matching document library folders 356 */ 357 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid_C( 358 java.lang.String uuid, long companyId, int start, int end, 359 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 360 return getPersistence() 361 .findByUuid_C(uuid, companyId, start, end, orderByComparator); 362 } 363 364 /** 365 * Returns the first document library folder in the ordered set where uuid = ? and companyId = ?. 366 * 367 * @param uuid the uuid 368 * @param companyId the company ID 369 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 370 * @return the first matching document library folder 371 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 372 */ 373 public static com.liferay.portlet.documentlibrary.model.DLFolder findByUuid_C_First( 374 java.lang.String uuid, long companyId, 375 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 376 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 377 return getPersistence() 378 .findByUuid_C_First(uuid, companyId, orderByComparator); 379 } 380 381 /** 382 * Returns the first document library folder in the ordered set where uuid = ? and companyId = ?. 383 * 384 * @param uuid the uuid 385 * @param companyId the company ID 386 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 387 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 388 */ 389 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByUuid_C_First( 390 java.lang.String uuid, long companyId, 391 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 392 return getPersistence() 393 .fetchByUuid_C_First(uuid, companyId, orderByComparator); 394 } 395 396 /** 397 * Returns the last document library folder in the ordered set where uuid = ? and companyId = ?. 398 * 399 * @param uuid the uuid 400 * @param companyId the company ID 401 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 402 * @return the last matching document library folder 403 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 404 */ 405 public static com.liferay.portlet.documentlibrary.model.DLFolder findByUuid_C_Last( 406 java.lang.String uuid, long companyId, 407 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 408 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 409 return getPersistence() 410 .findByUuid_C_Last(uuid, companyId, orderByComparator); 411 } 412 413 /** 414 * Returns the last document library folder in the ordered set where uuid = ? and companyId = ?. 415 * 416 * @param uuid the uuid 417 * @param companyId the company ID 418 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 419 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 420 */ 421 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByUuid_C_Last( 422 java.lang.String uuid, long companyId, 423 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 424 return getPersistence() 425 .fetchByUuid_C_Last(uuid, companyId, orderByComparator); 426 } 427 428 /** 429 * Returns the document library folders before and after the current document library folder in the ordered set where uuid = ? and companyId = ?. 430 * 431 * @param folderId the primary key of the current document library folder 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 document library folder 436 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 437 */ 438 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByUuid_C_PrevAndNext( 439 long folderId, java.lang.String uuid, long companyId, 440 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 441 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 442 return getPersistence() 443 .findByUuid_C_PrevAndNext(folderId, uuid, companyId, 444 orderByComparator); 445 } 446 447 /** 448 * Removes all the document library folders where uuid = ? and companyId = ? from the database. 449 * 450 * @param uuid the uuid 451 * @param companyId the company ID 452 */ 453 public static void removeByUuid_C(java.lang.String uuid, long companyId) { 454 getPersistence().removeByUuid_C(uuid, companyId); 455 } 456 457 /** 458 * Returns the number of document library folders where uuid = ? and companyId = ?. 459 * 460 * @param uuid the uuid 461 * @param companyId the company ID 462 * @return the number of matching document library folders 463 */ 464 public static int countByUuid_C(java.lang.String uuid, long companyId) { 465 return getPersistence().countByUuid_C(uuid, companyId); 466 } 467 468 /** 469 * Returns all the document library folders where groupId = ?. 470 * 471 * @param groupId the group ID 472 * @return the matching document library folders 473 */ 474 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByGroupId( 475 long groupId) { 476 return getPersistence().findByGroupId(groupId); 477 } 478 479 /** 480 * Returns a range of all the document library folders where groupId = ?. 481 * 482 * <p> 483 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 484 * </p> 485 * 486 * @param groupId the group ID 487 * @param start the lower bound of the range of document library folders 488 * @param end the upper bound of the range of document library folders (not inclusive) 489 * @return the range of matching document library folders 490 */ 491 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByGroupId( 492 long groupId, int start, int end) { 493 return getPersistence().findByGroupId(groupId, start, end); 494 } 495 496 /** 497 * Returns an ordered range of all the document library folders where groupId = ?. 498 * 499 * <p> 500 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 501 * </p> 502 * 503 * @param groupId the group ID 504 * @param start the lower bound of the range of document library folders 505 * @param end the upper bound of the range of document library folders (not inclusive) 506 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 507 * @return the ordered range of matching document library folders 508 */ 509 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByGroupId( 510 long groupId, int start, int end, 511 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 512 return getPersistence() 513 .findByGroupId(groupId, start, end, orderByComparator); 514 } 515 516 /** 517 * Returns the first document library folder in the ordered set where groupId = ?. 518 * 519 * @param groupId the group ID 520 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 521 * @return the first matching document library folder 522 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 523 */ 524 public static com.liferay.portlet.documentlibrary.model.DLFolder findByGroupId_First( 525 long groupId, 526 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 527 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 528 return getPersistence().findByGroupId_First(groupId, orderByComparator); 529 } 530 531 /** 532 * Returns the first document library folder in the ordered set where groupId = ?. 533 * 534 * @param groupId the group ID 535 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 536 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 537 */ 538 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByGroupId_First( 539 long groupId, 540 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 541 return getPersistence().fetchByGroupId_First(groupId, orderByComparator); 542 } 543 544 /** 545 * Returns the last document library folder in the ordered set where groupId = ?. 546 * 547 * @param groupId the group ID 548 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 549 * @return the last matching document library folder 550 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 551 */ 552 public static com.liferay.portlet.documentlibrary.model.DLFolder findByGroupId_Last( 553 long groupId, 554 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 555 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 556 return getPersistence().findByGroupId_Last(groupId, orderByComparator); 557 } 558 559 /** 560 * Returns the last document library folder in the ordered set where groupId = ?. 561 * 562 * @param groupId the group ID 563 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 564 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 565 */ 566 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByGroupId_Last( 567 long groupId, 568 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 569 return getPersistence().fetchByGroupId_Last(groupId, orderByComparator); 570 } 571 572 /** 573 * Returns the document library folders before and after the current document library folder in the ordered set where groupId = ?. 574 * 575 * @param folderId the primary key of the current document library folder 576 * @param groupId the group ID 577 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 578 * @return the previous, current, and next document library folder 579 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 580 */ 581 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByGroupId_PrevAndNext( 582 long folderId, long groupId, 583 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 584 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 585 return getPersistence() 586 .findByGroupId_PrevAndNext(folderId, groupId, 587 orderByComparator); 588 } 589 590 /** 591 * Returns all the document library folders that the user has permission to view where groupId = ?. 592 * 593 * @param groupId the group ID 594 * @return the matching document library folders that the user has permission to view 595 */ 596 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByGroupId( 597 long groupId) { 598 return getPersistence().filterFindByGroupId(groupId); 599 } 600 601 /** 602 * Returns a range of all the document library folders that the user has permission to view where groupId = ?. 603 * 604 * <p> 605 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 606 * </p> 607 * 608 * @param groupId the group ID 609 * @param start the lower bound of the range of document library folders 610 * @param end the upper bound of the range of document library folders (not inclusive) 611 * @return the range of matching document library folders that the user has permission to view 612 */ 613 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByGroupId( 614 long groupId, int start, int end) { 615 return getPersistence().filterFindByGroupId(groupId, start, end); 616 } 617 618 /** 619 * Returns an ordered range of all the document library folders that the user has permissions to view where groupId = ?. 620 * 621 * <p> 622 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 623 * </p> 624 * 625 * @param groupId the group ID 626 * @param start the lower bound of the range of document library folders 627 * @param end the upper bound of the range of document library folders (not inclusive) 628 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 629 * @return the ordered range of matching document library folders that the user has permission to view 630 */ 631 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByGroupId( 632 long groupId, int start, int end, 633 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 634 return getPersistence() 635 .filterFindByGroupId(groupId, start, end, orderByComparator); 636 } 637 638 /** 639 * Returns the document library folders before and after the current document library folder in the ordered set of document library folders that the user has permission to view where groupId = ?. 640 * 641 * @param folderId the primary key of the current document library folder 642 * @param groupId the group ID 643 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 644 * @return the previous, current, and next document library folder 645 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 646 */ 647 public static com.liferay.portlet.documentlibrary.model.DLFolder[] filterFindByGroupId_PrevAndNext( 648 long folderId, long groupId, 649 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 650 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 651 return getPersistence() 652 .filterFindByGroupId_PrevAndNext(folderId, groupId, 653 orderByComparator); 654 } 655 656 /** 657 * Removes all the document library folders where groupId = ? from the database. 658 * 659 * @param groupId the group ID 660 */ 661 public static void removeByGroupId(long groupId) { 662 getPersistence().removeByGroupId(groupId); 663 } 664 665 /** 666 * Returns the number of document library folders where groupId = ?. 667 * 668 * @param groupId the group ID 669 * @return the number of matching document library folders 670 */ 671 public static int countByGroupId(long groupId) { 672 return getPersistence().countByGroupId(groupId); 673 } 674 675 /** 676 * Returns the number of document library folders that the user has permission to view where groupId = ?. 677 * 678 * @param groupId the group ID 679 * @return the number of matching document library folders that the user has permission to view 680 */ 681 public static int filterCountByGroupId(long groupId) { 682 return getPersistence().filterCountByGroupId(groupId); 683 } 684 685 /** 686 * Returns all the document library folders where companyId = ?. 687 * 688 * @param companyId the company ID 689 * @return the matching document library folders 690 */ 691 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId( 692 long companyId) { 693 return getPersistence().findByCompanyId(companyId); 694 } 695 696 /** 697 * Returns a range of all the document library folders where companyId = ?. 698 * 699 * <p> 700 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 701 * </p> 702 * 703 * @param companyId the company ID 704 * @param start the lower bound of the range of document library folders 705 * @param end the upper bound of the range of document library folders (not inclusive) 706 * @return the range of matching document library folders 707 */ 708 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId( 709 long companyId, int start, int end) { 710 return getPersistence().findByCompanyId(companyId, start, end); 711 } 712 713 /** 714 * Returns an ordered range of all the document library folders where companyId = ?. 715 * 716 * <p> 717 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 718 * </p> 719 * 720 * @param companyId the company ID 721 * @param start the lower bound of the range of document library folders 722 * @param end the upper bound of the range of document library folders (not inclusive) 723 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 724 * @return the ordered range of matching document library folders 725 */ 726 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId( 727 long companyId, int start, int end, 728 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 729 return getPersistence() 730 .findByCompanyId(companyId, start, end, orderByComparator); 731 } 732 733 /** 734 * Returns the first document library folder in the ordered set where companyId = ?. 735 * 736 * @param companyId the company ID 737 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 738 * @return the first matching document library folder 739 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 740 */ 741 public static com.liferay.portlet.documentlibrary.model.DLFolder findByCompanyId_First( 742 long companyId, 743 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 744 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 745 return getPersistence() 746 .findByCompanyId_First(companyId, orderByComparator); 747 } 748 749 /** 750 * Returns the first document library folder in the ordered set where companyId = ?. 751 * 752 * @param companyId the company ID 753 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 754 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 755 */ 756 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByCompanyId_First( 757 long companyId, 758 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 759 return getPersistence() 760 .fetchByCompanyId_First(companyId, orderByComparator); 761 } 762 763 /** 764 * Returns the last document library folder in the ordered set where companyId = ?. 765 * 766 * @param companyId the company ID 767 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 768 * @return the last matching document library folder 769 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 770 */ 771 public static com.liferay.portlet.documentlibrary.model.DLFolder findByCompanyId_Last( 772 long companyId, 773 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 774 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 775 return getPersistence() 776 .findByCompanyId_Last(companyId, orderByComparator); 777 } 778 779 /** 780 * Returns the last document library folder in the ordered set where companyId = ?. 781 * 782 * @param companyId the company ID 783 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 784 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 785 */ 786 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByCompanyId_Last( 787 long companyId, 788 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 789 return getPersistence() 790 .fetchByCompanyId_Last(companyId, orderByComparator); 791 } 792 793 /** 794 * Returns the document library folders before and after the current document library folder in the ordered set where companyId = ?. 795 * 796 * @param folderId the primary key of the current document library folder 797 * @param companyId the company ID 798 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 799 * @return the previous, current, and next document library folder 800 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 801 */ 802 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByCompanyId_PrevAndNext( 803 long folderId, long companyId, 804 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 805 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 806 return getPersistence() 807 .findByCompanyId_PrevAndNext(folderId, companyId, 808 orderByComparator); 809 } 810 811 /** 812 * Removes all the document library folders where companyId = ? from the database. 813 * 814 * @param companyId the company ID 815 */ 816 public static void removeByCompanyId(long companyId) { 817 getPersistence().removeByCompanyId(companyId); 818 } 819 820 /** 821 * Returns the number of document library folders where companyId = ?. 822 * 823 * @param companyId the company ID 824 * @return the number of matching document library folders 825 */ 826 public static int countByCompanyId(long companyId) { 827 return getPersistence().countByCompanyId(companyId); 828 } 829 830 /** 831 * Returns all the document library folders where repositoryId = ?. 832 * 833 * @param repositoryId the repository ID 834 * @return the matching document library folders 835 */ 836 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByRepositoryId( 837 long repositoryId) { 838 return getPersistence().findByRepositoryId(repositoryId); 839 } 840 841 /** 842 * Returns a range of all the document library folders where repositoryId = ?. 843 * 844 * <p> 845 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 846 * </p> 847 * 848 * @param repositoryId the repository ID 849 * @param start the lower bound of the range of document library folders 850 * @param end the upper bound of the range of document library folders (not inclusive) 851 * @return the range of matching document library folders 852 */ 853 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByRepositoryId( 854 long repositoryId, int start, int end) { 855 return getPersistence().findByRepositoryId(repositoryId, start, end); 856 } 857 858 /** 859 * Returns an ordered range of all the document library folders where repositoryId = ?. 860 * 861 * <p> 862 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 863 * </p> 864 * 865 * @param repositoryId the repository ID 866 * @param start the lower bound of the range of document library folders 867 * @param end the upper bound of the range of document library folders (not inclusive) 868 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 869 * @return the ordered range of matching document library folders 870 */ 871 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByRepositoryId( 872 long repositoryId, int start, int end, 873 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 874 return getPersistence() 875 .findByRepositoryId(repositoryId, start, end, 876 orderByComparator); 877 } 878 879 /** 880 * Returns the first document library folder in the ordered set where repositoryId = ?. 881 * 882 * @param repositoryId the repository ID 883 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 884 * @return the first matching document library folder 885 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 886 */ 887 public static com.liferay.portlet.documentlibrary.model.DLFolder findByRepositoryId_First( 888 long repositoryId, 889 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 890 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 891 return getPersistence() 892 .findByRepositoryId_First(repositoryId, orderByComparator); 893 } 894 895 /** 896 * Returns the first document library folder in the ordered set where repositoryId = ?. 897 * 898 * @param repositoryId the repository ID 899 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 900 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 901 */ 902 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByRepositoryId_First( 903 long repositoryId, 904 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 905 return getPersistence() 906 .fetchByRepositoryId_First(repositoryId, orderByComparator); 907 } 908 909 /** 910 * Returns the last document library folder in the ordered set where repositoryId = ?. 911 * 912 * @param repositoryId the repository ID 913 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 914 * @return the last matching document library folder 915 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 916 */ 917 public static com.liferay.portlet.documentlibrary.model.DLFolder findByRepositoryId_Last( 918 long repositoryId, 919 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 920 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 921 return getPersistence() 922 .findByRepositoryId_Last(repositoryId, orderByComparator); 923 } 924 925 /** 926 * Returns the last document library folder in the ordered set where repositoryId = ?. 927 * 928 * @param repositoryId the repository ID 929 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 930 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 931 */ 932 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByRepositoryId_Last( 933 long repositoryId, 934 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 935 return getPersistence() 936 .fetchByRepositoryId_Last(repositoryId, orderByComparator); 937 } 938 939 /** 940 * Returns the document library folders before and after the current document library folder in the ordered set where repositoryId = ?. 941 * 942 * @param folderId the primary key of the current document library folder 943 * @param repositoryId the repository ID 944 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 945 * @return the previous, current, and next document library folder 946 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 947 */ 948 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByRepositoryId_PrevAndNext( 949 long folderId, long repositoryId, 950 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 951 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 952 return getPersistence() 953 .findByRepositoryId_PrevAndNext(folderId, repositoryId, 954 orderByComparator); 955 } 956 957 /** 958 * Removes all the document library folders where repositoryId = ? from the database. 959 * 960 * @param repositoryId the repository ID 961 */ 962 public static void removeByRepositoryId(long repositoryId) { 963 getPersistence().removeByRepositoryId(repositoryId); 964 } 965 966 /** 967 * Returns the number of document library folders where repositoryId = ?. 968 * 969 * @param repositoryId the repository ID 970 * @return the number of matching document library folders 971 */ 972 public static int countByRepositoryId(long repositoryId) { 973 return getPersistence().countByRepositoryId(repositoryId); 974 } 975 976 /** 977 * Returns all the document library folders where groupId = ? and parentFolderId = ?. 978 * 979 * @param groupId the group ID 980 * @param parentFolderId the parent folder ID 981 * @return the matching document library folders 982 */ 983 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P( 984 long groupId, long parentFolderId) { 985 return getPersistence().findByG_P(groupId, parentFolderId); 986 } 987 988 /** 989 * Returns a range of all the document library folders where groupId = ? and parentFolderId = ?. 990 * 991 * <p> 992 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 993 * </p> 994 * 995 * @param groupId the group ID 996 * @param parentFolderId the parent folder ID 997 * @param start the lower bound of the range of document library folders 998 * @param end the upper bound of the range of document library folders (not inclusive) 999 * @return the range of matching document library folders 1000 */ 1001 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P( 1002 long groupId, long parentFolderId, int start, int end) { 1003 return getPersistence().findByG_P(groupId, parentFolderId, start, end); 1004 } 1005 1006 /** 1007 * Returns an ordered range of all the document library folders where groupId = ? and parentFolderId = ?. 1008 * 1009 * <p> 1010 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 1011 * </p> 1012 * 1013 * @param groupId the group ID 1014 * @param parentFolderId the parent folder ID 1015 * @param start the lower bound of the range of document library folders 1016 * @param end the upper bound of the range of document library folders (not inclusive) 1017 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1018 * @return the ordered range of matching document library folders 1019 */ 1020 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P( 1021 long groupId, long parentFolderId, int start, int end, 1022 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 1023 return getPersistence() 1024 .findByG_P(groupId, parentFolderId, start, end, 1025 orderByComparator); 1026 } 1027 1028 /** 1029 * Returns the first document library folder in the ordered set where groupId = ? and parentFolderId = ?. 1030 * 1031 * @param groupId the group ID 1032 * @param parentFolderId the parent folder ID 1033 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1034 * @return the first matching document library folder 1035 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1036 */ 1037 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_First( 1038 long groupId, long parentFolderId, 1039 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1040 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 1041 return getPersistence() 1042 .findByG_P_First(groupId, parentFolderId, orderByComparator); 1043 } 1044 1045 /** 1046 * Returns the first document library folder in the ordered set where groupId = ? and parentFolderId = ?. 1047 * 1048 * @param groupId the group ID 1049 * @param parentFolderId the parent folder ID 1050 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1051 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 1052 */ 1053 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_First( 1054 long groupId, long parentFolderId, 1055 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 1056 return getPersistence() 1057 .fetchByG_P_First(groupId, parentFolderId, orderByComparator); 1058 } 1059 1060 /** 1061 * Returns the last document library folder in the ordered set where groupId = ? and parentFolderId = ?. 1062 * 1063 * @param groupId the group ID 1064 * @param parentFolderId the parent folder ID 1065 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1066 * @return the last matching document library folder 1067 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1068 */ 1069 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_Last( 1070 long groupId, long parentFolderId, 1071 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1072 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 1073 return getPersistence() 1074 .findByG_P_Last(groupId, parentFolderId, orderByComparator); 1075 } 1076 1077 /** 1078 * Returns the last document library folder in the ordered set where groupId = ? and parentFolderId = ?. 1079 * 1080 * @param groupId the group ID 1081 * @param parentFolderId the parent folder ID 1082 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1083 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 1084 */ 1085 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_Last( 1086 long groupId, long parentFolderId, 1087 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 1088 return getPersistence() 1089 .fetchByG_P_Last(groupId, parentFolderId, orderByComparator); 1090 } 1091 1092 /** 1093 * Returns the document library folders before and after the current document library folder in the ordered set where groupId = ? and parentFolderId = ?. 1094 * 1095 * @param folderId the primary key of the current document library folder 1096 * @param groupId the group ID 1097 * @param parentFolderId the parent folder ID 1098 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1099 * @return the previous, current, and next document library folder 1100 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 1101 */ 1102 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByG_P_PrevAndNext( 1103 long folderId, long groupId, long parentFolderId, 1104 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1105 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 1106 return getPersistence() 1107 .findByG_P_PrevAndNext(folderId, groupId, parentFolderId, 1108 orderByComparator); 1109 } 1110 1111 /** 1112 * Returns all the document library folders that the user has permission to view where groupId = ? and parentFolderId = ?. 1113 * 1114 * @param groupId the group ID 1115 * @param parentFolderId the parent folder ID 1116 * @return the matching document library folders that the user has permission to view 1117 */ 1118 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P( 1119 long groupId, long parentFolderId) { 1120 return getPersistence().filterFindByG_P(groupId, parentFolderId); 1121 } 1122 1123 /** 1124 * Returns a range of all the document library folders that the user has permission to view where groupId = ? and parentFolderId = ?. 1125 * 1126 * <p> 1127 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 1128 * </p> 1129 * 1130 * @param groupId the group ID 1131 * @param parentFolderId the parent folder ID 1132 * @param start the lower bound of the range of document library folders 1133 * @param end the upper bound of the range of document library folders (not inclusive) 1134 * @return the range of matching document library folders that the user has permission to view 1135 */ 1136 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P( 1137 long groupId, long parentFolderId, int start, int end) { 1138 return getPersistence() 1139 .filterFindByG_P(groupId, parentFolderId, start, end); 1140 } 1141 1142 /** 1143 * Returns an ordered range of all the document library folders that the user has permissions to view where groupId = ? and parentFolderId = ?. 1144 * 1145 * <p> 1146 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 1147 * </p> 1148 * 1149 * @param groupId the group ID 1150 * @param parentFolderId the parent folder ID 1151 * @param start the lower bound of the range of document library folders 1152 * @param end the upper bound of the range of document library folders (not inclusive) 1153 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1154 * @return the ordered range of matching document library folders that the user has permission to view 1155 */ 1156 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P( 1157 long groupId, long parentFolderId, int start, int end, 1158 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 1159 return getPersistence() 1160 .filterFindByG_P(groupId, parentFolderId, start, end, 1161 orderByComparator); 1162 } 1163 1164 /** 1165 * Returns the document library folders before and after the current document library folder in the ordered set of document library folders that the user has permission to view where groupId = ? and parentFolderId = ?. 1166 * 1167 * @param folderId the primary key of the current document library folder 1168 * @param groupId the group ID 1169 * @param parentFolderId the parent folder ID 1170 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1171 * @return the previous, current, and next document library folder 1172 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 1173 */ 1174 public static com.liferay.portlet.documentlibrary.model.DLFolder[] filterFindByG_P_PrevAndNext( 1175 long folderId, long groupId, long parentFolderId, 1176 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1177 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 1178 return getPersistence() 1179 .filterFindByG_P_PrevAndNext(folderId, groupId, 1180 parentFolderId, orderByComparator); 1181 } 1182 1183 /** 1184 * Removes all the document library folders where groupId = ? and parentFolderId = ? from the database. 1185 * 1186 * @param groupId the group ID 1187 * @param parentFolderId the parent folder ID 1188 */ 1189 public static void removeByG_P(long groupId, long parentFolderId) { 1190 getPersistence().removeByG_P(groupId, parentFolderId); 1191 } 1192 1193 /** 1194 * Returns the number of document library folders where groupId = ? and parentFolderId = ?. 1195 * 1196 * @param groupId the group ID 1197 * @param parentFolderId the parent folder ID 1198 * @return the number of matching document library folders 1199 */ 1200 public static int countByG_P(long groupId, long parentFolderId) { 1201 return getPersistence().countByG_P(groupId, parentFolderId); 1202 } 1203 1204 /** 1205 * Returns the number of document library folders that the user has permission to view where groupId = ? and parentFolderId = ?. 1206 * 1207 * @param groupId the group ID 1208 * @param parentFolderId the parent folder ID 1209 * @return the number of matching document library folders that the user has permission to view 1210 */ 1211 public static int filterCountByG_P(long groupId, long parentFolderId) { 1212 return getPersistence().filterCountByG_P(groupId, parentFolderId); 1213 } 1214 1215 /** 1216 * Returns all the document library folders where companyId = ? and status ≠ ?. 1217 * 1218 * @param companyId the company ID 1219 * @param status the status 1220 * @return the matching document library folders 1221 */ 1222 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByC_NotS( 1223 long companyId, int status) { 1224 return getPersistence().findByC_NotS(companyId, status); 1225 } 1226 1227 /** 1228 * Returns a range of all the document library folders where companyId = ? and status ≠ ?. 1229 * 1230 * <p> 1231 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 1232 * </p> 1233 * 1234 * @param companyId the company ID 1235 * @param status the status 1236 * @param start the lower bound of the range of document library folders 1237 * @param end the upper bound of the range of document library folders (not inclusive) 1238 * @return the range of matching document library folders 1239 */ 1240 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByC_NotS( 1241 long companyId, int status, int start, int end) { 1242 return getPersistence().findByC_NotS(companyId, status, start, end); 1243 } 1244 1245 /** 1246 * Returns an ordered range of all the document library folders where companyId = ? and status ≠ ?. 1247 * 1248 * <p> 1249 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 1250 * </p> 1251 * 1252 * @param companyId the company ID 1253 * @param status the status 1254 * @param start the lower bound of the range of document library folders 1255 * @param end the upper bound of the range of document library folders (not inclusive) 1256 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1257 * @return the ordered range of matching document library folders 1258 */ 1259 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByC_NotS( 1260 long companyId, int status, int start, int end, 1261 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 1262 return getPersistence() 1263 .findByC_NotS(companyId, status, start, end, 1264 orderByComparator); 1265 } 1266 1267 /** 1268 * Returns the first document library folder in the ordered set where companyId = ? and status ≠ ?. 1269 * 1270 * @param companyId the company ID 1271 * @param status the status 1272 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1273 * @return the first matching document library folder 1274 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1275 */ 1276 public static com.liferay.portlet.documentlibrary.model.DLFolder findByC_NotS_First( 1277 long companyId, int status, 1278 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1279 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 1280 return getPersistence() 1281 .findByC_NotS_First(companyId, status, orderByComparator); 1282 } 1283 1284 /** 1285 * Returns the first document library folder in the ordered set where companyId = ? and status ≠ ?. 1286 * 1287 * @param companyId the company ID 1288 * @param status the status 1289 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1290 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 1291 */ 1292 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByC_NotS_First( 1293 long companyId, int status, 1294 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 1295 return getPersistence() 1296 .fetchByC_NotS_First(companyId, status, orderByComparator); 1297 } 1298 1299 /** 1300 * Returns the last document library folder in the ordered set where companyId = ? and status ≠ ?. 1301 * 1302 * @param companyId the company ID 1303 * @param status the status 1304 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1305 * @return the last matching document library folder 1306 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1307 */ 1308 public static com.liferay.portlet.documentlibrary.model.DLFolder findByC_NotS_Last( 1309 long companyId, int status, 1310 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1311 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 1312 return getPersistence() 1313 .findByC_NotS_Last(companyId, status, orderByComparator); 1314 } 1315 1316 /** 1317 * Returns the last document library folder in the ordered set where companyId = ? and status ≠ ?. 1318 * 1319 * @param companyId the company ID 1320 * @param status the status 1321 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1322 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 1323 */ 1324 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByC_NotS_Last( 1325 long companyId, int status, 1326 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 1327 return getPersistence() 1328 .fetchByC_NotS_Last(companyId, status, orderByComparator); 1329 } 1330 1331 /** 1332 * Returns the document library folders before and after the current document library folder in the ordered set where companyId = ? and status ≠ ?. 1333 * 1334 * @param folderId the primary key of the current document library folder 1335 * @param companyId the company ID 1336 * @param status the status 1337 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1338 * @return the previous, current, and next document library folder 1339 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 1340 */ 1341 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByC_NotS_PrevAndNext( 1342 long folderId, long companyId, int status, 1343 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1344 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 1345 return getPersistence() 1346 .findByC_NotS_PrevAndNext(folderId, companyId, status, 1347 orderByComparator); 1348 } 1349 1350 /** 1351 * Removes all the document library folders where companyId = ? and status ≠ ? from the database. 1352 * 1353 * @param companyId the company ID 1354 * @param status the status 1355 */ 1356 public static void removeByC_NotS(long companyId, int status) { 1357 getPersistence().removeByC_NotS(companyId, status); 1358 } 1359 1360 /** 1361 * Returns the number of document library folders where companyId = ? and status ≠ ?. 1362 * 1363 * @param companyId the company ID 1364 * @param status the status 1365 * @return the number of matching document library folders 1366 */ 1367 public static int countByC_NotS(long companyId, int status) { 1368 return getPersistence().countByC_NotS(companyId, status); 1369 } 1370 1371 /** 1372 * Returns the document library folder where repositoryId = ? and mountPoint = ? or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFolderException} if it could not be found. 1373 * 1374 * @param repositoryId the repository ID 1375 * @param mountPoint the mount point 1376 * @return the matching document library folder 1377 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1378 */ 1379 public static com.liferay.portlet.documentlibrary.model.DLFolder findByR_M( 1380 long repositoryId, boolean mountPoint) 1381 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 1382 return getPersistence().findByR_M(repositoryId, mountPoint); 1383 } 1384 1385 /** 1386 * Returns the document library folder where repositoryId = ? and mountPoint = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 1387 * 1388 * @param repositoryId the repository ID 1389 * @param mountPoint the mount point 1390 * @return the matching document library folder, or <code>null</code> if a matching document library folder could not be found 1391 */ 1392 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByR_M( 1393 long repositoryId, boolean mountPoint) { 1394 return getPersistence().fetchByR_M(repositoryId, mountPoint); 1395 } 1396 1397 /** 1398 * Returns the document library folder where repositoryId = ? and mountPoint = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 1399 * 1400 * @param repositoryId the repository ID 1401 * @param mountPoint the mount point 1402 * @param retrieveFromCache whether to use the finder cache 1403 * @return the matching document library folder, or <code>null</code> if a matching document library folder could not be found 1404 */ 1405 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByR_M( 1406 long repositoryId, boolean mountPoint, boolean retrieveFromCache) { 1407 return getPersistence() 1408 .fetchByR_M(repositoryId, mountPoint, retrieveFromCache); 1409 } 1410 1411 /** 1412 * Removes the document library folder where repositoryId = ? and mountPoint = ? from the database. 1413 * 1414 * @param repositoryId the repository ID 1415 * @param mountPoint the mount point 1416 * @return the document library folder that was removed 1417 */ 1418 public static com.liferay.portlet.documentlibrary.model.DLFolder removeByR_M( 1419 long repositoryId, boolean mountPoint) 1420 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 1421 return getPersistence().removeByR_M(repositoryId, mountPoint); 1422 } 1423 1424 /** 1425 * Returns the number of document library folders where repositoryId = ? and mountPoint = ?. 1426 * 1427 * @param repositoryId the repository ID 1428 * @param mountPoint the mount point 1429 * @return the number of matching document library folders 1430 */ 1431 public static int countByR_M(long repositoryId, boolean mountPoint) { 1432 return getPersistence().countByR_M(repositoryId, mountPoint); 1433 } 1434 1435 /** 1436 * Returns all the document library folders where repositoryId = ? and parentFolderId = ?. 1437 * 1438 * @param repositoryId the repository ID 1439 * @param parentFolderId the parent folder ID 1440 * @return the matching document library folders 1441 */ 1442 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByR_P( 1443 long repositoryId, long parentFolderId) { 1444 return getPersistence().findByR_P(repositoryId, parentFolderId); 1445 } 1446 1447 /** 1448 * Returns a range of all the document library folders where repositoryId = ? and parentFolderId = ?. 1449 * 1450 * <p> 1451 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 1452 * </p> 1453 * 1454 * @param repositoryId the repository ID 1455 * @param parentFolderId the parent folder ID 1456 * @param start the lower bound of the range of document library folders 1457 * @param end the upper bound of the range of document library folders (not inclusive) 1458 * @return the range of matching document library folders 1459 */ 1460 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByR_P( 1461 long repositoryId, long parentFolderId, int start, int end) { 1462 return getPersistence() 1463 .findByR_P(repositoryId, parentFolderId, start, end); 1464 } 1465 1466 /** 1467 * Returns an ordered range of all the document library folders where repositoryId = ? and parentFolderId = ?. 1468 * 1469 * <p> 1470 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 1471 * </p> 1472 * 1473 * @param repositoryId the repository ID 1474 * @param parentFolderId the parent folder ID 1475 * @param start the lower bound of the range of document library folders 1476 * @param end the upper bound of the range of document library folders (not inclusive) 1477 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1478 * @return the ordered range of matching document library folders 1479 */ 1480 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByR_P( 1481 long repositoryId, long parentFolderId, int start, int end, 1482 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 1483 return getPersistence() 1484 .findByR_P(repositoryId, parentFolderId, start, end, 1485 orderByComparator); 1486 } 1487 1488 /** 1489 * Returns the first document library folder in the ordered set where repositoryId = ? and parentFolderId = ?. 1490 * 1491 * @param repositoryId the repository ID 1492 * @param parentFolderId the parent folder ID 1493 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1494 * @return the first matching document library folder 1495 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1496 */ 1497 public static com.liferay.portlet.documentlibrary.model.DLFolder findByR_P_First( 1498 long repositoryId, long parentFolderId, 1499 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1500 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 1501 return getPersistence() 1502 .findByR_P_First(repositoryId, parentFolderId, 1503 orderByComparator); 1504 } 1505 1506 /** 1507 * Returns the first document library folder in the ordered set where repositoryId = ? and parentFolderId = ?. 1508 * 1509 * @param repositoryId the repository ID 1510 * @param parentFolderId the parent folder ID 1511 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1512 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 1513 */ 1514 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByR_P_First( 1515 long repositoryId, long parentFolderId, 1516 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 1517 return getPersistence() 1518 .fetchByR_P_First(repositoryId, parentFolderId, 1519 orderByComparator); 1520 } 1521 1522 /** 1523 * Returns the last document library folder in the ordered set where repositoryId = ? and parentFolderId = ?. 1524 * 1525 * @param repositoryId the repository ID 1526 * @param parentFolderId the parent folder ID 1527 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1528 * @return the last matching document library folder 1529 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1530 */ 1531 public static com.liferay.portlet.documentlibrary.model.DLFolder findByR_P_Last( 1532 long repositoryId, long parentFolderId, 1533 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1534 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 1535 return getPersistence() 1536 .findByR_P_Last(repositoryId, parentFolderId, 1537 orderByComparator); 1538 } 1539 1540 /** 1541 * Returns the last document library folder in the ordered set where repositoryId = ? and parentFolderId = ?. 1542 * 1543 * @param repositoryId the repository ID 1544 * @param parentFolderId the parent folder ID 1545 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1546 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 1547 */ 1548 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByR_P_Last( 1549 long repositoryId, long parentFolderId, 1550 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 1551 return getPersistence() 1552 .fetchByR_P_Last(repositoryId, parentFolderId, 1553 orderByComparator); 1554 } 1555 1556 /** 1557 * Returns the document library folders before and after the current document library folder in the ordered set where repositoryId = ? and parentFolderId = ?. 1558 * 1559 * @param folderId the primary key of the current document library folder 1560 * @param repositoryId the repository ID 1561 * @param parentFolderId the parent folder ID 1562 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1563 * @return the previous, current, and next document library folder 1564 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 1565 */ 1566 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByR_P_PrevAndNext( 1567 long folderId, long repositoryId, long parentFolderId, 1568 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1569 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 1570 return getPersistence() 1571 .findByR_P_PrevAndNext(folderId, repositoryId, 1572 parentFolderId, orderByComparator); 1573 } 1574 1575 /** 1576 * Removes all the document library folders where repositoryId = ? and parentFolderId = ? from the database. 1577 * 1578 * @param repositoryId the repository ID 1579 * @param parentFolderId the parent folder ID 1580 */ 1581 public static void removeByR_P(long repositoryId, long parentFolderId) { 1582 getPersistence().removeByR_P(repositoryId, parentFolderId); 1583 } 1584 1585 /** 1586 * Returns the number of document library folders where repositoryId = ? and parentFolderId = ?. 1587 * 1588 * @param repositoryId the repository ID 1589 * @param parentFolderId the parent folder ID 1590 * @return the number of matching document library folders 1591 */ 1592 public static int countByR_P(long repositoryId, long parentFolderId) { 1593 return getPersistence().countByR_P(repositoryId, parentFolderId); 1594 } 1595 1596 /** 1597 * Returns all the document library folders where parentFolderId = ? and name = ?. 1598 * 1599 * @param parentFolderId the parent folder ID 1600 * @param name the name 1601 * @return the matching document library folders 1602 */ 1603 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N( 1604 long parentFolderId, java.lang.String name) { 1605 return getPersistence().findByP_N(parentFolderId, name); 1606 } 1607 1608 /** 1609 * Returns a range of all the document library folders where parentFolderId = ? and name = ?. 1610 * 1611 * <p> 1612 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 1613 * </p> 1614 * 1615 * @param parentFolderId the parent folder ID 1616 * @param name the name 1617 * @param start the lower bound of the range of document library folders 1618 * @param end the upper bound of the range of document library folders (not inclusive) 1619 * @return the range of matching document library folders 1620 */ 1621 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N( 1622 long parentFolderId, java.lang.String name, int start, int end) { 1623 return getPersistence().findByP_N(parentFolderId, name, start, end); 1624 } 1625 1626 /** 1627 * Returns an ordered range of all the document library folders where parentFolderId = ? and name = ?. 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.documentlibrary.model.impl.DLFolderModelImpl}. 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 parentFolderId the parent folder ID 1634 * @param name the name 1635 * @param start the lower bound of the range of document library folders 1636 * @param end the upper bound of the range of document library folders (not inclusive) 1637 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1638 * @return the ordered range of matching document library folders 1639 */ 1640 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N( 1641 long parentFolderId, java.lang.String name, int start, int end, 1642 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 1643 return getPersistence() 1644 .findByP_N(parentFolderId, name, start, end, 1645 orderByComparator); 1646 } 1647 1648 /** 1649 * Returns the first document library folder in the ordered set where parentFolderId = ? and name = ?. 1650 * 1651 * @param parentFolderId the parent folder ID 1652 * @param name the name 1653 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1654 * @return the first matching document library folder 1655 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1656 */ 1657 public static com.liferay.portlet.documentlibrary.model.DLFolder findByP_N_First( 1658 long parentFolderId, java.lang.String name, 1659 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1660 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 1661 return getPersistence() 1662 .findByP_N_First(parentFolderId, name, orderByComparator); 1663 } 1664 1665 /** 1666 * Returns the first document library folder in the ordered set where parentFolderId = ? and name = ?. 1667 * 1668 * @param parentFolderId the parent folder ID 1669 * @param name the name 1670 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1671 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 1672 */ 1673 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByP_N_First( 1674 long parentFolderId, java.lang.String name, 1675 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 1676 return getPersistence() 1677 .fetchByP_N_First(parentFolderId, name, orderByComparator); 1678 } 1679 1680 /** 1681 * Returns the last document library folder in the ordered set where parentFolderId = ? and name = ?. 1682 * 1683 * @param parentFolderId the parent folder ID 1684 * @param name the name 1685 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1686 * @return the last matching document library folder 1687 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1688 */ 1689 public static com.liferay.portlet.documentlibrary.model.DLFolder findByP_N_Last( 1690 long parentFolderId, java.lang.String name, 1691 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1692 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 1693 return getPersistence() 1694 .findByP_N_Last(parentFolderId, name, orderByComparator); 1695 } 1696 1697 /** 1698 * Returns the last document library folder in the ordered set where parentFolderId = ? and name = ?. 1699 * 1700 * @param parentFolderId the parent folder ID 1701 * @param name the name 1702 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1703 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 1704 */ 1705 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByP_N_Last( 1706 long parentFolderId, java.lang.String name, 1707 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 1708 return getPersistence() 1709 .fetchByP_N_Last(parentFolderId, name, orderByComparator); 1710 } 1711 1712 /** 1713 * Returns the document library folders before and after the current document library folder in the ordered set where parentFolderId = ? and name = ?. 1714 * 1715 * @param folderId the primary key of the current document library folder 1716 * @param parentFolderId the parent folder ID 1717 * @param name the name 1718 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1719 * @return the previous, current, and next document library folder 1720 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 1721 */ 1722 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByP_N_PrevAndNext( 1723 long folderId, long parentFolderId, java.lang.String name, 1724 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1725 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 1726 return getPersistence() 1727 .findByP_N_PrevAndNext(folderId, parentFolderId, name, 1728 orderByComparator); 1729 } 1730 1731 /** 1732 * Removes all the document library folders where parentFolderId = ? and name = ? from the database. 1733 * 1734 * @param parentFolderId the parent folder ID 1735 * @param name the name 1736 */ 1737 public static void removeByP_N(long parentFolderId, java.lang.String name) { 1738 getPersistence().removeByP_N(parentFolderId, name); 1739 } 1740 1741 /** 1742 * Returns the number of document library folders where parentFolderId = ? and name = ?. 1743 * 1744 * @param parentFolderId the parent folder ID 1745 * @param name the name 1746 * @return the number of matching document library folders 1747 */ 1748 public static int countByP_N(long parentFolderId, java.lang.String name) { 1749 return getPersistence().countByP_N(parentFolderId, name); 1750 } 1751 1752 /** 1753 * Returns all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ?. 1754 * 1755 * @param groupId the group ID 1756 * @param mountPoint the mount point 1757 * @param parentFolderId the parent folder ID 1758 * @return the matching document library folders 1759 */ 1760 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P( 1761 long groupId, boolean mountPoint, long parentFolderId) { 1762 return getPersistence().findByG_M_P(groupId, mountPoint, parentFolderId); 1763 } 1764 1765 /** 1766 * Returns a range of all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ?. 1767 * 1768 * <p> 1769 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 1770 * </p> 1771 * 1772 * @param groupId the group ID 1773 * @param mountPoint the mount point 1774 * @param parentFolderId the parent folder ID 1775 * @param start the lower bound of the range of document library folders 1776 * @param end the upper bound of the range of document library folders (not inclusive) 1777 * @return the range of matching document library folders 1778 */ 1779 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P( 1780 long groupId, boolean mountPoint, long parentFolderId, int start, 1781 int end) { 1782 return getPersistence() 1783 .findByG_M_P(groupId, mountPoint, parentFolderId, start, end); 1784 } 1785 1786 /** 1787 * Returns an ordered range of all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ?. 1788 * 1789 * <p> 1790 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 1791 * </p> 1792 * 1793 * @param groupId the group ID 1794 * @param mountPoint the mount point 1795 * @param parentFolderId the parent folder ID 1796 * @param start the lower bound of the range of document library folders 1797 * @param end the upper bound of the range of document library folders (not inclusive) 1798 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1799 * @return the ordered range of matching document library folders 1800 */ 1801 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P( 1802 long groupId, boolean mountPoint, long parentFolderId, int start, 1803 int end, 1804 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 1805 return getPersistence() 1806 .findByG_M_P(groupId, mountPoint, parentFolderId, start, 1807 end, orderByComparator); 1808 } 1809 1810 /** 1811 * Returns the first document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ?. 1812 * 1813 * @param groupId the group ID 1814 * @param mountPoint the mount point 1815 * @param parentFolderId the parent folder ID 1816 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1817 * @return the first matching document library folder 1818 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1819 */ 1820 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_M_P_First( 1821 long groupId, boolean mountPoint, long parentFolderId, 1822 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1823 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 1824 return getPersistence() 1825 .findByG_M_P_First(groupId, mountPoint, parentFolderId, 1826 orderByComparator); 1827 } 1828 1829 /** 1830 * Returns the first document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ?. 1831 * 1832 * @param groupId the group ID 1833 * @param mountPoint the mount point 1834 * @param parentFolderId the parent folder ID 1835 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1836 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 1837 */ 1838 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_M_P_First( 1839 long groupId, boolean mountPoint, long parentFolderId, 1840 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 1841 return getPersistence() 1842 .fetchByG_M_P_First(groupId, mountPoint, parentFolderId, 1843 orderByComparator); 1844 } 1845 1846 /** 1847 * Returns the last document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ?. 1848 * 1849 * @param groupId the group ID 1850 * @param mountPoint the mount point 1851 * @param parentFolderId the parent folder ID 1852 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1853 * @return the last matching document library folder 1854 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1855 */ 1856 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_M_P_Last( 1857 long groupId, boolean mountPoint, long parentFolderId, 1858 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1859 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 1860 return getPersistence() 1861 .findByG_M_P_Last(groupId, mountPoint, parentFolderId, 1862 orderByComparator); 1863 } 1864 1865 /** 1866 * Returns the last document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ?. 1867 * 1868 * @param groupId the group ID 1869 * @param mountPoint the mount point 1870 * @param parentFolderId the parent folder ID 1871 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1872 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 1873 */ 1874 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_M_P_Last( 1875 long groupId, boolean mountPoint, long parentFolderId, 1876 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 1877 return getPersistence() 1878 .fetchByG_M_P_Last(groupId, mountPoint, parentFolderId, 1879 orderByComparator); 1880 } 1881 1882 /** 1883 * Returns the document library folders before and after the current document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ?. 1884 * 1885 * @param folderId the primary key of the current document library folder 1886 * @param groupId the group ID 1887 * @param mountPoint the mount point 1888 * @param parentFolderId the parent folder ID 1889 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1890 * @return the previous, current, and next document library folder 1891 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 1892 */ 1893 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByG_M_P_PrevAndNext( 1894 long folderId, long groupId, boolean mountPoint, long parentFolderId, 1895 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1896 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 1897 return getPersistence() 1898 .findByG_M_P_PrevAndNext(folderId, groupId, mountPoint, 1899 parentFolderId, orderByComparator); 1900 } 1901 1902 /** 1903 * Returns all the document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ?. 1904 * 1905 * @param groupId the group ID 1906 * @param mountPoint the mount point 1907 * @param parentFolderId the parent folder ID 1908 * @return the matching document library folders that the user has permission to view 1909 */ 1910 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P( 1911 long groupId, boolean mountPoint, long parentFolderId) { 1912 return getPersistence() 1913 .filterFindByG_M_P(groupId, mountPoint, parentFolderId); 1914 } 1915 1916 /** 1917 * Returns a range of all the document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ?. 1918 * 1919 * <p> 1920 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 1921 * </p> 1922 * 1923 * @param groupId the group ID 1924 * @param mountPoint the mount point 1925 * @param parentFolderId the parent folder ID 1926 * @param start the lower bound of the range of document library folders 1927 * @param end the upper bound of the range of document library folders (not inclusive) 1928 * @return the range of matching document library folders that the user has permission to view 1929 */ 1930 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P( 1931 long groupId, boolean mountPoint, long parentFolderId, int start, 1932 int end) { 1933 return getPersistence() 1934 .filterFindByG_M_P(groupId, mountPoint, parentFolderId, 1935 start, end); 1936 } 1937 1938 /** 1939 * Returns an ordered range of all the document library folders that the user has permissions to view where groupId = ? and mountPoint = ? and parentFolderId = ?. 1940 * 1941 * <p> 1942 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 1943 * </p> 1944 * 1945 * @param groupId the group ID 1946 * @param mountPoint the mount point 1947 * @param parentFolderId the parent folder ID 1948 * @param start the lower bound of the range of document library folders 1949 * @param end the upper bound of the range of document library folders (not inclusive) 1950 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1951 * @return the ordered range of matching document library folders that the user has permission to view 1952 */ 1953 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P( 1954 long groupId, boolean mountPoint, long parentFolderId, int start, 1955 int end, 1956 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 1957 return getPersistence() 1958 .filterFindByG_M_P(groupId, mountPoint, parentFolderId, 1959 start, end, orderByComparator); 1960 } 1961 1962 /** 1963 * Returns the document library folders before and after the current document library folder in the ordered set of document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ?. 1964 * 1965 * @param folderId the primary key of the current document library folder 1966 * @param groupId the group ID 1967 * @param mountPoint the mount point 1968 * @param parentFolderId the parent folder ID 1969 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1970 * @return the previous, current, and next document library folder 1971 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 1972 */ 1973 public static com.liferay.portlet.documentlibrary.model.DLFolder[] filterFindByG_M_P_PrevAndNext( 1974 long folderId, long groupId, boolean mountPoint, long parentFolderId, 1975 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1976 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 1977 return getPersistence() 1978 .filterFindByG_M_P_PrevAndNext(folderId, groupId, 1979 mountPoint, parentFolderId, orderByComparator); 1980 } 1981 1982 /** 1983 * Removes all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? from the database. 1984 * 1985 * @param groupId the group ID 1986 * @param mountPoint the mount point 1987 * @param parentFolderId the parent folder ID 1988 */ 1989 public static void removeByG_M_P(long groupId, boolean mountPoint, 1990 long parentFolderId) { 1991 getPersistence().removeByG_M_P(groupId, mountPoint, parentFolderId); 1992 } 1993 1994 /** 1995 * Returns the number of document library folders where groupId = ? and mountPoint = ? and parentFolderId = ?. 1996 * 1997 * @param groupId the group ID 1998 * @param mountPoint the mount point 1999 * @param parentFolderId the parent folder ID 2000 * @return the number of matching document library folders 2001 */ 2002 public static int countByG_M_P(long groupId, boolean mountPoint, 2003 long parentFolderId) { 2004 return getPersistence().countByG_M_P(groupId, mountPoint, parentFolderId); 2005 } 2006 2007 /** 2008 * Returns the number of document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ?. 2009 * 2010 * @param groupId the group ID 2011 * @param mountPoint the mount point 2012 * @param parentFolderId the parent folder ID 2013 * @return the number of matching document library folders that the user has permission to view 2014 */ 2015 public static int filterCountByG_M_P(long groupId, boolean mountPoint, 2016 long parentFolderId) { 2017 return getPersistence() 2018 .filterCountByG_M_P(groupId, mountPoint, parentFolderId); 2019 } 2020 2021 /** 2022 * Returns the document library folder where groupId = ? and parentFolderId = ? and name = ? or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFolderException} if it could not be found. 2023 * 2024 * @param groupId the group ID 2025 * @param parentFolderId the parent folder ID 2026 * @param name the name 2027 * @return the matching document library folder 2028 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 2029 */ 2030 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_N( 2031 long groupId, long parentFolderId, java.lang.String name) 2032 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 2033 return getPersistence().findByG_P_N(groupId, parentFolderId, name); 2034 } 2035 2036 /** 2037 * Returns the document library folder where groupId = ? and parentFolderId = ? and name = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 2038 * 2039 * @param groupId the group ID 2040 * @param parentFolderId the parent folder ID 2041 * @param name the name 2042 * @return the matching document library folder, or <code>null</code> if a matching document library folder could not be found 2043 */ 2044 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_N( 2045 long groupId, long parentFolderId, java.lang.String name) { 2046 return getPersistence().fetchByG_P_N(groupId, parentFolderId, name); 2047 } 2048 2049 /** 2050 * Returns the document library folder where groupId = ? and parentFolderId = ? and name = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 2051 * 2052 * @param groupId the group ID 2053 * @param parentFolderId the parent folder ID 2054 * @param name the name 2055 * @param retrieveFromCache whether to use the finder cache 2056 * @return the matching document library folder, or <code>null</code> if a matching document library folder could not be found 2057 */ 2058 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_N( 2059 long groupId, long parentFolderId, java.lang.String name, 2060 boolean retrieveFromCache) { 2061 return getPersistence() 2062 .fetchByG_P_N(groupId, parentFolderId, name, 2063 retrieveFromCache); 2064 } 2065 2066 /** 2067 * Removes the document library folder where groupId = ? and parentFolderId = ? and name = ? from the database. 2068 * 2069 * @param groupId the group ID 2070 * @param parentFolderId the parent folder ID 2071 * @param name the name 2072 * @return the document library folder that was removed 2073 */ 2074 public static com.liferay.portlet.documentlibrary.model.DLFolder removeByG_P_N( 2075 long groupId, long parentFolderId, java.lang.String name) 2076 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 2077 return getPersistence().removeByG_P_N(groupId, parentFolderId, name); 2078 } 2079 2080 /** 2081 * Returns the number of document library folders where groupId = ? and parentFolderId = ? and name = ?. 2082 * 2083 * @param groupId the group ID 2084 * @param parentFolderId the parent folder ID 2085 * @param name the name 2086 * @return the number of matching document library folders 2087 */ 2088 public static int countByG_P_N(long groupId, long parentFolderId, 2089 java.lang.String name) { 2090 return getPersistence().countByG_P_N(groupId, parentFolderId, name); 2091 } 2092 2093 /** 2094 * Returns all the document library folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. 2095 * 2096 * @param folderId the folder ID 2097 * @param companyId the company ID 2098 * @param parentFolderId the parent folder ID 2099 * @param status the status 2100 * @return the matching document library folders 2101 */ 2102 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByF_C_P_NotS( 2103 long folderId, long companyId, long parentFolderId, int status) { 2104 return getPersistence() 2105 .findByF_C_P_NotS(folderId, companyId, parentFolderId, status); 2106 } 2107 2108 /** 2109 * Returns a range of all the document library folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. 2110 * 2111 * <p> 2112 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 2113 * </p> 2114 * 2115 * @param folderId the folder ID 2116 * @param companyId the company ID 2117 * @param parentFolderId the parent folder ID 2118 * @param status the status 2119 * @param start the lower bound of the range of document library folders 2120 * @param end the upper bound of the range of document library folders (not inclusive) 2121 * @return the range of matching document library folders 2122 */ 2123 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByF_C_P_NotS( 2124 long folderId, long companyId, long parentFolderId, int status, 2125 int start, int end) { 2126 return getPersistence() 2127 .findByF_C_P_NotS(folderId, companyId, parentFolderId, 2128 status, start, end); 2129 } 2130 2131 /** 2132 * Returns an ordered range of all the document library folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. 2133 * 2134 * <p> 2135 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 2136 * </p> 2137 * 2138 * @param folderId the folder ID 2139 * @param companyId the company ID 2140 * @param parentFolderId the parent folder ID 2141 * @param status the status 2142 * @param start the lower bound of the range of document library folders 2143 * @param end the upper bound of the range of document library folders (not inclusive) 2144 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2145 * @return the ordered range of matching document library folders 2146 */ 2147 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByF_C_P_NotS( 2148 long folderId, long companyId, long parentFolderId, int status, 2149 int start, int end, 2150 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 2151 return getPersistence() 2152 .findByF_C_P_NotS(folderId, companyId, parentFolderId, 2153 status, start, end, orderByComparator); 2154 } 2155 2156 /** 2157 * Returns the first document library folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. 2158 * 2159 * @param folderId the folder ID 2160 * @param companyId the company ID 2161 * @param parentFolderId the parent folder ID 2162 * @param status the status 2163 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2164 * @return the first matching document library folder 2165 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 2166 */ 2167 public static com.liferay.portlet.documentlibrary.model.DLFolder findByF_C_P_NotS_First( 2168 long folderId, long companyId, long parentFolderId, int status, 2169 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 2170 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 2171 return getPersistence() 2172 .findByF_C_P_NotS_First(folderId, companyId, parentFolderId, 2173 status, orderByComparator); 2174 } 2175 2176 /** 2177 * Returns the first document library folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. 2178 * 2179 * @param folderId the folder ID 2180 * @param companyId the company ID 2181 * @param parentFolderId the parent folder ID 2182 * @param status the status 2183 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2184 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 2185 */ 2186 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByF_C_P_NotS_First( 2187 long folderId, long companyId, long parentFolderId, int status, 2188 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 2189 return getPersistence() 2190 .fetchByF_C_P_NotS_First(folderId, companyId, 2191 parentFolderId, status, orderByComparator); 2192 } 2193 2194 /** 2195 * Returns the last document library folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. 2196 * 2197 * @param folderId the folder ID 2198 * @param companyId the company ID 2199 * @param parentFolderId the parent folder ID 2200 * @param status the status 2201 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2202 * @return the last matching document library folder 2203 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 2204 */ 2205 public static com.liferay.portlet.documentlibrary.model.DLFolder findByF_C_P_NotS_Last( 2206 long folderId, long companyId, long parentFolderId, int status, 2207 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 2208 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 2209 return getPersistence() 2210 .findByF_C_P_NotS_Last(folderId, companyId, parentFolderId, 2211 status, orderByComparator); 2212 } 2213 2214 /** 2215 * Returns the last document library folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. 2216 * 2217 * @param folderId the folder ID 2218 * @param companyId the company ID 2219 * @param parentFolderId the parent folder ID 2220 * @param status the status 2221 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2222 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 2223 */ 2224 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByF_C_P_NotS_Last( 2225 long folderId, long companyId, long parentFolderId, int status, 2226 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 2227 return getPersistence() 2228 .fetchByF_C_P_NotS_Last(folderId, companyId, parentFolderId, 2229 status, orderByComparator); 2230 } 2231 2232 /** 2233 * Removes all the document library folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ? from the database. 2234 * 2235 * @param folderId the folder ID 2236 * @param companyId the company ID 2237 * @param parentFolderId the parent folder ID 2238 * @param status the status 2239 */ 2240 public static void removeByF_C_P_NotS(long folderId, long companyId, 2241 long parentFolderId, int status) { 2242 getPersistence() 2243 .removeByF_C_P_NotS(folderId, companyId, parentFolderId, status); 2244 } 2245 2246 /** 2247 * Returns the number of document library folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. 2248 * 2249 * @param folderId the folder ID 2250 * @param companyId the company ID 2251 * @param parentFolderId the parent folder ID 2252 * @param status the status 2253 * @return the number of matching document library folders 2254 */ 2255 public static int countByF_C_P_NotS(long folderId, long companyId, 2256 long parentFolderId, int status) { 2257 return getPersistence() 2258 .countByF_C_P_NotS(folderId, companyId, parentFolderId, 2259 status); 2260 } 2261 2262 /** 2263 * Returns all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 2264 * 2265 * @param groupId the group ID 2266 * @param mountPoint the mount point 2267 * @param parentFolderId the parent folder ID 2268 * @param hidden the hidden 2269 * @return the matching document library folders 2270 */ 2271 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P_H( 2272 long groupId, boolean mountPoint, long parentFolderId, boolean hidden) { 2273 return getPersistence() 2274 .findByG_M_P_H(groupId, mountPoint, parentFolderId, hidden); 2275 } 2276 2277 /** 2278 * Returns a range of all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 2279 * 2280 * <p> 2281 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 2282 * </p> 2283 * 2284 * @param groupId the group ID 2285 * @param mountPoint the mount point 2286 * @param parentFolderId the parent folder ID 2287 * @param hidden the hidden 2288 * @param start the lower bound of the range of document library folders 2289 * @param end the upper bound of the range of document library folders (not inclusive) 2290 * @return the range of matching document library folders 2291 */ 2292 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P_H( 2293 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2294 int start, int end) { 2295 return getPersistence() 2296 .findByG_M_P_H(groupId, mountPoint, parentFolderId, hidden, 2297 start, end); 2298 } 2299 2300 /** 2301 * Returns an ordered range of all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 2302 * 2303 * <p> 2304 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 2305 * </p> 2306 * 2307 * @param groupId the group ID 2308 * @param mountPoint the mount point 2309 * @param parentFolderId the parent folder ID 2310 * @param hidden the hidden 2311 * @param start the lower bound of the range of document library folders 2312 * @param end the upper bound of the range of document library folders (not inclusive) 2313 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2314 * @return the ordered range of matching document library folders 2315 */ 2316 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P_H( 2317 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2318 int start, int end, 2319 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 2320 return getPersistence() 2321 .findByG_M_P_H(groupId, mountPoint, parentFolderId, hidden, 2322 start, end, orderByComparator); 2323 } 2324 2325 /** 2326 * Returns the first document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 2327 * 2328 * @param groupId the group ID 2329 * @param mountPoint the mount point 2330 * @param parentFolderId the parent folder ID 2331 * @param hidden the hidden 2332 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2333 * @return the first matching document library folder 2334 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 2335 */ 2336 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_M_P_H_First( 2337 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2338 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 2339 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 2340 return getPersistence() 2341 .findByG_M_P_H_First(groupId, mountPoint, parentFolderId, 2342 hidden, orderByComparator); 2343 } 2344 2345 /** 2346 * Returns the first document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 2347 * 2348 * @param groupId the group ID 2349 * @param mountPoint the mount point 2350 * @param parentFolderId the parent folder ID 2351 * @param hidden the hidden 2352 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2353 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 2354 */ 2355 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_M_P_H_First( 2356 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2357 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 2358 return getPersistence() 2359 .fetchByG_M_P_H_First(groupId, mountPoint, parentFolderId, 2360 hidden, orderByComparator); 2361 } 2362 2363 /** 2364 * Returns the last document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 2365 * 2366 * @param groupId the group ID 2367 * @param mountPoint the mount point 2368 * @param parentFolderId the parent folder ID 2369 * @param hidden the hidden 2370 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2371 * @return the last matching document library folder 2372 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 2373 */ 2374 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_M_P_H_Last( 2375 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2376 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 2377 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 2378 return getPersistence() 2379 .findByG_M_P_H_Last(groupId, mountPoint, parentFolderId, 2380 hidden, orderByComparator); 2381 } 2382 2383 /** 2384 * Returns the last document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 2385 * 2386 * @param groupId the group ID 2387 * @param mountPoint the mount point 2388 * @param parentFolderId the parent folder ID 2389 * @param hidden the hidden 2390 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2391 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 2392 */ 2393 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_M_P_H_Last( 2394 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2395 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 2396 return getPersistence() 2397 .fetchByG_M_P_H_Last(groupId, mountPoint, parentFolderId, 2398 hidden, orderByComparator); 2399 } 2400 2401 /** 2402 * Returns the document library folders before and after the current document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 2403 * 2404 * @param folderId the primary key of the current document library folder 2405 * @param groupId the group ID 2406 * @param mountPoint the mount point 2407 * @param parentFolderId the parent folder ID 2408 * @param hidden the hidden 2409 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2410 * @return the previous, current, and next document library folder 2411 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 2412 */ 2413 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByG_M_P_H_PrevAndNext( 2414 long folderId, long groupId, boolean mountPoint, long parentFolderId, 2415 boolean hidden, 2416 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 2417 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 2418 return getPersistence() 2419 .findByG_M_P_H_PrevAndNext(folderId, groupId, mountPoint, 2420 parentFolderId, hidden, orderByComparator); 2421 } 2422 2423 /** 2424 * Returns all the document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 2425 * 2426 * @param groupId the group ID 2427 * @param mountPoint the mount point 2428 * @param parentFolderId the parent folder ID 2429 * @param hidden the hidden 2430 * @return the matching document library folders that the user has permission to view 2431 */ 2432 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P_H( 2433 long groupId, boolean mountPoint, long parentFolderId, boolean hidden) { 2434 return getPersistence() 2435 .filterFindByG_M_P_H(groupId, mountPoint, parentFolderId, 2436 hidden); 2437 } 2438 2439 /** 2440 * Returns a range of all the document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 2441 * 2442 * <p> 2443 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 2444 * </p> 2445 * 2446 * @param groupId the group ID 2447 * @param mountPoint the mount point 2448 * @param parentFolderId the parent folder ID 2449 * @param hidden the hidden 2450 * @param start the lower bound of the range of document library folders 2451 * @param end the upper bound of the range of document library folders (not inclusive) 2452 * @return the range of matching document library folders that the user has permission to view 2453 */ 2454 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P_H( 2455 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2456 int start, int end) { 2457 return getPersistence() 2458 .filterFindByG_M_P_H(groupId, mountPoint, parentFolderId, 2459 hidden, start, end); 2460 } 2461 2462 /** 2463 * Returns an ordered range of all the document library folders that the user has permissions to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 2464 * 2465 * <p> 2466 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 2467 * </p> 2468 * 2469 * @param groupId the group ID 2470 * @param mountPoint the mount point 2471 * @param parentFolderId the parent folder ID 2472 * @param hidden the hidden 2473 * @param start the lower bound of the range of document library folders 2474 * @param end the upper bound of the range of document library folders (not inclusive) 2475 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2476 * @return the ordered range of matching document library folders that the user has permission to view 2477 */ 2478 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P_H( 2479 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2480 int start, int end, 2481 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 2482 return getPersistence() 2483 .filterFindByG_M_P_H(groupId, mountPoint, parentFolderId, 2484 hidden, start, end, orderByComparator); 2485 } 2486 2487 /** 2488 * Returns the document library folders before and after the current document library folder in the ordered set of document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 2489 * 2490 * @param folderId the primary key of the current document library folder 2491 * @param groupId the group ID 2492 * @param mountPoint the mount point 2493 * @param parentFolderId the parent folder ID 2494 * @param hidden the hidden 2495 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2496 * @return the previous, current, and next document library folder 2497 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 2498 */ 2499 public static com.liferay.portlet.documentlibrary.model.DLFolder[] filterFindByG_M_P_H_PrevAndNext( 2500 long folderId, long groupId, boolean mountPoint, long parentFolderId, 2501 boolean hidden, 2502 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 2503 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 2504 return getPersistence() 2505 .filterFindByG_M_P_H_PrevAndNext(folderId, groupId, 2506 mountPoint, parentFolderId, hidden, orderByComparator); 2507 } 2508 2509 /** 2510 * Removes all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? from the database. 2511 * 2512 * @param groupId the group ID 2513 * @param mountPoint the mount point 2514 * @param parentFolderId the parent folder ID 2515 * @param hidden the hidden 2516 */ 2517 public static void removeByG_M_P_H(long groupId, boolean mountPoint, 2518 long parentFolderId, boolean hidden) { 2519 getPersistence() 2520 .removeByG_M_P_H(groupId, mountPoint, parentFolderId, hidden); 2521 } 2522 2523 /** 2524 * Returns the number of document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 2525 * 2526 * @param groupId the group ID 2527 * @param mountPoint the mount point 2528 * @param parentFolderId the parent folder ID 2529 * @param hidden the hidden 2530 * @return the number of matching document library folders 2531 */ 2532 public static int countByG_M_P_H(long groupId, boolean mountPoint, 2533 long parentFolderId, boolean hidden) { 2534 return getPersistence() 2535 .countByG_M_P_H(groupId, mountPoint, parentFolderId, hidden); 2536 } 2537 2538 /** 2539 * Returns the number of document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 2540 * 2541 * @param groupId the group ID 2542 * @param mountPoint the mount point 2543 * @param parentFolderId the parent folder ID 2544 * @param hidden the hidden 2545 * @return the number of matching document library folders that the user has permission to view 2546 */ 2547 public static int filterCountByG_M_P_H(long groupId, boolean mountPoint, 2548 long parentFolderId, boolean hidden) { 2549 return getPersistence() 2550 .filterCountByG_M_P_H(groupId, mountPoint, parentFolderId, 2551 hidden); 2552 } 2553 2554 /** 2555 * Returns all the document library folders where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 2556 * 2557 * @param groupId the group ID 2558 * @param parentFolderId the parent folder ID 2559 * @param hidden the hidden 2560 * @param status the status 2561 * @return the matching document library folders 2562 */ 2563 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P_H_S( 2564 long groupId, long parentFolderId, boolean hidden, int status) { 2565 return getPersistence() 2566 .findByG_P_H_S(groupId, parentFolderId, hidden, status); 2567 } 2568 2569 /** 2570 * Returns a range of all the document library folders where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 2571 * 2572 * <p> 2573 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 2574 * </p> 2575 * 2576 * @param groupId the group ID 2577 * @param parentFolderId the parent folder ID 2578 * @param hidden the hidden 2579 * @param status the status 2580 * @param start the lower bound of the range of document library folders 2581 * @param end the upper bound of the range of document library folders (not inclusive) 2582 * @return the range of matching document library folders 2583 */ 2584 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P_H_S( 2585 long groupId, long parentFolderId, boolean hidden, int status, 2586 int start, int end) { 2587 return getPersistence() 2588 .findByG_P_H_S(groupId, parentFolderId, hidden, status, 2589 start, end); 2590 } 2591 2592 /** 2593 * Returns an ordered range of all the document library folders where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 2594 * 2595 * <p> 2596 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 2597 * </p> 2598 * 2599 * @param groupId the group ID 2600 * @param parentFolderId the parent folder ID 2601 * @param hidden the hidden 2602 * @param status the status 2603 * @param start the lower bound of the range of document library folders 2604 * @param end the upper bound of the range of document library folders (not inclusive) 2605 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2606 * @return the ordered range of matching document library folders 2607 */ 2608 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P_H_S( 2609 long groupId, long parentFolderId, boolean hidden, int status, 2610 int start, int end, 2611 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 2612 return getPersistence() 2613 .findByG_P_H_S(groupId, parentFolderId, hidden, status, 2614 start, end, orderByComparator); 2615 } 2616 2617 /** 2618 * Returns the first document library folder in the ordered set where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 2619 * 2620 * @param groupId the group ID 2621 * @param parentFolderId the parent folder ID 2622 * @param hidden the hidden 2623 * @param status the status 2624 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2625 * @return the first matching document library folder 2626 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 2627 */ 2628 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_H_S_First( 2629 long groupId, long parentFolderId, boolean hidden, int status, 2630 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 2631 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 2632 return getPersistence() 2633 .findByG_P_H_S_First(groupId, parentFolderId, hidden, 2634 status, orderByComparator); 2635 } 2636 2637 /** 2638 * Returns the first document library folder in the ordered set where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 2639 * 2640 * @param groupId the group ID 2641 * @param parentFolderId the parent folder ID 2642 * @param hidden the hidden 2643 * @param status the status 2644 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2645 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 2646 */ 2647 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_H_S_First( 2648 long groupId, long parentFolderId, boolean hidden, int status, 2649 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 2650 return getPersistence() 2651 .fetchByG_P_H_S_First(groupId, parentFolderId, hidden, 2652 status, orderByComparator); 2653 } 2654 2655 /** 2656 * Returns the last document library folder in the ordered set where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 2657 * 2658 * @param groupId the group ID 2659 * @param parentFolderId the parent folder ID 2660 * @param hidden the hidden 2661 * @param status the status 2662 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2663 * @return the last matching document library folder 2664 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 2665 */ 2666 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_H_S_Last( 2667 long groupId, long parentFolderId, boolean hidden, int status, 2668 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 2669 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 2670 return getPersistence() 2671 .findByG_P_H_S_Last(groupId, parentFolderId, hidden, status, 2672 orderByComparator); 2673 } 2674 2675 /** 2676 * Returns the last document library folder in the ordered set where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 2677 * 2678 * @param groupId the group ID 2679 * @param parentFolderId the parent folder ID 2680 * @param hidden the hidden 2681 * @param status the status 2682 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2683 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 2684 */ 2685 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_H_S_Last( 2686 long groupId, long parentFolderId, boolean hidden, int status, 2687 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 2688 return getPersistence() 2689 .fetchByG_P_H_S_Last(groupId, parentFolderId, hidden, 2690 status, orderByComparator); 2691 } 2692 2693 /** 2694 * Returns the document library folders before and after the current document library folder in the ordered set where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 2695 * 2696 * @param folderId the primary key of the current document library folder 2697 * @param groupId the group ID 2698 * @param parentFolderId the parent folder ID 2699 * @param hidden the hidden 2700 * @param status the status 2701 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2702 * @return the previous, current, and next document library folder 2703 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 2704 */ 2705 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByG_P_H_S_PrevAndNext( 2706 long folderId, long groupId, long parentFolderId, boolean hidden, 2707 int status, 2708 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 2709 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 2710 return getPersistence() 2711 .findByG_P_H_S_PrevAndNext(folderId, groupId, 2712 parentFolderId, hidden, status, orderByComparator); 2713 } 2714 2715 /** 2716 * Returns all the document library folders that the user has permission to view where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 2717 * 2718 * @param groupId the group ID 2719 * @param parentFolderId the parent folder ID 2720 * @param hidden the hidden 2721 * @param status the status 2722 * @return the matching document library folders that the user has permission to view 2723 */ 2724 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P_H_S( 2725 long groupId, long parentFolderId, boolean hidden, int status) { 2726 return getPersistence() 2727 .filterFindByG_P_H_S(groupId, parentFolderId, hidden, status); 2728 } 2729 2730 /** 2731 * Returns a range of all the document library folders that the user has permission to view where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 2732 * 2733 * <p> 2734 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 2735 * </p> 2736 * 2737 * @param groupId the group ID 2738 * @param parentFolderId the parent folder ID 2739 * @param hidden the hidden 2740 * @param status the status 2741 * @param start the lower bound of the range of document library folders 2742 * @param end the upper bound of the range of document library folders (not inclusive) 2743 * @return the range of matching document library folders that the user has permission to view 2744 */ 2745 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P_H_S( 2746 long groupId, long parentFolderId, boolean hidden, int status, 2747 int start, int end) { 2748 return getPersistence() 2749 .filterFindByG_P_H_S(groupId, parentFolderId, hidden, 2750 status, start, end); 2751 } 2752 2753 /** 2754 * Returns an ordered range of all the document library folders that the user has permissions to view where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 2755 * 2756 * <p> 2757 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 2758 * </p> 2759 * 2760 * @param groupId the group ID 2761 * @param parentFolderId the parent folder ID 2762 * @param hidden the hidden 2763 * @param status the status 2764 * @param start the lower bound of the range of document library folders 2765 * @param end the upper bound of the range of document library folders (not inclusive) 2766 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2767 * @return the ordered range of matching document library folders that the user has permission to view 2768 */ 2769 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P_H_S( 2770 long groupId, long parentFolderId, boolean hidden, int status, 2771 int start, int end, 2772 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 2773 return getPersistence() 2774 .filterFindByG_P_H_S(groupId, parentFolderId, hidden, 2775 status, start, end, orderByComparator); 2776 } 2777 2778 /** 2779 * Returns the document library folders before and after the current document library folder in the ordered set of document library folders that the user has permission to view where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 2780 * 2781 * @param folderId the primary key of the current document library folder 2782 * @param groupId the group ID 2783 * @param parentFolderId the parent folder ID 2784 * @param hidden the hidden 2785 * @param status the status 2786 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2787 * @return the previous, current, and next document library folder 2788 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 2789 */ 2790 public static com.liferay.portlet.documentlibrary.model.DLFolder[] filterFindByG_P_H_S_PrevAndNext( 2791 long folderId, long groupId, long parentFolderId, boolean hidden, 2792 int status, 2793 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 2794 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 2795 return getPersistence() 2796 .filterFindByG_P_H_S_PrevAndNext(folderId, groupId, 2797 parentFolderId, hidden, status, orderByComparator); 2798 } 2799 2800 /** 2801 * Removes all the document library folders where groupId = ? and parentFolderId = ? and hidden = ? and status = ? from the database. 2802 * 2803 * @param groupId the group ID 2804 * @param parentFolderId the parent folder ID 2805 * @param hidden the hidden 2806 * @param status the status 2807 */ 2808 public static void removeByG_P_H_S(long groupId, long parentFolderId, 2809 boolean hidden, int status) { 2810 getPersistence().removeByG_P_H_S(groupId, parentFolderId, hidden, status); 2811 } 2812 2813 /** 2814 * Returns the number of document library folders where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 2815 * 2816 * @param groupId the group ID 2817 * @param parentFolderId the parent folder ID 2818 * @param hidden the hidden 2819 * @param status the status 2820 * @return the number of matching document library folders 2821 */ 2822 public static int countByG_P_H_S(long groupId, long parentFolderId, 2823 boolean hidden, int status) { 2824 return getPersistence() 2825 .countByG_P_H_S(groupId, parentFolderId, hidden, status); 2826 } 2827 2828 /** 2829 * Returns the number of document library folders that the user has permission to view where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 2830 * 2831 * @param groupId the group ID 2832 * @param parentFolderId the parent folder ID 2833 * @param hidden the hidden 2834 * @param status the status 2835 * @return the number of matching document library folders that the user has permission to view 2836 */ 2837 public static int filterCountByG_P_H_S(long groupId, long parentFolderId, 2838 boolean hidden, int status) { 2839 return getPersistence() 2840 .filterCountByG_P_H_S(groupId, parentFolderId, hidden, status); 2841 } 2842 2843 /** 2844 * Returns all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. 2845 * 2846 * @param groupId the group ID 2847 * @param mountPoint the mount point 2848 * @param parentFolderId the parent folder ID 2849 * @param hidden the hidden 2850 * @param status the status 2851 * @return the matching document library folders 2852 */ 2853 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P_H_S( 2854 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2855 int status) { 2856 return getPersistence() 2857 .findByG_M_P_H_S(groupId, mountPoint, parentFolderId, 2858 hidden, status); 2859 } 2860 2861 /** 2862 * Returns a range of all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. 2863 * 2864 * <p> 2865 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 2866 * </p> 2867 * 2868 * @param groupId the group ID 2869 * @param mountPoint the mount point 2870 * @param parentFolderId the parent folder ID 2871 * @param hidden the hidden 2872 * @param status the status 2873 * @param start the lower bound of the range of document library folders 2874 * @param end the upper bound of the range of document library folders (not inclusive) 2875 * @return the range of matching document library folders 2876 */ 2877 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P_H_S( 2878 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2879 int status, int start, int end) { 2880 return getPersistence() 2881 .findByG_M_P_H_S(groupId, mountPoint, parentFolderId, 2882 hidden, status, start, end); 2883 } 2884 2885 /** 2886 * Returns an ordered range of all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. 2887 * 2888 * <p> 2889 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 2890 * </p> 2891 * 2892 * @param groupId the group ID 2893 * @param mountPoint the mount point 2894 * @param parentFolderId the parent folder ID 2895 * @param hidden the hidden 2896 * @param status the status 2897 * @param start the lower bound of the range of document library folders 2898 * @param end the upper bound of the range of document library folders (not inclusive) 2899 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2900 * @return the ordered range of matching document library folders 2901 */ 2902 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P_H_S( 2903 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2904 int status, int start, int end, 2905 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 2906 return getPersistence() 2907 .findByG_M_P_H_S(groupId, mountPoint, parentFolderId, 2908 hidden, status, start, end, orderByComparator); 2909 } 2910 2911 /** 2912 * Returns the first document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. 2913 * 2914 * @param groupId the group ID 2915 * @param mountPoint the mount point 2916 * @param parentFolderId the parent folder ID 2917 * @param hidden the hidden 2918 * @param status the status 2919 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2920 * @return the first matching document library folder 2921 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 2922 */ 2923 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_M_P_H_S_First( 2924 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2925 int status, 2926 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 2927 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 2928 return getPersistence() 2929 .findByG_M_P_H_S_First(groupId, mountPoint, parentFolderId, 2930 hidden, status, orderByComparator); 2931 } 2932 2933 /** 2934 * Returns the first document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. 2935 * 2936 * @param groupId the group ID 2937 * @param mountPoint the mount point 2938 * @param parentFolderId the parent folder ID 2939 * @param hidden the hidden 2940 * @param status the status 2941 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2942 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 2943 */ 2944 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_M_P_H_S_First( 2945 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2946 int status, 2947 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 2948 return getPersistence() 2949 .fetchByG_M_P_H_S_First(groupId, mountPoint, parentFolderId, 2950 hidden, status, orderByComparator); 2951 } 2952 2953 /** 2954 * Returns the last document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. 2955 * 2956 * @param groupId the group ID 2957 * @param mountPoint the mount point 2958 * @param parentFolderId the parent folder ID 2959 * @param hidden the hidden 2960 * @param status the status 2961 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2962 * @return the last matching document library folder 2963 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 2964 */ 2965 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_M_P_H_S_Last( 2966 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2967 int status, 2968 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 2969 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 2970 return getPersistence() 2971 .findByG_M_P_H_S_Last(groupId, mountPoint, parentFolderId, 2972 hidden, status, orderByComparator); 2973 } 2974 2975 /** 2976 * Returns the last document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. 2977 * 2978 * @param groupId the group ID 2979 * @param mountPoint the mount point 2980 * @param parentFolderId the parent folder ID 2981 * @param hidden the hidden 2982 * @param status the status 2983 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2984 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 2985 */ 2986 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_M_P_H_S_Last( 2987 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2988 int status, 2989 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 2990 return getPersistence() 2991 .fetchByG_M_P_H_S_Last(groupId, mountPoint, parentFolderId, 2992 hidden, status, orderByComparator); 2993 } 2994 2995 /** 2996 * Returns the document library folders before and after the current document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. 2997 * 2998 * @param folderId the primary key of the current document library folder 2999 * @param groupId the group ID 3000 * @param mountPoint the mount point 3001 * @param parentFolderId the parent folder ID 3002 * @param hidden the hidden 3003 * @param status the status 3004 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3005 * @return the previous, current, and next document library folder 3006 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 3007 */ 3008 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByG_M_P_H_S_PrevAndNext( 3009 long folderId, long groupId, boolean mountPoint, long parentFolderId, 3010 boolean hidden, int status, 3011 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 3012 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 3013 return getPersistence() 3014 .findByG_M_P_H_S_PrevAndNext(folderId, groupId, mountPoint, 3015 parentFolderId, hidden, status, orderByComparator); 3016 } 3017 3018 /** 3019 * Returns all the document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. 3020 * 3021 * @param groupId the group ID 3022 * @param mountPoint the mount point 3023 * @param parentFolderId the parent folder ID 3024 * @param hidden the hidden 3025 * @param status the status 3026 * @return the matching document library folders that the user has permission to view 3027 */ 3028 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P_H_S( 3029 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 3030 int status) { 3031 return getPersistence() 3032 .filterFindByG_M_P_H_S(groupId, mountPoint, parentFolderId, 3033 hidden, status); 3034 } 3035 3036 /** 3037 * Returns a range of all the document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. 3038 * 3039 * <p> 3040 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 3041 * </p> 3042 * 3043 * @param groupId the group ID 3044 * @param mountPoint the mount point 3045 * @param parentFolderId the parent folder ID 3046 * @param hidden the hidden 3047 * @param status the status 3048 * @param start the lower bound of the range of document library folders 3049 * @param end the upper bound of the range of document library folders (not inclusive) 3050 * @return the range of matching document library folders that the user has permission to view 3051 */ 3052 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P_H_S( 3053 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 3054 int status, int start, int end) { 3055 return getPersistence() 3056 .filterFindByG_M_P_H_S(groupId, mountPoint, parentFolderId, 3057 hidden, status, start, end); 3058 } 3059 3060 /** 3061 * Returns an ordered range of all the document library folders that the user has permissions to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. 3062 * 3063 * <p> 3064 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 3065 * </p> 3066 * 3067 * @param groupId the group ID 3068 * @param mountPoint the mount point 3069 * @param parentFolderId the parent folder ID 3070 * @param hidden the hidden 3071 * @param status the status 3072 * @param start the lower bound of the range of document library folders 3073 * @param end the upper bound of the range of document library folders (not inclusive) 3074 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3075 * @return the ordered range of matching document library folders that the user has permission to view 3076 */ 3077 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P_H_S( 3078 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 3079 int status, int start, int end, 3080 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 3081 return getPersistence() 3082 .filterFindByG_M_P_H_S(groupId, mountPoint, parentFolderId, 3083 hidden, status, start, end, orderByComparator); 3084 } 3085 3086 /** 3087 * Returns the document library folders before and after the current document library folder in the ordered set of document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. 3088 * 3089 * @param folderId the primary key of the current document library folder 3090 * @param groupId the group ID 3091 * @param mountPoint the mount point 3092 * @param parentFolderId the parent folder ID 3093 * @param hidden the hidden 3094 * @param status the status 3095 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3096 * @return the previous, current, and next document library folder 3097 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 3098 */ 3099 public static com.liferay.portlet.documentlibrary.model.DLFolder[] filterFindByG_M_P_H_S_PrevAndNext( 3100 long folderId, long groupId, boolean mountPoint, long parentFolderId, 3101 boolean hidden, int status, 3102 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 3103 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 3104 return getPersistence() 3105 .filterFindByG_M_P_H_S_PrevAndNext(folderId, groupId, 3106 mountPoint, parentFolderId, hidden, status, orderByComparator); 3107 } 3108 3109 /** 3110 * Removes all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ? from the database. 3111 * 3112 * @param groupId the group ID 3113 * @param mountPoint the mount point 3114 * @param parentFolderId the parent folder ID 3115 * @param hidden the hidden 3116 * @param status the status 3117 */ 3118 public static void removeByG_M_P_H_S(long groupId, boolean mountPoint, 3119 long parentFolderId, boolean hidden, int status) { 3120 getPersistence() 3121 .removeByG_M_P_H_S(groupId, mountPoint, parentFolderId, hidden, 3122 status); 3123 } 3124 3125 /** 3126 * Returns the number of document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. 3127 * 3128 * @param groupId the group ID 3129 * @param mountPoint the mount point 3130 * @param parentFolderId the parent folder ID 3131 * @param hidden the hidden 3132 * @param status the status 3133 * @return the number of matching document library folders 3134 */ 3135 public static int countByG_M_P_H_S(long groupId, boolean mountPoint, 3136 long parentFolderId, boolean hidden, int status) { 3137 return getPersistence() 3138 .countByG_M_P_H_S(groupId, mountPoint, parentFolderId, 3139 hidden, status); 3140 } 3141 3142 /** 3143 * Returns the number of document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. 3144 * 3145 * @param groupId the group ID 3146 * @param mountPoint the mount point 3147 * @param parentFolderId the parent folder ID 3148 * @param hidden the hidden 3149 * @param status the status 3150 * @return the number of matching document library folders that the user has permission to view 3151 */ 3152 public static int filterCountByG_M_P_H_S(long groupId, boolean mountPoint, 3153 long parentFolderId, boolean hidden, int status) { 3154 return getPersistence() 3155 .filterCountByG_M_P_H_S(groupId, mountPoint, parentFolderId, 3156 hidden, status); 3157 } 3158 3159 /** 3160 * Caches the document library folder in the entity cache if it is enabled. 3161 * 3162 * @param dlFolder the document library folder 3163 */ 3164 public static void cacheResult( 3165 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder) { 3166 getPersistence().cacheResult(dlFolder); 3167 } 3168 3169 /** 3170 * Caches the document library folders in the entity cache if it is enabled. 3171 * 3172 * @param dlFolders the document library folders 3173 */ 3174 public static void cacheResult( 3175 java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> dlFolders) { 3176 getPersistence().cacheResult(dlFolders); 3177 } 3178 3179 /** 3180 * Creates a new document library folder with the primary key. Does not add the document library folder to the database. 3181 * 3182 * @param folderId the primary key for the new document library folder 3183 * @return the new document library folder 3184 */ 3185 public static com.liferay.portlet.documentlibrary.model.DLFolder create( 3186 long folderId) { 3187 return getPersistence().create(folderId); 3188 } 3189 3190 /** 3191 * Removes the document library folder with the primary key from the database. Also notifies the appropriate model listeners. 3192 * 3193 * @param folderId the primary key of the document library folder 3194 * @return the document library folder that was removed 3195 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 3196 */ 3197 public static com.liferay.portlet.documentlibrary.model.DLFolder remove( 3198 long folderId) 3199 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 3200 return getPersistence().remove(folderId); 3201 } 3202 3203 public static com.liferay.portlet.documentlibrary.model.DLFolder updateImpl( 3204 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder) { 3205 return getPersistence().updateImpl(dlFolder); 3206 } 3207 3208 /** 3209 * Returns the document library folder with the primary key or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFolderException} if it could not be found. 3210 * 3211 * @param folderId the primary key of the document library folder 3212 * @return the document library folder 3213 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 3214 */ 3215 public static com.liferay.portlet.documentlibrary.model.DLFolder findByPrimaryKey( 3216 long folderId) 3217 throws com.liferay.portlet.documentlibrary.NoSuchFolderException { 3218 return getPersistence().findByPrimaryKey(folderId); 3219 } 3220 3221 /** 3222 * Returns the document library folder with the primary key or returns <code>null</code> if it could not be found. 3223 * 3224 * @param folderId the primary key of the document library folder 3225 * @return the document library folder, or <code>null</code> if a document library folder with the primary key could not be found 3226 */ 3227 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByPrimaryKey( 3228 long folderId) { 3229 return getPersistence().fetchByPrimaryKey(folderId); 3230 } 3231 3232 public static java.util.Map<java.io.Serializable, com.liferay.portlet.documentlibrary.model.DLFolder> fetchByPrimaryKeys( 3233 java.util.Set<java.io.Serializable> primaryKeys) { 3234 return getPersistence().fetchByPrimaryKeys(primaryKeys); 3235 } 3236 3237 /** 3238 * Returns all the document library folders. 3239 * 3240 * @return the document library folders 3241 */ 3242 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll() { 3243 return getPersistence().findAll(); 3244 } 3245 3246 /** 3247 * Returns a range of all the document library folders. 3248 * 3249 * <p> 3250 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 3251 * </p> 3252 * 3253 * @param start the lower bound of the range of document library folders 3254 * @param end the upper bound of the range of document library folders (not inclusive) 3255 * @return the range of document library folders 3256 */ 3257 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll( 3258 int start, int end) { 3259 return getPersistence().findAll(start, end); 3260 } 3261 3262 /** 3263 * Returns an ordered range of all the document library folders. 3264 * 3265 * <p> 3266 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 3267 * </p> 3268 * 3269 * @param start the lower bound of the range of document library folders 3270 * @param end the upper bound of the range of document library folders (not inclusive) 3271 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3272 * @return the ordered range of document library folders 3273 */ 3274 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll( 3275 int start, int end, 3276 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) { 3277 return getPersistence().findAll(start, end, orderByComparator); 3278 } 3279 3280 /** 3281 * Removes all the document library folders from the database. 3282 */ 3283 public static void removeAll() { 3284 getPersistence().removeAll(); 3285 } 3286 3287 /** 3288 * Returns the number of document library folders. 3289 * 3290 * @return the number of document library folders 3291 */ 3292 public static int countAll() { 3293 return getPersistence().countAll(); 3294 } 3295 3296 /** 3297 * Returns the primaryKeys of document library file entry types associated with the document library folder. 3298 * 3299 * @param pk the primary key of the document library folder 3300 * @return long[] of the primaryKeys of document library file entry types associated with the document library folder 3301 */ 3302 public static long[] getDLFileEntryTypePrimaryKeys(long pk) { 3303 return getPersistence().getDLFileEntryTypePrimaryKeys(pk); 3304 } 3305 3306 /** 3307 * Returns all the document library file entry types associated with the document library folder. 3308 * 3309 * @param pk the primary key of the document library folder 3310 * @return the document library file entry types associated with the document library folder 3311 */ 3312 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypes( 3313 long pk) { 3314 return getPersistence().getDLFileEntryTypes(pk); 3315 } 3316 3317 /** 3318 * Returns a range of all the document library file entry types associated with the document library folder. 3319 * 3320 * <p> 3321 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 3322 * </p> 3323 * 3324 * @param pk the primary key of the document library folder 3325 * @param start the lower bound of the range of document library folders 3326 * @param end the upper bound of the range of document library folders (not inclusive) 3327 * @return the range of document library file entry types associated with the document library folder 3328 */ 3329 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypes( 3330 long pk, int start, int end) { 3331 return getPersistence().getDLFileEntryTypes(pk, start, end); 3332 } 3333 3334 /** 3335 * Returns an ordered range of all the document library file entry types associated with the document library folder. 3336 * 3337 * <p> 3338 * 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.documentlibrary.model.impl.DLFolderModelImpl}. 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. 3339 * </p> 3340 * 3341 * @param pk the primary key of the document library folder 3342 * @param start the lower bound of the range of document library folders 3343 * @param end the upper bound of the range of document library folders (not inclusive) 3344 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3345 * @return the ordered range of document library file entry types associated with the document library folder 3346 */ 3347 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypes( 3348 long pk, int start, int end, 3349 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntryType> orderByComparator) { 3350 return getPersistence() 3351 .getDLFileEntryTypes(pk, start, end, orderByComparator); 3352 } 3353 3354 /** 3355 * Returns the number of document library file entry types associated with the document library folder. 3356 * 3357 * @param pk the primary key of the document library folder 3358 * @return the number of document library file entry types associated with the document library folder 3359 */ 3360 public static int getDLFileEntryTypesSize(long pk) { 3361 return getPersistence().getDLFileEntryTypesSize(pk); 3362 } 3363 3364 /** 3365 * Returns <code>true</code> if the document library file entry type is associated with the document library folder. 3366 * 3367 * @param pk the primary key of the document library folder 3368 * @param dlFileEntryTypePK the primary key of the document library file entry type 3369 * @return <code>true</code> if the document library file entry type is associated with the document library folder; <code>false</code> otherwise 3370 */ 3371 public static boolean containsDLFileEntryType(long pk, 3372 long dlFileEntryTypePK) { 3373 return getPersistence().containsDLFileEntryType(pk, dlFileEntryTypePK); 3374 } 3375 3376 /** 3377 * Returns <code>true</code> if the document library folder has any document library file entry types associated with it. 3378 * 3379 * @param pk the primary key of the document library folder to check for associations with document library file entry types 3380 * @return <code>true</code> if the document library folder has any document library file entry types associated with it; <code>false</code> otherwise 3381 */ 3382 public static boolean containsDLFileEntryTypes(long pk) { 3383 return getPersistence().containsDLFileEntryTypes(pk); 3384 } 3385 3386 /** 3387 * Adds an association between the document library folder and the document library file entry type. Also notifies the appropriate model listeners and clears the mapping table finder cache. 3388 * 3389 * @param pk the primary key of the document library folder 3390 * @param dlFileEntryTypePK the primary key of the document library file entry type 3391 */ 3392 public static void addDLFileEntryType(long pk, long dlFileEntryTypePK) { 3393 getPersistence().addDLFileEntryType(pk, dlFileEntryTypePK); 3394 } 3395 3396 /** 3397 * Adds an association between the document library folder and the document library file entry type. Also notifies the appropriate model listeners and clears the mapping table finder cache. 3398 * 3399 * @param pk the primary key of the document library folder 3400 * @param dlFileEntryType the document library file entry type 3401 */ 3402 public static void addDLFileEntryType(long pk, 3403 com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType) { 3404 getPersistence().addDLFileEntryType(pk, dlFileEntryType); 3405 } 3406 3407 /** 3408 * Adds an association between the document library folder and the document library file entry types. Also notifies the appropriate model listeners and clears the mapping table finder cache. 3409 * 3410 * @param pk the primary key of the document library folder 3411 * @param dlFileEntryTypePKs the primary keys of the document library file entry types 3412 */ 3413 public static void addDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs) { 3414 getPersistence().addDLFileEntryTypes(pk, dlFileEntryTypePKs); 3415 } 3416 3417 /** 3418 * Adds an association between the document library folder and the document library file entry types. Also notifies the appropriate model listeners and clears the mapping table finder cache. 3419 * 3420 * @param pk the primary key of the document library folder 3421 * @param dlFileEntryTypes the document library file entry types 3422 */ 3423 public static void addDLFileEntryTypes(long pk, 3424 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> dlFileEntryTypes) { 3425 getPersistence().addDLFileEntryTypes(pk, dlFileEntryTypes); 3426 } 3427 3428 /** 3429 * Clears all associations between the document library folder and its document library file entry types. Also notifies the appropriate model listeners and clears the mapping table finder cache. 3430 * 3431 * @param pk the primary key of the document library folder to clear the associated document library file entry types from 3432 */ 3433 public static void clearDLFileEntryTypes(long pk) { 3434 getPersistence().clearDLFileEntryTypes(pk); 3435 } 3436 3437 /** 3438 * Removes the association between the document library folder and the document library file entry type. Also notifies the appropriate model listeners and clears the mapping table finder cache. 3439 * 3440 * @param pk the primary key of the document library folder 3441 * @param dlFileEntryTypePK the primary key of the document library file entry type 3442 */ 3443 public static void removeDLFileEntryType(long pk, long dlFileEntryTypePK) { 3444 getPersistence().removeDLFileEntryType(pk, dlFileEntryTypePK); 3445 } 3446 3447 /** 3448 * Removes the association between the document library folder and the document library file entry type. Also notifies the appropriate model listeners and clears the mapping table finder cache. 3449 * 3450 * @param pk the primary key of the document library folder 3451 * @param dlFileEntryType the document library file entry type 3452 */ 3453 public static void removeDLFileEntryType(long pk, 3454 com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType) { 3455 getPersistence().removeDLFileEntryType(pk, dlFileEntryType); 3456 } 3457 3458 /** 3459 * Removes the association between the document library folder and the document library file entry types. Also notifies the appropriate model listeners and clears the mapping table finder cache. 3460 * 3461 * @param pk the primary key of the document library folder 3462 * @param dlFileEntryTypePKs the primary keys of the document library file entry types 3463 */ 3464 public static void removeDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs) { 3465 getPersistence().removeDLFileEntryTypes(pk, dlFileEntryTypePKs); 3466 } 3467 3468 /** 3469 * Removes the association between the document library folder and the document library file entry types. Also notifies the appropriate model listeners and clears the mapping table finder cache. 3470 * 3471 * @param pk the primary key of the document library folder 3472 * @param dlFileEntryTypes the document library file entry types 3473 */ 3474 public static void removeDLFileEntryTypes(long pk, 3475 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> dlFileEntryTypes) { 3476 getPersistence().removeDLFileEntryTypes(pk, dlFileEntryTypes); 3477 } 3478 3479 /** 3480 * Sets the document library file entry types associated with the document library folder, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache. 3481 * 3482 * @param pk the primary key of the document library folder 3483 * @param dlFileEntryTypePKs the primary keys of the document library file entry types to be associated with the document library folder 3484 */ 3485 public static void setDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs) { 3486 getPersistence().setDLFileEntryTypes(pk, dlFileEntryTypePKs); 3487 } 3488 3489 /** 3490 * Sets the document library file entry types associated with the document library folder, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache. 3491 * 3492 * @param pk the primary key of the document library folder 3493 * @param dlFileEntryTypes the document library file entry types to be associated with the document library folder 3494 */ 3495 public static void setDLFileEntryTypes(long pk, 3496 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> dlFileEntryTypes) { 3497 getPersistence().setDLFileEntryTypes(pk, dlFileEntryTypes); 3498 } 3499 3500 public static DLFolderPersistence getPersistence() { 3501 if (_persistence == null) { 3502 _persistence = (DLFolderPersistence)PortalBeanLocatorUtil.locate(DLFolderPersistence.class.getName()); 3503 3504 ReferenceRegistry.registerReference(DLFolderUtil.class, 3505 "_persistence"); 3506 } 3507 3508 return _persistence; 3509 } 3510 3511 /** 3512 * @deprecated As of 6.2.0 3513 */ 3514 @Deprecated 3515 public void setPersistence(DLFolderPersistence persistence) { 3516 } 3517 3518 private static DLFolderPersistence _persistence; 3519 }