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 parentFolderId = ? and name = ?. 1138 * 1139 * @param parentFolderId the parent folder ID 1140 * @param name the name 1141 * @return the matching document library folders 1142 */ 1143 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N( 1144 long parentFolderId, java.lang.String name); 1145 1146 /** 1147 * Returns a range of all the document library folders where parentFolderId = ? and name = ?. 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 parentFolderId the parent folder ID 1154 * @param name the name 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> findByP_N( 1160 long parentFolderId, java.lang.String name, int start, int end); 1161 1162 /** 1163 * Returns an ordered range of all the document library folders where parentFolderId = ? and name = ?. 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 parentFolderId the parent folder ID 1170 * @param name the name 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> findByP_N( 1177 long parentFolderId, java.lang.String name, 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 parentFolderId = ? and name = ?. 1182 * 1183 * @param parentFolderId the parent folder ID 1184 * @param name the name 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 findByP_N_First( 1190 long parentFolderId, java.lang.String name, 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 parentFolderId = ? and name = ?. 1196 * 1197 * @param parentFolderId the parent folder ID 1198 * @param name the name 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 fetchByP_N_First( 1203 long parentFolderId, java.lang.String name, 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 parentFolderId = ? and name = ?. 1208 * 1209 * @param parentFolderId the parent folder ID 1210 * @param name the name 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 findByP_N_Last( 1216 long parentFolderId, java.lang.String name, 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 parentFolderId = ? and name = ?. 1222 * 1223 * @param parentFolderId the parent folder ID 1224 * @param name the name 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 fetchByP_N_Last( 1229 long parentFolderId, java.lang.String name, 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 parentFolderId = ? and name = ?. 1234 * 1235 * @param folderId the primary key of the current document library folder 1236 * @param parentFolderId the parent folder ID 1237 * @param name the name 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[] findByP_N_PrevAndNext( 1243 long folderId, long parentFolderId, java.lang.String name, 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 parentFolderId = ? and name = ? from the database. 1249 * 1250 * @param parentFolderId the parent folder ID 1251 * @param name the name 1252 */ 1253 public void removeByP_N(long parentFolderId, java.lang.String name); 1254 1255 /** 1256 * Returns the number of document library folders where parentFolderId = ? and name = ?. 1257 * 1258 * @param parentFolderId the parent folder ID 1259 * @param name the name 1260 * @return the number of matching document library folders 1261 */ 1262 public int countByP_N(long parentFolderId, java.lang.String name); 1263 1264 /** 1265 * Returns all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ?. 1266 * 1267 * @param groupId the group ID 1268 * @param mountPoint the mount point 1269 * @param parentFolderId the parent folder ID 1270 * @return the matching document library folders 1271 */ 1272 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P( 1273 long groupId, boolean mountPoint, long parentFolderId); 1274 1275 /** 1276 * Returns a range of all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ?. 1277 * 1278 * <p> 1279 * 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. 1280 * </p> 1281 * 1282 * @param groupId the group ID 1283 * @param mountPoint the mount point 1284 * @param parentFolderId the parent folder ID 1285 * @param start the lower bound of the range of document library folders 1286 * @param end the upper bound of the range of document library folders (not inclusive) 1287 * @return the range of matching document library folders 1288 */ 1289 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P( 1290 long groupId, boolean mountPoint, long parentFolderId, int start, 1291 int end); 1292 1293 /** 1294 * Returns an ordered range of all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ?. 1295 * 1296 * <p> 1297 * 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. 1298 * </p> 1299 * 1300 * @param groupId the group ID 1301 * @param mountPoint the mount point 1302 * @param parentFolderId the parent folder ID 1303 * @param start the lower bound of the range of document library folders 1304 * @param end the upper bound of the range of document library folders (not inclusive) 1305 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1306 * @return the ordered range of matching document library folders 1307 */ 1308 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P( 1309 long groupId, boolean mountPoint, long parentFolderId, int start, 1310 int end, 1311 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator); 1312 1313 /** 1314 * Returns the first document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ?. 1315 * 1316 * @param groupId the group ID 1317 * @param mountPoint the mount point 1318 * @param parentFolderId the parent folder ID 1319 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1320 * @return the first matching document library folder 1321 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1322 */ 1323 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_M_P_First( 1324 long groupId, boolean mountPoint, long parentFolderId, 1325 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1326 throws com.liferay.portlet.documentlibrary.NoSuchFolderException; 1327 1328 /** 1329 * Returns the first document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ?. 1330 * 1331 * @param groupId the group ID 1332 * @param mountPoint the mount point 1333 * @param parentFolderId the parent folder ID 1334 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1335 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 1336 */ 1337 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_M_P_First( 1338 long groupId, boolean mountPoint, long parentFolderId, 1339 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator); 1340 1341 /** 1342 * Returns the last document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ?. 1343 * 1344 * @param groupId the group ID 1345 * @param mountPoint the mount point 1346 * @param parentFolderId the parent folder ID 1347 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1348 * @return the last matching document library folder 1349 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1350 */ 1351 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_M_P_Last( 1352 long groupId, boolean mountPoint, long parentFolderId, 1353 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1354 throws com.liferay.portlet.documentlibrary.NoSuchFolderException; 1355 1356 /** 1357 * Returns the last document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ?. 1358 * 1359 * @param groupId the group ID 1360 * @param mountPoint the mount point 1361 * @param parentFolderId the parent folder ID 1362 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1363 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 1364 */ 1365 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_M_P_Last( 1366 long groupId, boolean mountPoint, long parentFolderId, 1367 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator); 1368 1369 /** 1370 * Returns the document library folders before and after the current document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ?. 1371 * 1372 * @param folderId the primary key of the current document library folder 1373 * @param groupId the group ID 1374 * @param mountPoint the mount point 1375 * @param parentFolderId the parent folder ID 1376 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1377 * @return the previous, current, and next document library folder 1378 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 1379 */ 1380 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByG_M_P_PrevAndNext( 1381 long folderId, long groupId, boolean mountPoint, long parentFolderId, 1382 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1383 throws com.liferay.portlet.documentlibrary.NoSuchFolderException; 1384 1385 /** 1386 * Returns all the document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ?. 1387 * 1388 * @param groupId the group ID 1389 * @param mountPoint the mount point 1390 * @param parentFolderId the parent folder ID 1391 * @return the matching document library folders that the user has permission to view 1392 */ 1393 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P( 1394 long groupId, boolean mountPoint, long parentFolderId); 1395 1396 /** 1397 * Returns a range of all the document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ?. 1398 * 1399 * <p> 1400 * 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. 1401 * </p> 1402 * 1403 * @param groupId the group ID 1404 * @param mountPoint the mount point 1405 * @param parentFolderId the parent folder ID 1406 * @param start the lower bound of the range of document library folders 1407 * @param end the upper bound of the range of document library folders (not inclusive) 1408 * @return the range of matching document library folders that the user has permission to view 1409 */ 1410 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P( 1411 long groupId, boolean mountPoint, long parentFolderId, int start, 1412 int end); 1413 1414 /** 1415 * Returns an ordered range of all the document library folders that the user has permissions to view where groupId = ? and mountPoint = ? and parentFolderId = ?. 1416 * 1417 * <p> 1418 * 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. 1419 * </p> 1420 * 1421 * @param groupId the group ID 1422 * @param mountPoint the mount point 1423 * @param parentFolderId the parent folder ID 1424 * @param start the lower bound of the range of document library folders 1425 * @param end the upper bound of the range of document library folders (not inclusive) 1426 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1427 * @return the ordered range of matching document library folders that the user has permission to view 1428 */ 1429 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P( 1430 long groupId, boolean mountPoint, long parentFolderId, int start, 1431 int end, 1432 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator); 1433 1434 /** 1435 * 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 = ?. 1436 * 1437 * @param folderId the primary key of the current document library folder 1438 * @param groupId the group ID 1439 * @param mountPoint the mount point 1440 * @param parentFolderId the parent folder ID 1441 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1442 * @return the previous, current, and next document library folder 1443 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 1444 */ 1445 public com.liferay.portlet.documentlibrary.model.DLFolder[] filterFindByG_M_P_PrevAndNext( 1446 long folderId, long groupId, boolean mountPoint, long parentFolderId, 1447 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1448 throws com.liferay.portlet.documentlibrary.NoSuchFolderException; 1449 1450 /** 1451 * Removes all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? from the database. 1452 * 1453 * @param groupId the group ID 1454 * @param mountPoint the mount point 1455 * @param parentFolderId the parent folder ID 1456 */ 1457 public void removeByG_M_P(long groupId, boolean mountPoint, 1458 long parentFolderId); 1459 1460 /** 1461 * Returns the number of document library folders where groupId = ? and mountPoint = ? and parentFolderId = ?. 1462 * 1463 * @param groupId the group ID 1464 * @param mountPoint the mount point 1465 * @param parentFolderId the parent folder ID 1466 * @return the number of matching document library folders 1467 */ 1468 public int countByG_M_P(long groupId, boolean mountPoint, 1469 long parentFolderId); 1470 1471 /** 1472 * Returns the number of document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ?. 1473 * 1474 * @param groupId the group ID 1475 * @param mountPoint the mount point 1476 * @param parentFolderId the parent folder ID 1477 * @return the number of matching document library folders that the user has permission to view 1478 */ 1479 public int filterCountByG_M_P(long groupId, boolean mountPoint, 1480 long parentFolderId); 1481 1482 /** 1483 * 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. 1484 * 1485 * @param groupId the group ID 1486 * @param parentFolderId the parent folder ID 1487 * @param name the name 1488 * @return the matching document library folder 1489 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1490 */ 1491 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_N( 1492 long groupId, long parentFolderId, java.lang.String name) 1493 throws com.liferay.portlet.documentlibrary.NoSuchFolderException; 1494 1495 /** 1496 * 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. 1497 * 1498 * @param groupId the group ID 1499 * @param parentFolderId the parent folder ID 1500 * @param name the name 1501 * @return the matching document library folder, or <code>null</code> if a matching document library folder could not be found 1502 */ 1503 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_N( 1504 long groupId, long parentFolderId, java.lang.String name); 1505 1506 /** 1507 * 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. 1508 * 1509 * @param groupId the group ID 1510 * @param parentFolderId the parent folder ID 1511 * @param name the name 1512 * @param retrieveFromCache whether to use the finder cache 1513 * @return the matching document library folder, or <code>null</code> if a matching document library folder could not be found 1514 */ 1515 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_N( 1516 long groupId, long parentFolderId, java.lang.String name, 1517 boolean retrieveFromCache); 1518 1519 /** 1520 * Removes the document library folder where groupId = ? and parentFolderId = ? and name = ? from the database. 1521 * 1522 * @param groupId the group ID 1523 * @param parentFolderId the parent folder ID 1524 * @param name the name 1525 * @return the document library folder that was removed 1526 */ 1527 public com.liferay.portlet.documentlibrary.model.DLFolder removeByG_P_N( 1528 long groupId, long parentFolderId, java.lang.String name) 1529 throws com.liferay.portlet.documentlibrary.NoSuchFolderException; 1530 1531 /** 1532 * Returns the number of document library folders where groupId = ? and parentFolderId = ? and name = ?. 1533 * 1534 * @param groupId the group ID 1535 * @param parentFolderId the parent folder ID 1536 * @param name the name 1537 * @return the number of matching document library folders 1538 */ 1539 public int countByG_P_N(long groupId, long parentFolderId, 1540 java.lang.String name); 1541 1542 /** 1543 * Returns all the document library folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. 1544 * 1545 * @param folderId the folder ID 1546 * @param companyId the company ID 1547 * @param parentFolderId the parent folder ID 1548 * @param status the status 1549 * @return the matching document library folders 1550 */ 1551 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByF_C_P_NotS( 1552 long folderId, long companyId, long parentFolderId, int status); 1553 1554 /** 1555 * Returns a range of all the document library folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. 1556 * 1557 * <p> 1558 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.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. 1559 * </p> 1560 * 1561 * @param folderId the folder ID 1562 * @param companyId the company ID 1563 * @param parentFolderId the parent folder ID 1564 * @param status the status 1565 * @param start the lower bound of the range of document library folders 1566 * @param end the upper bound of the range of document library folders (not inclusive) 1567 * @return the range of matching document library folders 1568 */ 1569 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByF_C_P_NotS( 1570 long folderId, long companyId, long parentFolderId, int status, 1571 int start, int end); 1572 1573 /** 1574 * Returns an ordered range of all the document library folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. 1575 * 1576 * <p> 1577 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.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. 1578 * </p> 1579 * 1580 * @param folderId the folder ID 1581 * @param companyId the company ID 1582 * @param parentFolderId the parent folder ID 1583 * @param status the status 1584 * @param start the lower bound of the range of document library folders 1585 * @param end the upper bound of the range of document library folders (not inclusive) 1586 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1587 * @return the ordered range of matching document library folders 1588 */ 1589 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByF_C_P_NotS( 1590 long folderId, long companyId, long parentFolderId, int status, 1591 int start, int end, 1592 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator); 1593 1594 /** 1595 * Returns the first document library folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. 1596 * 1597 * @param folderId the folder ID 1598 * @param companyId the company ID 1599 * @param parentFolderId the parent folder ID 1600 * @param status the status 1601 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1602 * @return the first matching document library folder 1603 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1604 */ 1605 public com.liferay.portlet.documentlibrary.model.DLFolder findByF_C_P_NotS_First( 1606 long folderId, long companyId, long parentFolderId, int status, 1607 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1608 throws com.liferay.portlet.documentlibrary.NoSuchFolderException; 1609 1610 /** 1611 * Returns the first document library folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. 1612 * 1613 * @param folderId the folder ID 1614 * @param companyId the company ID 1615 * @param parentFolderId the parent folder ID 1616 * @param status the status 1617 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1618 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 1619 */ 1620 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByF_C_P_NotS_First( 1621 long folderId, long companyId, long parentFolderId, int status, 1622 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator); 1623 1624 /** 1625 * Returns the last document library folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. 1626 * 1627 * @param folderId the folder ID 1628 * @param companyId the company ID 1629 * @param parentFolderId the parent folder ID 1630 * @param status the status 1631 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1632 * @return the last matching document library folder 1633 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1634 */ 1635 public com.liferay.portlet.documentlibrary.model.DLFolder findByF_C_P_NotS_Last( 1636 long folderId, long companyId, long parentFolderId, int status, 1637 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1638 throws com.liferay.portlet.documentlibrary.NoSuchFolderException; 1639 1640 /** 1641 * Returns the last document library folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. 1642 * 1643 * @param folderId the folder ID 1644 * @param companyId the company ID 1645 * @param parentFolderId the parent folder ID 1646 * @param status the status 1647 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1648 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 1649 */ 1650 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByF_C_P_NotS_Last( 1651 long folderId, long companyId, long parentFolderId, int status, 1652 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator); 1653 1654 /** 1655 * Removes all the document library folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ? from the database. 1656 * 1657 * @param folderId the folder ID 1658 * @param companyId the company ID 1659 * @param parentFolderId the parent folder ID 1660 * @param status the status 1661 */ 1662 public void removeByF_C_P_NotS(long folderId, long companyId, 1663 long parentFolderId, int status); 1664 1665 /** 1666 * Returns the number of document library folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. 1667 * 1668 * @param folderId the folder ID 1669 * @param companyId the company ID 1670 * @param parentFolderId the parent folder ID 1671 * @param status the status 1672 * @return the number of matching document library folders 1673 */ 1674 public int countByF_C_P_NotS(long folderId, long companyId, 1675 long parentFolderId, int status); 1676 1677 /** 1678 * Returns all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 1679 * 1680 * @param groupId the group ID 1681 * @param mountPoint the mount point 1682 * @param parentFolderId the parent folder ID 1683 * @param hidden the hidden 1684 * @return the matching document library folders 1685 */ 1686 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P_H( 1687 long groupId, boolean mountPoint, long parentFolderId, boolean hidden); 1688 1689 /** 1690 * Returns a range of all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 1691 * 1692 * <p> 1693 * 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. 1694 * </p> 1695 * 1696 * @param groupId the group ID 1697 * @param mountPoint the mount point 1698 * @param parentFolderId the parent folder ID 1699 * @param hidden the hidden 1700 * @param start the lower bound of the range of document library folders 1701 * @param end the upper bound of the range of document library folders (not inclusive) 1702 * @return the range of matching document library folders 1703 */ 1704 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P_H( 1705 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 1706 int start, int end); 1707 1708 /** 1709 * Returns an ordered range of all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 1710 * 1711 * <p> 1712 * 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. 1713 * </p> 1714 * 1715 * @param groupId the group ID 1716 * @param mountPoint the mount point 1717 * @param parentFolderId the parent folder ID 1718 * @param hidden the hidden 1719 * @param start the lower bound of the range of document library folders 1720 * @param end the upper bound of the range of document library folders (not inclusive) 1721 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1722 * @return the ordered range of matching document library folders 1723 */ 1724 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P_H( 1725 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 1726 int start, int end, 1727 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator); 1728 1729 /** 1730 * Returns the first document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 1731 * 1732 * @param groupId the group ID 1733 * @param mountPoint the mount point 1734 * @param parentFolderId the parent folder ID 1735 * @param hidden the hidden 1736 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1737 * @return the first matching document library folder 1738 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1739 */ 1740 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_M_P_H_First( 1741 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 1742 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1743 throws com.liferay.portlet.documentlibrary.NoSuchFolderException; 1744 1745 /** 1746 * Returns the first document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 1747 * 1748 * @param groupId the group ID 1749 * @param mountPoint the mount point 1750 * @param parentFolderId the parent folder ID 1751 * @param hidden the hidden 1752 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1753 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 1754 */ 1755 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_M_P_H_First( 1756 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 1757 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator); 1758 1759 /** 1760 * Returns the last document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 1761 * 1762 * @param groupId the group ID 1763 * @param mountPoint the mount point 1764 * @param parentFolderId the parent folder ID 1765 * @param hidden the hidden 1766 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1767 * @return the last matching document library folder 1768 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1769 */ 1770 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_M_P_H_Last( 1771 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 1772 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1773 throws com.liferay.portlet.documentlibrary.NoSuchFolderException; 1774 1775 /** 1776 * Returns the last document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 1777 * 1778 * @param groupId the group ID 1779 * @param mountPoint the mount point 1780 * @param parentFolderId the parent folder ID 1781 * @param hidden the hidden 1782 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1783 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 1784 */ 1785 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_M_P_H_Last( 1786 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 1787 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator); 1788 1789 /** 1790 * 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 = ?. 1791 * 1792 * @param folderId the primary key of the current document library folder 1793 * @param groupId the group ID 1794 * @param mountPoint the mount point 1795 * @param parentFolderId the parent folder ID 1796 * @param hidden the hidden 1797 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1798 * @return the previous, current, and next document library folder 1799 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 1800 */ 1801 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByG_M_P_H_PrevAndNext( 1802 long folderId, long groupId, boolean mountPoint, long parentFolderId, 1803 boolean hidden, 1804 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1805 throws com.liferay.portlet.documentlibrary.NoSuchFolderException; 1806 1807 /** 1808 * Returns all the document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 1809 * 1810 * @param groupId the group ID 1811 * @param mountPoint the mount point 1812 * @param parentFolderId the parent folder ID 1813 * @param hidden the hidden 1814 * @return the matching document library folders that the user has permission to view 1815 */ 1816 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P_H( 1817 long groupId, boolean mountPoint, long parentFolderId, boolean hidden); 1818 1819 /** 1820 * Returns a range of all the document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 1821 * 1822 * <p> 1823 * 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. 1824 * </p> 1825 * 1826 * @param groupId the group ID 1827 * @param mountPoint the mount point 1828 * @param parentFolderId the parent folder ID 1829 * @param hidden the hidden 1830 * @param start the lower bound of the range of document library folders 1831 * @param end the upper bound of the range of document library folders (not inclusive) 1832 * @return the range of matching document library folders that the user has permission to view 1833 */ 1834 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P_H( 1835 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 1836 int start, int end); 1837 1838 /** 1839 * 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 = ?. 1840 * 1841 * <p> 1842 * 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. 1843 * </p> 1844 * 1845 * @param groupId the group ID 1846 * @param mountPoint the mount point 1847 * @param parentFolderId the parent folder ID 1848 * @param hidden the hidden 1849 * @param start the lower bound of the range of document library folders 1850 * @param end the upper bound of the range of document library folders (not inclusive) 1851 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1852 * @return the ordered range of matching document library folders that the user has permission to view 1853 */ 1854 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P_H( 1855 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 1856 int start, int end, 1857 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator); 1858 1859 /** 1860 * 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 = ?. 1861 * 1862 * @param folderId the primary key of the current document library folder 1863 * @param groupId the group ID 1864 * @param mountPoint the mount point 1865 * @param parentFolderId the parent folder ID 1866 * @param hidden the hidden 1867 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1868 * @return the previous, current, and next document library folder 1869 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 1870 */ 1871 public com.liferay.portlet.documentlibrary.model.DLFolder[] filterFindByG_M_P_H_PrevAndNext( 1872 long folderId, long groupId, boolean mountPoint, long parentFolderId, 1873 boolean hidden, 1874 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1875 throws com.liferay.portlet.documentlibrary.NoSuchFolderException; 1876 1877 /** 1878 * Removes all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? from the database. 1879 * 1880 * @param groupId the group ID 1881 * @param mountPoint the mount point 1882 * @param parentFolderId the parent folder ID 1883 * @param hidden the hidden 1884 */ 1885 public void removeByG_M_P_H(long groupId, boolean mountPoint, 1886 long parentFolderId, boolean hidden); 1887 1888 /** 1889 * Returns the number of document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 1890 * 1891 * @param groupId the group ID 1892 * @param mountPoint the mount point 1893 * @param parentFolderId the parent folder ID 1894 * @param hidden the hidden 1895 * @return the number of matching document library folders 1896 */ 1897 public int countByG_M_P_H(long groupId, boolean mountPoint, 1898 long parentFolderId, boolean hidden); 1899 1900 /** 1901 * Returns the number of document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 1902 * 1903 * @param groupId the group ID 1904 * @param mountPoint the mount point 1905 * @param parentFolderId the parent folder ID 1906 * @param hidden the hidden 1907 * @return the number of matching document library folders that the user has permission to view 1908 */ 1909 public int filterCountByG_M_P_H(long groupId, boolean mountPoint, 1910 long parentFolderId, boolean hidden); 1911 1912 /** 1913 * Returns all the document library folders where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 1914 * 1915 * @param groupId the group ID 1916 * @param parentFolderId the parent folder ID 1917 * @param hidden the hidden 1918 * @param status the status 1919 * @return the matching document library folders 1920 */ 1921 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P_H_S( 1922 long groupId, long parentFolderId, boolean hidden, int status); 1923 1924 /** 1925 * Returns a range of all the document library folders where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 1926 * 1927 * <p> 1928 * 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. 1929 * </p> 1930 * 1931 * @param groupId the group ID 1932 * @param parentFolderId the parent folder ID 1933 * @param hidden the hidden 1934 * @param status the status 1935 * @param start the lower bound of the range of document library folders 1936 * @param end the upper bound of the range of document library folders (not inclusive) 1937 * @return the range of matching document library folders 1938 */ 1939 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P_H_S( 1940 long groupId, long parentFolderId, boolean hidden, int status, 1941 int start, int end); 1942 1943 /** 1944 * Returns an ordered range of all the document library folders where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 1945 * 1946 * <p> 1947 * 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. 1948 * </p> 1949 * 1950 * @param groupId the group ID 1951 * @param parentFolderId the parent folder ID 1952 * @param hidden the hidden 1953 * @param status the status 1954 * @param start the lower bound of the range of document library folders 1955 * @param end the upper bound of the range of document library folders (not inclusive) 1956 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1957 * @return the ordered range of matching document library folders 1958 */ 1959 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P_H_S( 1960 long groupId, long parentFolderId, boolean hidden, int status, 1961 int start, int end, 1962 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator); 1963 1964 /** 1965 * Returns the first document library folder in the ordered set where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 1966 * 1967 * @param groupId the group ID 1968 * @param parentFolderId the parent folder ID 1969 * @param hidden the hidden 1970 * @param status the status 1971 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1972 * @return the first matching document library folder 1973 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1974 */ 1975 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_H_S_First( 1976 long groupId, long parentFolderId, boolean hidden, int status, 1977 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 1978 throws com.liferay.portlet.documentlibrary.NoSuchFolderException; 1979 1980 /** 1981 * Returns the first document library folder in the ordered set where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 1982 * 1983 * @param groupId the group ID 1984 * @param parentFolderId the parent folder ID 1985 * @param hidden the hidden 1986 * @param status the status 1987 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1988 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 1989 */ 1990 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_H_S_First( 1991 long groupId, long parentFolderId, boolean hidden, int status, 1992 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator); 1993 1994 /** 1995 * Returns the last document library folder in the ordered set where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 1996 * 1997 * @param groupId the group ID 1998 * @param parentFolderId the parent folder ID 1999 * @param hidden the hidden 2000 * @param status the status 2001 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2002 * @return the last matching document library folder 2003 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 2004 */ 2005 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_H_S_Last( 2006 long groupId, long parentFolderId, boolean hidden, int status, 2007 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 2008 throws com.liferay.portlet.documentlibrary.NoSuchFolderException; 2009 2010 /** 2011 * Returns the last document library folder in the ordered set where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 2012 * 2013 * @param groupId the group ID 2014 * @param parentFolderId the parent folder ID 2015 * @param hidden the hidden 2016 * @param status the status 2017 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2018 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 2019 */ 2020 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_H_S_Last( 2021 long groupId, long parentFolderId, boolean hidden, int status, 2022 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator); 2023 2024 /** 2025 * 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 = ?. 2026 * 2027 * @param folderId the primary key of the current document library folder 2028 * @param groupId the group ID 2029 * @param parentFolderId the parent folder ID 2030 * @param hidden the hidden 2031 * @param status the status 2032 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2033 * @return the previous, current, and next document library folder 2034 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 2035 */ 2036 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByG_P_H_S_PrevAndNext( 2037 long folderId, long groupId, long parentFolderId, boolean hidden, 2038 int status, 2039 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 2040 throws com.liferay.portlet.documentlibrary.NoSuchFolderException; 2041 2042 /** 2043 * Returns all the document library folders that the user has permission to view where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 2044 * 2045 * @param groupId the group ID 2046 * @param parentFolderId the parent folder ID 2047 * @param hidden the hidden 2048 * @param status the status 2049 * @return the matching document library folders that the user has permission to view 2050 */ 2051 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P_H_S( 2052 long groupId, long parentFolderId, boolean hidden, int status); 2053 2054 /** 2055 * Returns a range of all the document library folders that the user has permission to view where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 2056 * 2057 * <p> 2058 * 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. 2059 * </p> 2060 * 2061 * @param groupId the group ID 2062 * @param parentFolderId the parent folder ID 2063 * @param hidden the hidden 2064 * @param status the status 2065 * @param start the lower bound of the range of document library folders 2066 * @param end the upper bound of the range of document library folders (not inclusive) 2067 * @return the range of matching document library folders that the user has permission to view 2068 */ 2069 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P_H_S( 2070 long groupId, long parentFolderId, boolean hidden, int status, 2071 int start, int end); 2072 2073 /** 2074 * 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 = ?. 2075 * 2076 * <p> 2077 * 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. 2078 * </p> 2079 * 2080 * @param groupId the group ID 2081 * @param parentFolderId the parent folder ID 2082 * @param hidden the hidden 2083 * @param status the status 2084 * @param start the lower bound of the range of document library folders 2085 * @param end the upper bound of the range of document library folders (not inclusive) 2086 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2087 * @return the ordered range of matching document library folders that the user has permission to view 2088 */ 2089 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P_H_S( 2090 long groupId, long parentFolderId, boolean hidden, int status, 2091 int start, int end, 2092 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator); 2093 2094 /** 2095 * 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 = ?. 2096 * 2097 * @param folderId the primary key of the current document library folder 2098 * @param groupId the group ID 2099 * @param parentFolderId the parent folder ID 2100 * @param hidden the hidden 2101 * @param status the status 2102 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2103 * @return the previous, current, and next document library folder 2104 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 2105 */ 2106 public com.liferay.portlet.documentlibrary.model.DLFolder[] filterFindByG_P_H_S_PrevAndNext( 2107 long folderId, long groupId, long parentFolderId, boolean hidden, 2108 int status, 2109 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 2110 throws com.liferay.portlet.documentlibrary.NoSuchFolderException; 2111 2112 /** 2113 * Removes all the document library folders where groupId = ? and parentFolderId = ? and hidden = ? and status = ? from the database. 2114 * 2115 * @param groupId the group ID 2116 * @param parentFolderId the parent folder ID 2117 * @param hidden the hidden 2118 * @param status the status 2119 */ 2120 public void removeByG_P_H_S(long groupId, long parentFolderId, 2121 boolean hidden, int status); 2122 2123 /** 2124 * Returns the number of document library folders where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 2125 * 2126 * @param groupId the group ID 2127 * @param parentFolderId the parent folder ID 2128 * @param hidden the hidden 2129 * @param status the status 2130 * @return the number of matching document library folders 2131 */ 2132 public int countByG_P_H_S(long groupId, long parentFolderId, 2133 boolean hidden, int status); 2134 2135 /** 2136 * Returns the number of document library folders that the user has permission to view where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. 2137 * 2138 * @param groupId the group ID 2139 * @param parentFolderId the parent folder ID 2140 * @param hidden the hidden 2141 * @param status the status 2142 * @return the number of matching document library folders that the user has permission to view 2143 */ 2144 public int filterCountByG_P_H_S(long groupId, long parentFolderId, 2145 boolean hidden, int status); 2146 2147 /** 2148 * Returns all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. 2149 * 2150 * @param groupId the group ID 2151 * @param mountPoint the mount point 2152 * @param parentFolderId the parent folder ID 2153 * @param hidden the hidden 2154 * @param status the status 2155 * @return the matching document library folders 2156 */ 2157 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P_H_S( 2158 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2159 int status); 2160 2161 /** 2162 * Returns a range of all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. 2163 * 2164 * <p> 2165 * 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. 2166 * </p> 2167 * 2168 * @param groupId the group ID 2169 * @param mountPoint the mount point 2170 * @param parentFolderId the parent folder ID 2171 * @param hidden the hidden 2172 * @param status the status 2173 * @param start the lower bound of the range of document library folders 2174 * @param end the upper bound of the range of document library folders (not inclusive) 2175 * @return the range of matching document library folders 2176 */ 2177 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P_H_S( 2178 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2179 int status, int start, int end); 2180 2181 /** 2182 * Returns an ordered range of all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. 2183 * 2184 * <p> 2185 * 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. 2186 * </p> 2187 * 2188 * @param groupId the group ID 2189 * @param mountPoint the mount point 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 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2196 * @return the ordered range of matching document library folders 2197 */ 2198 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P_H_S( 2199 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2200 int status, int start, int end, 2201 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator); 2202 2203 /** 2204 * Returns the first document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. 2205 * 2206 * @param groupId the group ID 2207 * @param mountPoint the mount point 2208 * @param parentFolderId the parent folder ID 2209 * @param hidden the hidden 2210 * @param status the status 2211 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2212 * @return the first matching document library folder 2213 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 2214 */ 2215 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_M_P_H_S_First( 2216 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2217 int status, 2218 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 2219 throws com.liferay.portlet.documentlibrary.NoSuchFolderException; 2220 2221 /** 2222 * Returns the first document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. 2223 * 2224 * @param groupId the group ID 2225 * @param mountPoint the mount point 2226 * @param parentFolderId the parent folder ID 2227 * @param hidden the hidden 2228 * @param status the status 2229 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2230 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 2231 */ 2232 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_M_P_H_S_First( 2233 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2234 int status, 2235 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator); 2236 2237 /** 2238 * Returns the last document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. 2239 * 2240 * @param groupId the group ID 2241 * @param mountPoint the mount point 2242 * @param parentFolderId the parent folder ID 2243 * @param hidden the hidden 2244 * @param status the status 2245 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2246 * @return the last matching document library folder 2247 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 2248 */ 2249 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_M_P_H_S_Last( 2250 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2251 int status, 2252 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 2253 throws com.liferay.portlet.documentlibrary.NoSuchFolderException; 2254 2255 /** 2256 * Returns the last document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. 2257 * 2258 * @param groupId the group ID 2259 * @param mountPoint the mount point 2260 * @param parentFolderId the parent folder ID 2261 * @param hidden the hidden 2262 * @param status the status 2263 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2264 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 2265 */ 2266 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_M_P_H_S_Last( 2267 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2268 int status, 2269 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator); 2270 2271 /** 2272 * 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 = ?. 2273 * 2274 * @param folderId the primary key of the current document library folder 2275 * @param groupId the group ID 2276 * @param mountPoint the mount point 2277 * @param parentFolderId the parent folder ID 2278 * @param hidden the hidden 2279 * @param status the status 2280 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2281 * @return the previous, current, and next document library folder 2282 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 2283 */ 2284 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByG_M_P_H_S_PrevAndNext( 2285 long folderId, long groupId, boolean mountPoint, long parentFolderId, 2286 boolean hidden, int status, 2287 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 2288 throws com.liferay.portlet.documentlibrary.NoSuchFolderException; 2289 2290 /** 2291 * Returns all the document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. 2292 * 2293 * @param groupId the group ID 2294 * @param mountPoint the mount point 2295 * @param parentFolderId the parent folder ID 2296 * @param hidden the hidden 2297 * @param status the status 2298 * @return the matching document library folders that the user has permission to view 2299 */ 2300 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P_H_S( 2301 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2302 int status); 2303 2304 /** 2305 * 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 = ?. 2306 * 2307 * <p> 2308 * 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. 2309 * </p> 2310 * 2311 * @param groupId the group ID 2312 * @param mountPoint the mount point 2313 * @param parentFolderId the parent folder ID 2314 * @param hidden the hidden 2315 * @param status the status 2316 * @param start the lower bound of the range of document library folders 2317 * @param end the upper bound of the range of document library folders (not inclusive) 2318 * @return the range of matching document library folders that the user has permission to view 2319 */ 2320 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P_H_S( 2321 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2322 int status, int start, int end); 2323 2324 /** 2325 * 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 = ?. 2326 * 2327 * <p> 2328 * 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. 2329 * </p> 2330 * 2331 * @param groupId the group ID 2332 * @param mountPoint the mount point 2333 * @param parentFolderId the parent folder ID 2334 * @param hidden the hidden 2335 * @param status the status 2336 * @param start the lower bound of the range of document library folders 2337 * @param end the upper bound of the range of document library folders (not inclusive) 2338 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2339 * @return the ordered range of matching document library folders that the user has permission to view 2340 */ 2341 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P_H_S( 2342 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2343 int status, int start, int end, 2344 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator); 2345 2346 /** 2347 * 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 = ?. 2348 * 2349 * @param folderId the primary key of the current document library folder 2350 * @param groupId the group ID 2351 * @param mountPoint the mount point 2352 * @param parentFolderId the parent folder ID 2353 * @param hidden the hidden 2354 * @param status the status 2355 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2356 * @return the previous, current, and next document library folder 2357 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 2358 */ 2359 public com.liferay.portlet.documentlibrary.model.DLFolder[] filterFindByG_M_P_H_S_PrevAndNext( 2360 long folderId, long groupId, boolean mountPoint, long parentFolderId, 2361 boolean hidden, int status, 2362 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) 2363 throws com.liferay.portlet.documentlibrary.NoSuchFolderException; 2364 2365 /** 2366 * Removes all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ? from the database. 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 */ 2374 public void removeByG_M_P_H_S(long groupId, boolean mountPoint, 2375 long parentFolderId, boolean hidden, int status); 2376 2377 /** 2378 * Returns the number of document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. 2379 * 2380 * @param groupId the group ID 2381 * @param mountPoint the mount point 2382 * @param parentFolderId the parent folder ID 2383 * @param hidden the hidden 2384 * @param status the status 2385 * @return the number of matching document library folders 2386 */ 2387 public int countByG_M_P_H_S(long groupId, boolean mountPoint, 2388 long parentFolderId, boolean hidden, int status); 2389 2390 /** 2391 * Returns the number of document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. 2392 * 2393 * @param groupId the group ID 2394 * @param mountPoint the mount point 2395 * @param parentFolderId the parent folder ID 2396 * @param hidden the hidden 2397 * @param status the status 2398 * @return the number of matching document library folders that the user has permission to view 2399 */ 2400 public int filterCountByG_M_P_H_S(long groupId, boolean mountPoint, 2401 long parentFolderId, boolean hidden, int status); 2402 2403 /** 2404 * Caches the document library folder in the entity cache if it is enabled. 2405 * 2406 * @param dlFolder the document library folder 2407 */ 2408 public void cacheResult( 2409 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder); 2410 2411 /** 2412 * Caches the document library folders in the entity cache if it is enabled. 2413 * 2414 * @param dlFolders the document library folders 2415 */ 2416 public void cacheResult( 2417 java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> dlFolders); 2418 2419 /** 2420 * Creates a new document library folder with the primary key. Does not add the document library folder to the database. 2421 * 2422 * @param folderId the primary key for the new document library folder 2423 * @return the new document library folder 2424 */ 2425 public com.liferay.portlet.documentlibrary.model.DLFolder create( 2426 long folderId); 2427 2428 /** 2429 * Removes the document library folder with the primary key from the database. Also notifies the appropriate model listeners. 2430 * 2431 * @param folderId the primary key of the document library folder 2432 * @return the document library folder that was removed 2433 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 2434 */ 2435 public com.liferay.portlet.documentlibrary.model.DLFolder remove( 2436 long folderId) 2437 throws com.liferay.portlet.documentlibrary.NoSuchFolderException; 2438 2439 public com.liferay.portlet.documentlibrary.model.DLFolder updateImpl( 2440 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder); 2441 2442 /** 2443 * Returns the document library folder with the primary key or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFolderException} if it could not be found. 2444 * 2445 * @param folderId the primary key of the document library folder 2446 * @return the document library folder 2447 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 2448 */ 2449 public com.liferay.portlet.documentlibrary.model.DLFolder findByPrimaryKey( 2450 long folderId) 2451 throws com.liferay.portlet.documentlibrary.NoSuchFolderException; 2452 2453 /** 2454 * Returns the document library folder with the primary key or returns <code>null</code> if it could not be found. 2455 * 2456 * @param folderId the primary key of the document library folder 2457 * @return the document library folder, or <code>null</code> if a document library folder with the primary key could not be found 2458 */ 2459 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByPrimaryKey( 2460 long folderId); 2461 2462 @Override 2463 public java.util.Map<java.io.Serializable, com.liferay.portlet.documentlibrary.model.DLFolder> fetchByPrimaryKeys( 2464 java.util.Set<java.io.Serializable> primaryKeys); 2465 2466 /** 2467 * Returns all the document library folders. 2468 * 2469 * @return the document library folders 2470 */ 2471 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll(); 2472 2473 /** 2474 * Returns a range of all the document library folders. 2475 * 2476 * <p> 2477 * 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. 2478 * </p> 2479 * 2480 * @param start the lower bound of the range of document library folders 2481 * @param end the upper bound of the range of document library folders (not inclusive) 2482 * @return the range of document library folders 2483 */ 2484 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll( 2485 int start, int end); 2486 2487 /** 2488 * Returns an ordered range of all the document library folders. 2489 * 2490 * <p> 2491 * 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. 2492 * </p> 2493 * 2494 * @param start the lower bound of the range of document library folders 2495 * @param end the upper bound of the range of document library folders (not inclusive) 2496 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2497 * @return the ordered range of document library folders 2498 */ 2499 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll( 2500 int start, int end, 2501 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator); 2502 2503 /** 2504 * Removes all the document library folders from the database. 2505 */ 2506 public void removeAll(); 2507 2508 /** 2509 * Returns the number of document library folders. 2510 * 2511 * @return the number of document library folders 2512 */ 2513 public int countAll(); 2514 2515 /** 2516 * Returns the primaryKeys of document library file entry types associated with the document library folder. 2517 * 2518 * @param pk the primary key of the document library folder 2519 * @return long[] of the primaryKeys of document library file entry types associated with the document library folder 2520 */ 2521 public long[] getDLFileEntryTypePrimaryKeys(long pk); 2522 2523 /** 2524 * Returns all the document library file entry types associated with the document library folder. 2525 * 2526 * @param pk the primary key of the document library folder 2527 * @return the document library file entry types associated with the document library folder 2528 */ 2529 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypes( 2530 long pk); 2531 2532 /** 2533 * Returns a range of all the document library file entry types associated with the document library folder. 2534 * 2535 * <p> 2536 * 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. 2537 * </p> 2538 * 2539 * @param pk the primary key of the document library folder 2540 * @param start the lower bound of the range of document library folders 2541 * @param end the upper bound of the range of document library folders (not inclusive) 2542 * @return the range of document library file entry types associated with the document library folder 2543 */ 2544 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypes( 2545 long pk, int start, int end); 2546 2547 /** 2548 * Returns an ordered range of all the document library file entry types associated with the document library folder. 2549 * 2550 * <p> 2551 * 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. 2552 * </p> 2553 * 2554 * @param pk the primary key of the document library folder 2555 * @param start the lower bound of the range of document library folders 2556 * @param end the upper bound of the range of document library folders (not inclusive) 2557 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2558 * @return the ordered range of document library file entry types associated with the document library folder 2559 */ 2560 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypes( 2561 long pk, int start, int end, 2562 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntryType> orderByComparator); 2563 2564 /** 2565 * Returns the number of document library file entry types associated with the document library folder. 2566 * 2567 * @param pk the primary key of the document library folder 2568 * @return the number of document library file entry types associated with the document library folder 2569 */ 2570 public int getDLFileEntryTypesSize(long pk); 2571 2572 /** 2573 * Returns <code>true</code> if the document library file entry type is associated with the document library folder. 2574 * 2575 * @param pk the primary key of the document library folder 2576 * @param dlFileEntryTypePK the primary key of the document library file entry type 2577 * @return <code>true</code> if the document library file entry type is associated with the document library folder; <code>false</code> otherwise 2578 */ 2579 public boolean containsDLFileEntryType(long pk, long dlFileEntryTypePK); 2580 2581 /** 2582 * Returns <code>true</code> if the document library folder has any document library file entry types associated with it. 2583 * 2584 * @param pk the primary key of the document library folder to check for associations with document library file entry types 2585 * @return <code>true</code> if the document library folder has any document library file entry types associated with it; <code>false</code> otherwise 2586 */ 2587 public boolean containsDLFileEntryTypes(long pk); 2588 2589 /** 2590 * 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. 2591 * 2592 * @param pk the primary key of the document library folder 2593 * @param dlFileEntryTypePK the primary key of the document library file entry type 2594 */ 2595 public void addDLFileEntryType(long pk, long dlFileEntryTypePK); 2596 2597 /** 2598 * 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. 2599 * 2600 * @param pk the primary key of the document library folder 2601 * @param dlFileEntryType the document library file entry type 2602 */ 2603 public void addDLFileEntryType(long pk, 2604 com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType); 2605 2606 /** 2607 * 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. 2608 * 2609 * @param pk the primary key of the document library folder 2610 * @param dlFileEntryTypePKs the primary keys of the document library file entry types 2611 */ 2612 public void addDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs); 2613 2614 /** 2615 * 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. 2616 * 2617 * @param pk the primary key of the document library folder 2618 * @param dlFileEntryTypes the document library file entry types 2619 */ 2620 public void addDLFileEntryTypes(long pk, 2621 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> dlFileEntryTypes); 2622 2623 /** 2624 * 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. 2625 * 2626 * @param pk the primary key of the document library folder to clear the associated document library file entry types from 2627 */ 2628 public void clearDLFileEntryTypes(long pk); 2629 2630 /** 2631 * 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. 2632 * 2633 * @param pk the primary key of the document library folder 2634 * @param dlFileEntryTypePK the primary key of the document library file entry type 2635 */ 2636 public void removeDLFileEntryType(long pk, long dlFileEntryTypePK); 2637 2638 /** 2639 * 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. 2640 * 2641 * @param pk the primary key of the document library folder 2642 * @param dlFileEntryType the document library file entry type 2643 */ 2644 public void removeDLFileEntryType(long pk, 2645 com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType); 2646 2647 /** 2648 * 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. 2649 * 2650 * @param pk the primary key of the document library folder 2651 * @param dlFileEntryTypePKs the primary keys of the document library file entry types 2652 */ 2653 public void removeDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs); 2654 2655 /** 2656 * 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. 2657 * 2658 * @param pk the primary key of the document library folder 2659 * @param dlFileEntryTypes the document library file entry types 2660 */ 2661 public void removeDLFileEntryTypes(long pk, 2662 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> dlFileEntryTypes); 2663 2664 /** 2665 * 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. 2666 * 2667 * @param pk the primary key of the document library folder 2668 * @param dlFileEntryTypePKs the primary keys of the document library file entry types to be associated with the document library folder 2669 */ 2670 public void setDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs); 2671 2672 /** 2673 * 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. 2674 * 2675 * @param pk the primary key of the document library folder 2676 * @param dlFileEntryTypes the document library file entry types to be associated with the document library folder 2677 */ 2678 public void setDLFileEntryTypes(long pk, 2679 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> dlFileEntryTypes); 2680 }