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