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