001 /** 002 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. 003 * 004 * The contents of this file are subject to the terms of the Liferay Enterprise 005 * Subscription License ("License"). You may not use this file except in 006 * compliance with the License. You can obtain a copy of the License by 007 * contacting Liferay, Inc. See the License for the specific language governing 008 * permissions and limitations under the License, including but not limited to 009 * distribution rights of the Software. 010 * 011 * 012 * 013 */ 014 015 package com.liferay.portlet.documentlibrary.service.persistence; 016 017 import com.liferay.portal.kernel.exception.SystemException; 018 import com.liferay.portal.service.persistence.BasePersistence; 019 020 import com.liferay.portlet.documentlibrary.model.DLFolder; 021 022 /** 023 * The persistence interface for the document library folder service. 024 * 025 * <p> 026 * Caching information and settings can be found in <code>portal.properties</code> 027 * </p> 028 * 029 * @author Brian Wing Shun Chan 030 * @see DLFolderPersistenceImpl 031 * @see DLFolderUtil 032 * @generated 033 */ 034 public interface DLFolderPersistence extends BasePersistence<DLFolder> { 035 /* 036 * NOTE FOR DEVELOPERS: 037 * 038 * 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. 039 */ 040 041 /** 042 * Caches the document library folder in the entity cache if it is enabled. 043 * 044 * @param dlFolder the document library folder 045 */ 046 public void cacheResult( 047 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder); 048 049 /** 050 * Caches the document library folders in the entity cache if it is enabled. 051 * 052 * @param dlFolders the document library folders 053 */ 054 public void cacheResult( 055 java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> dlFolders); 056 057 /** 058 * Creates a new document library folder with the primary key. Does not add the document library folder to the database. 059 * 060 * @param folderId the primary key for the new document library folder 061 * @return the new document library folder 062 */ 063 public com.liferay.portlet.documentlibrary.model.DLFolder create( 064 long folderId); 065 066 /** 067 * Removes the document library folder with the primary key from the database. Also notifies the appropriate model listeners. 068 * 069 * @param folderId the primary key of the document library folder 070 * @return the document library folder that was removed 071 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 072 * @throws SystemException if a system exception occurred 073 */ 074 public com.liferay.portlet.documentlibrary.model.DLFolder remove( 075 long folderId) 076 throws com.liferay.portal.kernel.exception.SystemException, 077 com.liferay.portlet.documentlibrary.NoSuchFolderException; 078 079 public com.liferay.portlet.documentlibrary.model.DLFolder updateImpl( 080 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder, 081 boolean merge) 082 throws com.liferay.portal.kernel.exception.SystemException; 083 084 /** 085 * Returns the document library folder with the primary key or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFolderException} if it could not be found. 086 * 087 * @param folderId the primary key of the document library folder 088 * @return the document library folder 089 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 090 * @throws SystemException if a system exception occurred 091 */ 092 public com.liferay.portlet.documentlibrary.model.DLFolder findByPrimaryKey( 093 long folderId) 094 throws com.liferay.portal.kernel.exception.SystemException, 095 com.liferay.portlet.documentlibrary.NoSuchFolderException; 096 097 /** 098 * Returns the document library folder with the primary key or returns <code>null</code> if it could not be found. 099 * 100 * @param folderId the primary key of the document library folder 101 * @return the document library folder, or <code>null</code> if a document library folder with the primary key could not be found 102 * @throws SystemException if a system exception occurred 103 */ 104 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByPrimaryKey( 105 long folderId) 106 throws com.liferay.portal.kernel.exception.SystemException; 107 108 /** 109 * Returns all the document library folders where uuid = ?. 110 * 111 * @param uuid the uuid 112 * @return the matching document library folders 113 * @throws SystemException if a system exception occurred 114 */ 115 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid( 116 java.lang.String uuid) 117 throws com.liferay.portal.kernel.exception.SystemException; 118 119 /** 120 * Returns a range of all the document library folders where uuid = ?. 121 * 122 * <p> 123 * 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. 124 * </p> 125 * 126 * @param uuid the uuid 127 * @param start the lower bound of the range of document library folders 128 * @param end the upper bound of the range of document library folders (not inclusive) 129 * @return the range of matching document library folders 130 * @throws SystemException if a system exception occurred 131 */ 132 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid( 133 java.lang.String uuid, int start, int end) 134 throws com.liferay.portal.kernel.exception.SystemException; 135 136 /** 137 * Returns an ordered range of all the document library folders where uuid = ?. 138 * 139 * <p> 140 * 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. 141 * </p> 142 * 143 * @param uuid the uuid 144 * @param start the lower bound of the range of document library folders 145 * @param end the upper bound of the range of document library folders (not inclusive) 146 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 147 * @return the ordered range of matching document library folders 148 * @throws SystemException if a system exception occurred 149 */ 150 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid( 151 java.lang.String uuid, int start, int end, 152 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 153 throws com.liferay.portal.kernel.exception.SystemException; 154 155 /** 156 * Returns the first document library folder in the ordered set where uuid = ?. 157 * 158 * <p> 159 * 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. 160 * </p> 161 * 162 * @param uuid the uuid 163 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 164 * @return the first matching document library folder 165 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 166 * @throws SystemException if a system exception occurred 167 */ 168 public com.liferay.portlet.documentlibrary.model.DLFolder findByUuid_First( 169 java.lang.String uuid, 170 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 171 throws com.liferay.portal.kernel.exception.SystemException, 172 com.liferay.portlet.documentlibrary.NoSuchFolderException; 173 174 /** 175 * Returns the last document library folder in the ordered set where uuid = ?. 176 * 177 * <p> 178 * 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. 179 * </p> 180 * 181 * @param uuid the uuid 182 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 183 * @return the last 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_Last( 188 java.lang.String uuid, 189 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 190 throws com.liferay.portal.kernel.exception.SystemException, 191 com.liferay.portlet.documentlibrary.NoSuchFolderException; 192 193 /** 194 * Returns the document library folders before and after the current document library folder in the ordered set where uuid = ?. 195 * 196 * <p> 197 * 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. 198 * </p> 199 * 200 * @param folderId the primary key of the current document library folder 201 * @param uuid the uuid 202 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 203 * @return the previous, current, and next document library folder 204 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 205 * @throws SystemException if a system exception occurred 206 */ 207 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByUuid_PrevAndNext( 208 long folderId, java.lang.String uuid, 209 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 210 throws com.liferay.portal.kernel.exception.SystemException, 211 com.liferay.portlet.documentlibrary.NoSuchFolderException; 212 213 /** 214 * Returns the document library folder where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFolderException} if it could not be found. 215 * 216 * @param uuid the uuid 217 * @param groupId the group ID 218 * @return the matching document library folder 219 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 220 * @throws SystemException if a system exception occurred 221 */ 222 public com.liferay.portlet.documentlibrary.model.DLFolder findByUUID_G( 223 java.lang.String uuid, long groupId) 224 throws com.liferay.portal.kernel.exception.SystemException, 225 com.liferay.portlet.documentlibrary.NoSuchFolderException; 226 227 /** 228 * Returns the document library folder where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 229 * 230 * @param uuid the uuid 231 * @param groupId the group ID 232 * @return the matching document library folder, or <code>null</code> if a matching document library folder could not be found 233 * @throws SystemException if a system exception occurred 234 */ 235 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByUUID_G( 236 java.lang.String uuid, long groupId) 237 throws com.liferay.portal.kernel.exception.SystemException; 238 239 /** 240 * 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. 241 * 242 * @param uuid the uuid 243 * @param groupId the group ID 244 * @param retrieveFromCache whether to use the finder cache 245 * @return the matching document library folder, or <code>null</code> if a matching document library folder could not be found 246 * @throws SystemException if a system exception occurred 247 */ 248 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByUUID_G( 249 java.lang.String uuid, long groupId, boolean retrieveFromCache) 250 throws com.liferay.portal.kernel.exception.SystemException; 251 252 /** 253 * Returns all the document library folders where groupId = ?. 254 * 255 * @param groupId the group ID 256 * @return the matching document library folders 257 * @throws SystemException if a system exception occurred 258 */ 259 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByGroupId( 260 long groupId) 261 throws com.liferay.portal.kernel.exception.SystemException; 262 263 /** 264 * Returns a range of all the document library folders where groupId = ?. 265 * 266 * <p> 267 * 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. 268 * </p> 269 * 270 * @param groupId the group ID 271 * @param start the lower bound of the range of document library folders 272 * @param end the upper bound of the range of document library folders (not inclusive) 273 * @return the range of matching document library folders 274 * @throws SystemException if a system exception occurred 275 */ 276 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByGroupId( 277 long groupId, int start, int end) 278 throws com.liferay.portal.kernel.exception.SystemException; 279 280 /** 281 * Returns an ordered range of all the document library folders where groupId = ?. 282 * 283 * <p> 284 * 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. 285 * </p> 286 * 287 * @param groupId the group ID 288 * @param start the lower bound of the range of document library folders 289 * @param end the upper bound of the range of document library folders (not inclusive) 290 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 291 * @return the ordered range of matching document library folders 292 * @throws SystemException if a system exception occurred 293 */ 294 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByGroupId( 295 long groupId, int start, int end, 296 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 297 throws com.liferay.portal.kernel.exception.SystemException; 298 299 /** 300 * Returns the first document library folder in the ordered set where groupId = ?. 301 * 302 * <p> 303 * 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. 304 * </p> 305 * 306 * @param groupId the group ID 307 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 308 * @return the first matching document library folder 309 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 310 * @throws SystemException if a system exception occurred 311 */ 312 public com.liferay.portlet.documentlibrary.model.DLFolder findByGroupId_First( 313 long groupId, 314 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 315 throws com.liferay.portal.kernel.exception.SystemException, 316 com.liferay.portlet.documentlibrary.NoSuchFolderException; 317 318 /** 319 * Returns the last document library folder in the ordered set where groupId = ?. 320 * 321 * <p> 322 * 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. 323 * </p> 324 * 325 * @param groupId the group 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 findByGroupId_Last( 332 long groupId, 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 document library folders before and after the current document library folder in the ordered set where groupId = ?. 339 * 340 * <p> 341 * 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. 342 * </p> 343 * 344 * @param folderId the primary key of the current document library folder 345 * @param groupId the group ID 346 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 347 * @return the previous, current, and next document library folder 348 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 349 * @throws SystemException if a system exception occurred 350 */ 351 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByGroupId_PrevAndNext( 352 long folderId, long groupId, 353 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 354 throws com.liferay.portal.kernel.exception.SystemException, 355 com.liferay.portlet.documentlibrary.NoSuchFolderException; 356 357 /** 358 * Returns all the document library folders that the user has permission to view where groupId = ?. 359 * 360 * @param groupId the group ID 361 * @return the matching document library folders that the user has permission to view 362 * @throws SystemException if a system exception occurred 363 */ 364 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByGroupId( 365 long groupId) 366 throws com.liferay.portal.kernel.exception.SystemException; 367 368 /** 369 * Returns a range of all the document library folders that the user has permission to view where groupId = ?. 370 * 371 * <p> 372 * 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. 373 * </p> 374 * 375 * @param groupId the group ID 376 * @param start the lower bound of the range of document library folders 377 * @param end the upper bound of the range of document library folders (not inclusive) 378 * @return the range of matching document library folders that the user has permission to view 379 * @throws SystemException if a system exception occurred 380 */ 381 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByGroupId( 382 long groupId, int start, int end) 383 throws com.liferay.portal.kernel.exception.SystemException; 384 385 /** 386 * Returns an ordered range of all the document library folders that the user has permissions to view where groupId = ?. 387 * 388 * <p> 389 * 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. 390 * </p> 391 * 392 * @param groupId the group ID 393 * @param start the lower bound of the range of document library folders 394 * @param end the upper bound of the range of document library folders (not inclusive) 395 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 396 * @return the ordered range of matching document library folders that the user has permission to view 397 * @throws SystemException if a system exception occurred 398 */ 399 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByGroupId( 400 long groupId, int start, int end, 401 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 402 throws com.liferay.portal.kernel.exception.SystemException; 403 404 /** 405 * 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 = ?. 406 * 407 * @param folderId the primary key of the current document library folder 408 * @param groupId the group ID 409 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 410 * @return the previous, current, and next document library folder 411 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 412 * @throws SystemException if a system exception occurred 413 */ 414 public com.liferay.portlet.documentlibrary.model.DLFolder[] filterFindByGroupId_PrevAndNext( 415 long folderId, long groupId, 416 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 417 throws com.liferay.portal.kernel.exception.SystemException, 418 com.liferay.portlet.documentlibrary.NoSuchFolderException; 419 420 /** 421 * Returns all the document library folders where companyId = ?. 422 * 423 * @param companyId the company ID 424 * @return the matching document library folders 425 * @throws SystemException if a system exception occurred 426 */ 427 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId( 428 long companyId) 429 throws com.liferay.portal.kernel.exception.SystemException; 430 431 /** 432 * Returns a range of all the document library folders where companyId = ?. 433 * 434 * <p> 435 * 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. 436 * </p> 437 * 438 * @param companyId the company ID 439 * @param start the lower bound of the range of document library folders 440 * @param end the upper bound of the range of document library folders (not inclusive) 441 * @return the range of matching document library folders 442 * @throws SystemException if a system exception occurred 443 */ 444 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId( 445 long companyId, int start, int end) 446 throws com.liferay.portal.kernel.exception.SystemException; 447 448 /** 449 * Returns an ordered range of all the document library folders where companyId = ?. 450 * 451 * <p> 452 * 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. 453 * </p> 454 * 455 * @param companyId the company ID 456 * @param start the lower bound of the range of document library folders 457 * @param end the upper bound of the range of document library folders (not inclusive) 458 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 459 * @return the ordered range of matching document library folders 460 * @throws SystemException if a system exception occurred 461 */ 462 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId( 463 long companyId, int start, int end, 464 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 465 throws com.liferay.portal.kernel.exception.SystemException; 466 467 /** 468 * Returns the first document library folder in the ordered set where companyId = ?. 469 * 470 * <p> 471 * 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. 472 * </p> 473 * 474 * @param companyId the company ID 475 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 476 * @return the first matching document library folder 477 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 478 * @throws SystemException if a system exception occurred 479 */ 480 public com.liferay.portlet.documentlibrary.model.DLFolder findByCompanyId_First( 481 long companyId, 482 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 483 throws com.liferay.portal.kernel.exception.SystemException, 484 com.liferay.portlet.documentlibrary.NoSuchFolderException; 485 486 /** 487 * Returns the last document library folder in the ordered set where companyId = ?. 488 * 489 * <p> 490 * 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. 491 * </p> 492 * 493 * @param companyId the company ID 494 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 495 * @return the last matching document library folder 496 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 497 * @throws SystemException if a system exception occurred 498 */ 499 public com.liferay.portlet.documentlibrary.model.DLFolder findByCompanyId_Last( 500 long companyId, 501 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 502 throws com.liferay.portal.kernel.exception.SystemException, 503 com.liferay.portlet.documentlibrary.NoSuchFolderException; 504 505 /** 506 * Returns the document library folders before and after the current document library folder in the ordered set where companyId = ?. 507 * 508 * <p> 509 * 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. 510 * </p> 511 * 512 * @param folderId the primary key of the current document library folder 513 * @param companyId the company ID 514 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 515 * @return the previous, current, and next document library folder 516 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 517 * @throws SystemException if a system exception occurred 518 */ 519 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByCompanyId_PrevAndNext( 520 long folderId, long companyId, 521 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 522 throws com.liferay.portal.kernel.exception.SystemException, 523 com.liferay.portlet.documentlibrary.NoSuchFolderException; 524 525 /** 526 * Returns the document library folder where repositoryId = ? or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFolderException} if it could not be found. 527 * 528 * @param repositoryId the repository ID 529 * @return the matching document library folder 530 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 531 * @throws SystemException if a system exception occurred 532 */ 533 public com.liferay.portlet.documentlibrary.model.DLFolder findByRepositoryId( 534 long repositoryId) 535 throws com.liferay.portal.kernel.exception.SystemException, 536 com.liferay.portlet.documentlibrary.NoSuchFolderException; 537 538 /** 539 * Returns the document library folder where repositoryId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 540 * 541 * @param repositoryId the repository ID 542 * @return the matching document library folder, or <code>null</code> if a matching document library folder could not be found 543 * @throws SystemException if a system exception occurred 544 */ 545 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByRepositoryId( 546 long repositoryId) 547 throws com.liferay.portal.kernel.exception.SystemException; 548 549 /** 550 * Returns the document library folder where repositoryId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 551 * 552 * @param repositoryId the repository ID 553 * @param retrieveFromCache whether to use the finder cache 554 * @return the matching document library folder, or <code>null</code> if a matching document library folder could not be found 555 * @throws SystemException if a system exception occurred 556 */ 557 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByRepositoryId( 558 long repositoryId, boolean retrieveFromCache) 559 throws com.liferay.portal.kernel.exception.SystemException; 560 561 /** 562 * Returns all the document library folders where groupId = ? and parentFolderId = ?. 563 * 564 * @param groupId the group ID 565 * @param parentFolderId the parent folder ID 566 * @return the matching document library folders 567 * @throws SystemException if a system exception occurred 568 */ 569 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P( 570 long groupId, long parentFolderId) 571 throws com.liferay.portal.kernel.exception.SystemException; 572 573 /** 574 * Returns a range of all the document library folders where groupId = ? and parentFolderId = ?. 575 * 576 * <p> 577 * 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. 578 * </p> 579 * 580 * @param groupId the group ID 581 * @param parentFolderId the parent folder ID 582 * @param start the lower bound of the range of document library folders 583 * @param end the upper bound of the range of document library folders (not inclusive) 584 * @return the range of matching document library folders 585 * @throws SystemException if a system exception occurred 586 */ 587 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P( 588 long groupId, long parentFolderId, int start, int end) 589 throws com.liferay.portal.kernel.exception.SystemException; 590 591 /** 592 * Returns an ordered range of all the document library folders where groupId = ? and parentFolderId = ?. 593 * 594 * <p> 595 * 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. 596 * </p> 597 * 598 * @param groupId the group ID 599 * @param parentFolderId the parent folder ID 600 * @param start the lower bound of the range of document library folders 601 * @param end the upper bound of the range of document library folders (not inclusive) 602 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 603 * @return the ordered range of matching document library folders 604 * @throws SystemException if a system exception occurred 605 */ 606 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P( 607 long groupId, long parentFolderId, int start, int end, 608 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 609 throws com.liferay.portal.kernel.exception.SystemException; 610 611 /** 612 * Returns the first document library folder in the ordered set where groupId = ? and parentFolderId = ?. 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. 616 * </p> 617 * 618 * @param groupId the group ID 619 * @param parentFolderId the parent folder ID 620 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 621 * @return the first matching document library folder 622 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 623 * @throws SystemException if a system exception occurred 624 */ 625 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_First( 626 long groupId, long parentFolderId, 627 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 628 throws com.liferay.portal.kernel.exception.SystemException, 629 com.liferay.portlet.documentlibrary.NoSuchFolderException; 630 631 /** 632 * Returns the last document library folder in the ordered set where groupId = ? and parentFolderId = ?. 633 * 634 * <p> 635 * 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. 636 * </p> 637 * 638 * @param groupId the group ID 639 * @param parentFolderId the parent folder ID 640 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 641 * @return the last matching document library folder 642 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 643 * @throws SystemException if a system exception occurred 644 */ 645 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_Last( 646 long groupId, long parentFolderId, 647 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 648 throws com.liferay.portal.kernel.exception.SystemException, 649 com.liferay.portlet.documentlibrary.NoSuchFolderException; 650 651 /** 652 * Returns the document library folders before and after the current document library folder in the ordered set where groupId = ? and parentFolderId = ?. 653 * 654 * <p> 655 * 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. 656 * </p> 657 * 658 * @param folderId the primary key of the current document library folder 659 * @param groupId the group ID 660 * @param parentFolderId the parent folder ID 661 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 662 * @return the previous, current, and next document library folder 663 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 664 * @throws SystemException if a system exception occurred 665 */ 666 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByG_P_PrevAndNext( 667 long folderId, long groupId, long parentFolderId, 668 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 669 throws com.liferay.portal.kernel.exception.SystemException, 670 com.liferay.portlet.documentlibrary.NoSuchFolderException; 671 672 /** 673 * Returns all the document library folders that the user has permission to view where groupId = ? and parentFolderId = ?. 674 * 675 * @param groupId the group ID 676 * @param parentFolderId the parent folder ID 677 * @return the matching document library folders that the user has permission to view 678 * @throws SystemException if a system exception occurred 679 */ 680 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P( 681 long groupId, long parentFolderId) 682 throws com.liferay.portal.kernel.exception.SystemException; 683 684 /** 685 * Returns a range of all the document library folders that the user has permission to view where groupId = ? and parentFolderId = ?. 686 * 687 * <p> 688 * 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. 689 * </p> 690 * 691 * @param groupId the group ID 692 * @param parentFolderId the parent folder ID 693 * @param start the lower bound of the range of document library folders 694 * @param end the upper bound of the range of document library folders (not inclusive) 695 * @return the range of matching document library folders that the user has permission to view 696 * @throws SystemException if a system exception occurred 697 */ 698 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P( 699 long groupId, long parentFolderId, int start, int end) 700 throws com.liferay.portal.kernel.exception.SystemException; 701 702 /** 703 * Returns an ordered range of all the document library folders that the user has permissions to view where groupId = ? and parentFolderId = ?. 704 * 705 * <p> 706 * 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. 707 * </p> 708 * 709 * @param groupId the group ID 710 * @param parentFolderId the parent folder ID 711 * @param start the lower bound of the range of document library folders 712 * @param end the upper bound of the range of document library folders (not inclusive) 713 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 714 * @return the ordered range of matching document library folders that the user has permission to view 715 * @throws SystemException if a system exception occurred 716 */ 717 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P( 718 long groupId, long parentFolderId, int start, int end, 719 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 720 throws com.liferay.portal.kernel.exception.SystemException; 721 722 /** 723 * 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 = ?. 724 * 725 * @param folderId the primary key of the current document library folder 726 * @param groupId the group ID 727 * @param parentFolderId the parent folder ID 728 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 729 * @return the previous, current, and next document library folder 730 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 731 * @throws SystemException if a system exception occurred 732 */ 733 public com.liferay.portlet.documentlibrary.model.DLFolder[] filterFindByG_P_PrevAndNext( 734 long folderId, long groupId, long parentFolderId, 735 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 736 throws com.liferay.portal.kernel.exception.SystemException, 737 com.liferay.portlet.documentlibrary.NoSuchFolderException; 738 739 /** 740 * Returns all the document library folders where parentFolderId = ? and name = ?. 741 * 742 * @param parentFolderId the parent folder ID 743 * @param name the name 744 * @return the matching document library folders 745 * @throws SystemException if a system exception occurred 746 */ 747 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N( 748 long parentFolderId, java.lang.String name) 749 throws com.liferay.portal.kernel.exception.SystemException; 750 751 /** 752 * Returns a range of all the document library folders where parentFolderId = ? and name = ?. 753 * 754 * <p> 755 * 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. 756 * </p> 757 * 758 * @param parentFolderId the parent folder ID 759 * @param name the name 760 * @param start the lower bound of the range of document library folders 761 * @param end the upper bound of the range of document library folders (not inclusive) 762 * @return the range of matching document library folders 763 * @throws SystemException if a system exception occurred 764 */ 765 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N( 766 long parentFolderId, java.lang.String name, int start, int end) 767 throws com.liferay.portal.kernel.exception.SystemException; 768 769 /** 770 * Returns an ordered range of all the document library folders where parentFolderId = ? and name = ?. 771 * 772 * <p> 773 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 774 * </p> 775 * 776 * @param parentFolderId the parent folder ID 777 * @param name the name 778 * @param start the lower bound of the range of document library folders 779 * @param end the upper bound of the range of document library folders (not inclusive) 780 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 781 * @return the ordered range of matching document library folders 782 * @throws SystemException if a system exception occurred 783 */ 784 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N( 785 long parentFolderId, java.lang.String name, int start, int end, 786 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 787 throws com.liferay.portal.kernel.exception.SystemException; 788 789 /** 790 * Returns the first document library folder in the ordered set where parentFolderId = ? and name = ?. 791 * 792 * <p> 793 * 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. 794 * </p> 795 * 796 * @param parentFolderId the parent folder ID 797 * @param name the name 798 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 799 * @return the first matching document library folder 800 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 801 * @throws SystemException if a system exception occurred 802 */ 803 public com.liferay.portlet.documentlibrary.model.DLFolder findByP_N_First( 804 long parentFolderId, java.lang.String name, 805 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 806 throws com.liferay.portal.kernel.exception.SystemException, 807 com.liferay.portlet.documentlibrary.NoSuchFolderException; 808 809 /** 810 * Returns the last document library folder in the ordered set where parentFolderId = ? and name = ?. 811 * 812 * <p> 813 * 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. 814 * </p> 815 * 816 * @param parentFolderId the parent folder ID 817 * @param name the name 818 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 819 * @return the last matching document library folder 820 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 821 * @throws SystemException if a system exception occurred 822 */ 823 public com.liferay.portlet.documentlibrary.model.DLFolder findByP_N_Last( 824 long parentFolderId, java.lang.String name, 825 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 826 throws com.liferay.portal.kernel.exception.SystemException, 827 com.liferay.portlet.documentlibrary.NoSuchFolderException; 828 829 /** 830 * Returns the document library folders before and after the current document library folder in the ordered set where parentFolderId = ? and name = ?. 831 * 832 * <p> 833 * 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. 834 * </p> 835 * 836 * @param folderId the primary key of the current document library folder 837 * @param parentFolderId the parent folder ID 838 * @param name the name 839 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 840 * @return the previous, current, and next document library folder 841 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 842 * @throws SystemException if a system exception occurred 843 */ 844 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByP_N_PrevAndNext( 845 long folderId, long parentFolderId, java.lang.String name, 846 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 847 throws com.liferay.portal.kernel.exception.SystemException, 848 com.liferay.portlet.documentlibrary.NoSuchFolderException; 849 850 /** 851 * Returns all the document library folders where groupId = ? and parentFolderId = ? and mountPoint = ?. 852 * 853 * @param groupId the group ID 854 * @param parentFolderId the parent folder ID 855 * @param mountPoint the mount point 856 * @return the matching document library folders 857 * @throws SystemException if a system exception occurred 858 */ 859 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P_M( 860 long groupId, long parentFolderId, boolean mountPoint) 861 throws com.liferay.portal.kernel.exception.SystemException; 862 863 /** 864 * Returns a range of all the document library folders where groupId = ? and parentFolderId = ? and mountPoint = ?. 865 * 866 * <p> 867 * 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. 868 * </p> 869 * 870 * @param groupId the group ID 871 * @param parentFolderId the parent folder ID 872 * @param mountPoint the mount point 873 * @param start the lower bound of the range of document library folders 874 * @param end the upper bound of the range of document library folders (not inclusive) 875 * @return the range of matching document library folders 876 * @throws SystemException if a system exception occurred 877 */ 878 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P_M( 879 long groupId, long parentFolderId, boolean mountPoint, int start, 880 int end) throws com.liferay.portal.kernel.exception.SystemException; 881 882 /** 883 * Returns an ordered range of all the document library folders where groupId = ? and parentFolderId = ? and mountPoint = ?. 884 * 885 * <p> 886 * 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. 887 * </p> 888 * 889 * @param groupId the group ID 890 * @param parentFolderId the parent folder ID 891 * @param mountPoint the mount point 892 * @param start the lower bound of the range of document library folders 893 * @param end the upper bound of the range of document library folders (not inclusive) 894 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 895 * @return the ordered range of matching document library folders 896 * @throws SystemException if a system exception occurred 897 */ 898 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P_M( 899 long groupId, long parentFolderId, boolean mountPoint, int start, 900 int end, 901 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 902 throws com.liferay.portal.kernel.exception.SystemException; 903 904 /** 905 * Returns the first document library folder in the ordered set where groupId = ? and parentFolderId = ? and mountPoint = ?. 906 * 907 * <p> 908 * 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. 909 * </p> 910 * 911 * @param groupId the group ID 912 * @param parentFolderId the parent folder ID 913 * @param mountPoint the mount point 914 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 915 * @return the first matching document library folder 916 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 917 * @throws SystemException if a system exception occurred 918 */ 919 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_M_First( 920 long groupId, long parentFolderId, boolean mountPoint, 921 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 922 throws com.liferay.portal.kernel.exception.SystemException, 923 com.liferay.portlet.documentlibrary.NoSuchFolderException; 924 925 /** 926 * Returns the last document library folder in the ordered set where groupId = ? and parentFolderId = ? and mountPoint = ?. 927 * 928 * <p> 929 * 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. 930 * </p> 931 * 932 * @param groupId the group ID 933 * @param parentFolderId the parent folder ID 934 * @param mountPoint the mount point 935 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 936 * @return the last matching document library folder 937 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 938 * @throws SystemException if a system exception occurred 939 */ 940 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_M_Last( 941 long groupId, long parentFolderId, boolean mountPoint, 942 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 943 throws com.liferay.portal.kernel.exception.SystemException, 944 com.liferay.portlet.documentlibrary.NoSuchFolderException; 945 946 /** 947 * Returns the document library folders before and after the current document library folder in the ordered set where groupId = ? and parentFolderId = ? and mountPoint = ?. 948 * 949 * <p> 950 * 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. 951 * </p> 952 * 953 * @param folderId the primary key of the current document library folder 954 * @param groupId the group ID 955 * @param parentFolderId the parent folder ID 956 * @param mountPoint the mount point 957 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 958 * @return the previous, current, and next document library folder 959 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 960 * @throws SystemException if a system exception occurred 961 */ 962 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByG_P_M_PrevAndNext( 963 long folderId, long groupId, long parentFolderId, boolean mountPoint, 964 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 965 throws com.liferay.portal.kernel.exception.SystemException, 966 com.liferay.portlet.documentlibrary.NoSuchFolderException; 967 968 /** 969 * Returns all the document library folders that the user has permission to view where groupId = ? and parentFolderId = ? and mountPoint = ?. 970 * 971 * @param groupId the group ID 972 * @param parentFolderId the parent folder ID 973 * @param mountPoint the mount point 974 * @return the matching document library folders that the user has permission to view 975 * @throws SystemException if a system exception occurred 976 */ 977 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P_M( 978 long groupId, long parentFolderId, boolean mountPoint) 979 throws com.liferay.portal.kernel.exception.SystemException; 980 981 /** 982 * Returns a range of all the document library folders that the user has permission to view where groupId = ? and parentFolderId = ? and mountPoint = ?. 983 * 984 * <p> 985 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 986 * </p> 987 * 988 * @param groupId the group ID 989 * @param parentFolderId the parent folder ID 990 * @param mountPoint the mount point 991 * @param start the lower bound of the range of document library folders 992 * @param end the upper bound of the range of document library folders (not inclusive) 993 * @return the range of matching document library folders that the user has permission to view 994 * @throws SystemException if a system exception occurred 995 */ 996 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P_M( 997 long groupId, long parentFolderId, boolean mountPoint, int start, 998 int end) throws com.liferay.portal.kernel.exception.SystemException; 999 1000 /** 1001 * Returns an ordered range of all the document library folders that the user has permissions to view where groupId = ? and parentFolderId = ? and mountPoint = ?. 1002 * 1003 * <p> 1004 * 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. 1005 * </p> 1006 * 1007 * @param groupId the group ID 1008 * @param parentFolderId the parent folder ID 1009 * @param mountPoint the mount point 1010 * @param start the lower bound of the range of document library folders 1011 * @param end the upper bound of the range of document library folders (not inclusive) 1012 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1013 * @return the ordered range of matching document library folders that the user has permission to view 1014 * @throws SystemException if a system exception occurred 1015 */ 1016 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P_M( 1017 long groupId, long parentFolderId, boolean mountPoint, int start, 1018 int end, 1019 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1020 throws com.liferay.portal.kernel.exception.SystemException; 1021 1022 /** 1023 * 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 mountPoint = ?. 1024 * 1025 * @param folderId the primary key of the current document library folder 1026 * @param groupId the group ID 1027 * @param parentFolderId the parent folder ID 1028 * @param mountPoint the mount point 1029 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1030 * @return the previous, current, and next document library folder 1031 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 1032 * @throws SystemException if a system exception occurred 1033 */ 1034 public com.liferay.portlet.documentlibrary.model.DLFolder[] filterFindByG_P_M_PrevAndNext( 1035 long folderId, long groupId, long parentFolderId, boolean mountPoint, 1036 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1037 throws com.liferay.portal.kernel.exception.SystemException, 1038 com.liferay.portlet.documentlibrary.NoSuchFolderException; 1039 1040 /** 1041 * 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. 1042 * 1043 * @param groupId the group ID 1044 * @param parentFolderId the parent folder ID 1045 * @param name the name 1046 * @return the matching document library folder 1047 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1048 * @throws SystemException if a system exception occurred 1049 */ 1050 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_N( 1051 long groupId, long parentFolderId, java.lang.String name) 1052 throws com.liferay.portal.kernel.exception.SystemException, 1053 com.liferay.portlet.documentlibrary.NoSuchFolderException; 1054 1055 /** 1056 * 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. 1057 * 1058 * @param groupId the group ID 1059 * @param parentFolderId the parent folder ID 1060 * @param name the name 1061 * @return the matching document library folder, or <code>null</code> if a matching document library folder could not be found 1062 * @throws SystemException if a system exception occurred 1063 */ 1064 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_N( 1065 long groupId, long parentFolderId, java.lang.String name) 1066 throws com.liferay.portal.kernel.exception.SystemException; 1067 1068 /** 1069 * 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. 1070 * 1071 * @param groupId the group ID 1072 * @param parentFolderId the parent folder ID 1073 * @param name the name 1074 * @param retrieveFromCache whether to use the finder cache 1075 * @return the matching document library folder, or <code>null</code> if a matching document library folder could not be found 1076 * @throws SystemException if a system exception occurred 1077 */ 1078 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_N( 1079 long groupId, long parentFolderId, java.lang.String name, 1080 boolean retrieveFromCache) 1081 throws com.liferay.portal.kernel.exception.SystemException; 1082 1083 /** 1084 * Returns all the document library folders. 1085 * 1086 * @return the document library folders 1087 * @throws SystemException if a system exception occurred 1088 */ 1089 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll() 1090 throws com.liferay.portal.kernel.exception.SystemException; 1091 1092 /** 1093 * Returns a range of all the document library folders. 1094 * 1095 * <p> 1096 * 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. 1097 * </p> 1098 * 1099 * @param start the lower bound of the range of document library folders 1100 * @param end the upper bound of the range of document library folders (not inclusive) 1101 * @return the range of document library folders 1102 * @throws SystemException if a system exception occurred 1103 */ 1104 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll( 1105 int start, int end) 1106 throws com.liferay.portal.kernel.exception.SystemException; 1107 1108 /** 1109 * Returns an ordered range of all the document library folders. 1110 * 1111 * <p> 1112 * 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. 1113 * </p> 1114 * 1115 * @param start the lower bound of the range of document library folders 1116 * @param end the upper bound of the range of document library folders (not inclusive) 1117 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1118 * @return the ordered range of document library folders 1119 * @throws SystemException if a system exception occurred 1120 */ 1121 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll( 1122 int start, int end, 1123 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1124 throws com.liferay.portal.kernel.exception.SystemException; 1125 1126 /** 1127 * Removes all the document library folders where uuid = ? from the database. 1128 * 1129 * @param uuid the uuid 1130 * @throws SystemException if a system exception occurred 1131 */ 1132 public void removeByUuid(java.lang.String uuid) 1133 throws com.liferay.portal.kernel.exception.SystemException; 1134 1135 /** 1136 * Removes the document library folder where uuid = ? and groupId = ? from the database. 1137 * 1138 * @param uuid the uuid 1139 * @param groupId the group ID 1140 * @throws SystemException if a system exception occurred 1141 */ 1142 public void removeByUUID_G(java.lang.String uuid, long groupId) 1143 throws com.liferay.portal.kernel.exception.SystemException, 1144 com.liferay.portlet.documentlibrary.NoSuchFolderException; 1145 1146 /** 1147 * Removes all the document library folders where groupId = ? from the database. 1148 * 1149 * @param groupId the group ID 1150 * @throws SystemException if a system exception occurred 1151 */ 1152 public void removeByGroupId(long groupId) 1153 throws com.liferay.portal.kernel.exception.SystemException; 1154 1155 /** 1156 * Removes all the document library folders where companyId = ? from the database. 1157 * 1158 * @param companyId the company ID 1159 * @throws SystemException if a system exception occurred 1160 */ 1161 public void removeByCompanyId(long companyId) 1162 throws com.liferay.portal.kernel.exception.SystemException; 1163 1164 /** 1165 * Removes the document library folder where repositoryId = ? from the database. 1166 * 1167 * @param repositoryId the repository ID 1168 * @throws SystemException if a system exception occurred 1169 */ 1170 public void removeByRepositoryId(long repositoryId) 1171 throws com.liferay.portal.kernel.exception.SystemException, 1172 com.liferay.portlet.documentlibrary.NoSuchFolderException; 1173 1174 /** 1175 * Removes all the document library folders where groupId = ? and parentFolderId = ? from the database. 1176 * 1177 * @param groupId the group ID 1178 * @param parentFolderId the parent folder ID 1179 * @throws SystemException if a system exception occurred 1180 */ 1181 public void removeByG_P(long groupId, long parentFolderId) 1182 throws com.liferay.portal.kernel.exception.SystemException; 1183 1184 /** 1185 * Removes all the document library folders where parentFolderId = ? and name = ? from the database. 1186 * 1187 * @param parentFolderId the parent folder ID 1188 * @param name the name 1189 * @throws SystemException if a system exception occurred 1190 */ 1191 public void removeByP_N(long parentFolderId, java.lang.String name) 1192 throws com.liferay.portal.kernel.exception.SystemException; 1193 1194 /** 1195 * Removes all the document library folders where groupId = ? and parentFolderId = ? and mountPoint = ? from the database. 1196 * 1197 * @param groupId the group ID 1198 * @param parentFolderId the parent folder ID 1199 * @param mountPoint the mount point 1200 * @throws SystemException if a system exception occurred 1201 */ 1202 public void removeByG_P_M(long groupId, long parentFolderId, 1203 boolean mountPoint) 1204 throws com.liferay.portal.kernel.exception.SystemException; 1205 1206 /** 1207 * Removes the document library folder where groupId = ? and parentFolderId = ? and name = ? from the database. 1208 * 1209 * @param groupId the group ID 1210 * @param parentFolderId the parent folder ID 1211 * @param name the name 1212 * @throws SystemException if a system exception occurred 1213 */ 1214 public void removeByG_P_N(long groupId, long parentFolderId, 1215 java.lang.String name) 1216 throws com.liferay.portal.kernel.exception.SystemException, 1217 com.liferay.portlet.documentlibrary.NoSuchFolderException; 1218 1219 /** 1220 * Removes all the document library folders from the database. 1221 * 1222 * @throws SystemException if a system exception occurred 1223 */ 1224 public void removeAll() 1225 throws com.liferay.portal.kernel.exception.SystemException; 1226 1227 /** 1228 * Returns the number of document library folders where uuid = ?. 1229 * 1230 * @param uuid the uuid 1231 * @return the number of matching document library folders 1232 * @throws SystemException if a system exception occurred 1233 */ 1234 public int countByUuid(java.lang.String uuid) 1235 throws com.liferay.portal.kernel.exception.SystemException; 1236 1237 /** 1238 * Returns the number of document library folders where uuid = ? and groupId = ?. 1239 * 1240 * @param uuid the uuid 1241 * @param groupId the group ID 1242 * @return the number of matching document library folders 1243 * @throws SystemException if a system exception occurred 1244 */ 1245 public int countByUUID_G(java.lang.String uuid, long groupId) 1246 throws com.liferay.portal.kernel.exception.SystemException; 1247 1248 /** 1249 * Returns the number of document library folders where groupId = ?. 1250 * 1251 * @param groupId the group ID 1252 * @return the number of matching document library folders 1253 * @throws SystemException if a system exception occurred 1254 */ 1255 public int countByGroupId(long groupId) 1256 throws com.liferay.portal.kernel.exception.SystemException; 1257 1258 /** 1259 * Returns the number of document library folders that the user has permission to view where groupId = ?. 1260 * 1261 * @param groupId the group ID 1262 * @return the number of matching document library folders that the user has permission to view 1263 * @throws SystemException if a system exception occurred 1264 */ 1265 public int filterCountByGroupId(long groupId) 1266 throws com.liferay.portal.kernel.exception.SystemException; 1267 1268 /** 1269 * Returns the number of document library folders where companyId = ?. 1270 * 1271 * @param companyId the company ID 1272 * @return the number of matching document library folders 1273 * @throws SystemException if a system exception occurred 1274 */ 1275 public int countByCompanyId(long companyId) 1276 throws com.liferay.portal.kernel.exception.SystemException; 1277 1278 /** 1279 * Returns the number of document library folders where repositoryId = ?. 1280 * 1281 * @param repositoryId the repository ID 1282 * @return the number of matching document library folders 1283 * @throws SystemException if a system exception occurred 1284 */ 1285 public int countByRepositoryId(long repositoryId) 1286 throws com.liferay.portal.kernel.exception.SystemException; 1287 1288 /** 1289 * Returns the number of document library folders where groupId = ? and parentFolderId = ?. 1290 * 1291 * @param groupId the group ID 1292 * @param parentFolderId the parent folder ID 1293 * @return the number of matching document library folders 1294 * @throws SystemException if a system exception occurred 1295 */ 1296 public int countByG_P(long groupId, long parentFolderId) 1297 throws com.liferay.portal.kernel.exception.SystemException; 1298 1299 /** 1300 * Returns the number of document library folders that the user has permission to view where groupId = ? and parentFolderId = ?. 1301 * 1302 * @param groupId the group ID 1303 * @param parentFolderId the parent folder ID 1304 * @return the number of matching document library folders that the user has permission to view 1305 * @throws SystemException if a system exception occurred 1306 */ 1307 public int filterCountByG_P(long groupId, long parentFolderId) 1308 throws com.liferay.portal.kernel.exception.SystemException; 1309 1310 /** 1311 * Returns the number of document library folders where parentFolderId = ? and name = ?. 1312 * 1313 * @param parentFolderId the parent folder ID 1314 * @param name the name 1315 * @return the number of matching document library folders 1316 * @throws SystemException if a system exception occurred 1317 */ 1318 public int countByP_N(long parentFolderId, java.lang.String name) 1319 throws com.liferay.portal.kernel.exception.SystemException; 1320 1321 /** 1322 * Returns the number of document library folders where groupId = ? and parentFolderId = ? and mountPoint = ?. 1323 * 1324 * @param groupId the group ID 1325 * @param parentFolderId the parent folder ID 1326 * @param mountPoint the mount point 1327 * @return the number of matching document library folders 1328 * @throws SystemException if a system exception occurred 1329 */ 1330 public int countByG_P_M(long groupId, long parentFolderId, 1331 boolean mountPoint) 1332 throws com.liferay.portal.kernel.exception.SystemException; 1333 1334 /** 1335 * Returns the number of document library folders that the user has permission to view where groupId = ? and parentFolderId = ? and mountPoint = ?. 1336 * 1337 * @param groupId the group ID 1338 * @param parentFolderId the parent folder ID 1339 * @param mountPoint the mount point 1340 * @return the number of matching document library folders that the user has permission to view 1341 * @throws SystemException if a system exception occurred 1342 */ 1343 public int filterCountByG_P_M(long groupId, long parentFolderId, 1344 boolean mountPoint) 1345 throws com.liferay.portal.kernel.exception.SystemException; 1346 1347 /** 1348 * Returns the number of document library folders where groupId = ? and parentFolderId = ? and name = ?. 1349 * 1350 * @param groupId the group ID 1351 * @param parentFolderId the parent folder ID 1352 * @param name the name 1353 * @return the number of matching document library folders 1354 * @throws SystemException if a system exception occurred 1355 */ 1356 public int countByG_P_N(long groupId, long parentFolderId, 1357 java.lang.String name) 1358 throws com.liferay.portal.kernel.exception.SystemException; 1359 1360 /** 1361 * Returns the number of document library folders. 1362 * 1363 * @return the number of document library folders 1364 * @throws SystemException if a system exception occurred 1365 */ 1366 public int countAll() 1367 throws com.liferay.portal.kernel.exception.SystemException; 1368 1369 /** 1370 * Returns all the document library file entry types associated with the document library folder. 1371 * 1372 * @param pk the primary key of the document library folder 1373 * @return the document library file entry types associated with the document library folder 1374 * @throws SystemException if a system exception occurred 1375 */ 1376 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypes( 1377 long pk) throws com.liferay.portal.kernel.exception.SystemException; 1378 1379 /** 1380 * Returns a range of all the document library file entry types associated with the document library folder. 1381 * 1382 * <p> 1383 * 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. 1384 * </p> 1385 * 1386 * @param pk the primary key of the document library folder 1387 * @param start the lower bound of the range of document library folders 1388 * @param end the upper bound of the range of document library folders (not inclusive) 1389 * @return the range of document library file entry types associated with the document library folder 1390 * @throws SystemException if a system exception occurred 1391 */ 1392 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypes( 1393 long pk, int start, int end) 1394 throws com.liferay.portal.kernel.exception.SystemException; 1395 1396 /** 1397 * Returns an ordered range of all the document library file entry types associated with the document library folder. 1398 * 1399 * <p> 1400 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1401 * </p> 1402 * 1403 * @param pk the primary key of the document library folder 1404 * @param start the lower bound of the range of document library folders 1405 * @param end the upper bound of the range of document library folders (not inclusive) 1406 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1407 * @return the ordered range of document library file entry types associated with the document library folder 1408 * @throws SystemException if a system exception occurred 1409 */ 1410 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypes( 1411 long pk, int start, int end, 1412 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1413 throws com.liferay.portal.kernel.exception.SystemException; 1414 1415 /** 1416 * Returns the number of document library file entry types associated with the document library folder. 1417 * 1418 * @param pk the primary key of the document library folder 1419 * @return the number of document library file entry types associated with the document library folder 1420 * @throws SystemException if a system exception occurred 1421 */ 1422 public int getDLFileEntryTypesSize(long pk) 1423 throws com.liferay.portal.kernel.exception.SystemException; 1424 1425 /** 1426 * Returns <code>true</code> if the document library file entry type is associated with the document library folder. 1427 * 1428 * @param pk the primary key of the document library folder 1429 * @param dlFileEntryTypePK the primary key of the document library file entry type 1430 * @return <code>true</code> if the document library file entry type is associated with the document library folder; <code>false</code> otherwise 1431 * @throws SystemException if a system exception occurred 1432 */ 1433 public boolean containsDLFileEntryType(long pk, long dlFileEntryTypePK) 1434 throws com.liferay.portal.kernel.exception.SystemException; 1435 1436 /** 1437 * Returns <code>true</code> if the document library folder has any document library file entry types associated with it. 1438 * 1439 * @param pk the primary key of the document library folder to check for associations with document library file entry types 1440 * @return <code>true</code> if the document library folder has any document library file entry types associated with it; <code>false</code> otherwise 1441 * @throws SystemException if a system exception occurred 1442 */ 1443 public boolean containsDLFileEntryTypes(long pk) 1444 throws com.liferay.portal.kernel.exception.SystemException; 1445 1446 /** 1447 * 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. 1448 * 1449 * @param pk the primary key of the document library folder 1450 * @param dlFileEntryTypePK the primary key of the document library file entry type 1451 * @throws SystemException if a system exception occurred 1452 */ 1453 public void addDLFileEntryType(long pk, long dlFileEntryTypePK) 1454 throws com.liferay.portal.kernel.exception.SystemException; 1455 1456 /** 1457 * 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. 1458 * 1459 * @param pk the primary key of the document library folder 1460 * @param dlFileEntryType the document library file entry type 1461 * @throws SystemException if a system exception occurred 1462 */ 1463 public void addDLFileEntryType(long pk, 1464 com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType) 1465 throws com.liferay.portal.kernel.exception.SystemException; 1466 1467 /** 1468 * 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. 1469 * 1470 * @param pk the primary key of the document library folder 1471 * @param dlFileEntryTypePKs the primary keys of the document library file entry types 1472 * @throws SystemException if a system exception occurred 1473 */ 1474 public void addDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs) 1475 throws com.liferay.portal.kernel.exception.SystemException; 1476 1477 /** 1478 * 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. 1479 * 1480 * @param pk the primary key of the document library folder 1481 * @param dlFileEntryTypes the document library file entry types 1482 * @throws SystemException if a system exception occurred 1483 */ 1484 public void addDLFileEntryTypes(long pk, 1485 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> dlFileEntryTypes) 1486 throws com.liferay.portal.kernel.exception.SystemException; 1487 1488 /** 1489 * 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. 1490 * 1491 * @param pk the primary key of the document library folder to clear the associated document library file entry types from 1492 * @throws SystemException if a system exception occurred 1493 */ 1494 public void clearDLFileEntryTypes(long pk) 1495 throws com.liferay.portal.kernel.exception.SystemException; 1496 1497 /** 1498 * 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. 1499 * 1500 * @param pk the primary key of the document library folder 1501 * @param dlFileEntryTypePK the primary key of the document library file entry type 1502 * @throws SystemException if a system exception occurred 1503 */ 1504 public void removeDLFileEntryType(long pk, long dlFileEntryTypePK) 1505 throws com.liferay.portal.kernel.exception.SystemException; 1506 1507 /** 1508 * 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. 1509 * 1510 * @param pk the primary key of the document library folder 1511 * @param dlFileEntryType the document library file entry type 1512 * @throws SystemException if a system exception occurred 1513 */ 1514 public void removeDLFileEntryType(long pk, 1515 com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType) 1516 throws com.liferay.portal.kernel.exception.SystemException; 1517 1518 /** 1519 * 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. 1520 * 1521 * @param pk the primary key of the document library folder 1522 * @param dlFileEntryTypePKs the primary keys of the document library file entry types 1523 * @throws SystemException if a system exception occurred 1524 */ 1525 public void removeDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs) 1526 throws com.liferay.portal.kernel.exception.SystemException; 1527 1528 /** 1529 * 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. 1530 * 1531 * @param pk the primary key of the document library folder 1532 * @param dlFileEntryTypes the document library file entry types 1533 * @throws SystemException if a system exception occurred 1534 */ 1535 public void removeDLFileEntryTypes(long pk, 1536 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> dlFileEntryTypes) 1537 throws com.liferay.portal.kernel.exception.SystemException; 1538 1539 /** 1540 * 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. 1541 * 1542 * @param pk the primary key of the document library folder 1543 * @param dlFileEntryTypePKs the primary keys of the document library file entry types to be associated with the document library folder 1544 * @throws SystemException if a system exception occurred 1545 */ 1546 public void setDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs) 1547 throws com.liferay.portal.kernel.exception.SystemException; 1548 1549 /** 1550 * 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. 1551 * 1552 * @param pk the primary key of the document library folder 1553 * @param dlFileEntryTypes the document library file entry types to be associated with the document library folder 1554 * @throws SystemException if a system exception occurred 1555 */ 1556 public void setDLFileEntryTypes(long pk, 1557 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> dlFileEntryTypes) 1558 throws com.liferay.portal.kernel.exception.SystemException; 1559 1560 public DLFolder remove(DLFolder dlFolder) throws SystemException; 1561 }