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