001 /** 002 * Copyright (c) 2000-present Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portlet.documentlibrary.service.persistence; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.service.persistence.BasePersistence; 020 021 import com.liferay.portlet.documentlibrary.exception.NoSuchFileEntryTypeException; 022 import com.liferay.portlet.documentlibrary.model.DLFileEntryType; 023 024 /** 025 * The persistence interface for the document library file entry type service. 026 * 027 * <p> 028 * Caching information and settings can be found in <code>portal.properties</code> 029 * </p> 030 * 031 * @author Brian Wing Shun Chan 032 * @see com.liferay.portlet.documentlibrary.service.persistence.impl.DLFileEntryTypePersistenceImpl 033 * @see DLFileEntryTypeUtil 034 * @generated 035 */ 036 @ProviderType 037 public interface DLFileEntryTypePersistence extends BasePersistence<DLFileEntryType> { 038 /* 039 * NOTE FOR DEVELOPERS: 040 * 041 * Never modify or reference this interface directly. Always use {@link DLFileEntryTypeUtil} to access the document library file entry type persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 042 */ 043 044 /** 045 * Returns all the document library file entry types where uuid = ?. 046 * 047 * @param uuid the uuid 048 * @return the matching document library file entry types 049 */ 050 public java.util.List<DLFileEntryType> findByUuid(java.lang.String uuid); 051 052 /** 053 * Returns a range of all the document library file entry types where uuid = ?. 054 * 055 * <p> 056 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 057 * </p> 058 * 059 * @param uuid the uuid 060 * @param start the lower bound of the range of document library file entry types 061 * @param end the upper bound of the range of document library file entry types (not inclusive) 062 * @return the range of matching document library file entry types 063 */ 064 public java.util.List<DLFileEntryType> findByUuid(java.lang.String uuid, 065 int start, int end); 066 067 /** 068 * Returns an ordered range of all the document library file entry types where uuid = ?. 069 * 070 * <p> 071 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 072 * </p> 073 * 074 * @param uuid the uuid 075 * @param start the lower bound of the range of document library file entry types 076 * @param end the upper bound of the range of document library file entry types (not inclusive) 077 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 078 * @return the ordered range of matching document library file entry types 079 */ 080 public java.util.List<DLFileEntryType> findByUuid(java.lang.String uuid, 081 int start, int end, 082 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); 083 084 /** 085 * Returns an ordered range of all the document library file entry types where uuid = ?. 086 * 087 * <p> 088 * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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. 089 * </p> 090 * 091 * @param uuid the uuid 092 * @param start the lower bound of the range of document library file entry types 093 * @param end the upper bound of the range of document library file entry types (not inclusive) 094 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 095 * @param retrieveFromCache whether to retrieve from the finder cache 096 * @return the ordered range of matching document library file entry types 097 */ 098 public java.util.List<DLFileEntryType> findByUuid(java.lang.String uuid, 099 int start, int end, 100 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator, 101 boolean retrieveFromCache); 102 103 /** 104 * Returns the first document library file entry type in the ordered set where uuid = ?. 105 * 106 * @param uuid the uuid 107 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 108 * @return the first matching document library file entry type 109 * @throws NoSuchFileEntryTypeException if a matching document library file entry type could not be found 110 */ 111 public DLFileEntryType findByUuid_First(java.lang.String uuid, 112 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator) 113 throws NoSuchFileEntryTypeException; 114 115 /** 116 * Returns the first document library file entry type 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 first matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found 121 */ 122 public DLFileEntryType fetchByUuid_First(java.lang.String uuid, 123 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); 124 125 /** 126 * Returns the last document library file entry type in the ordered set where uuid = ?. 127 * 128 * @param uuid the uuid 129 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 130 * @return the last matching document library file entry type 131 * @throws NoSuchFileEntryTypeException if a matching document library file entry type could not be found 132 */ 133 public DLFileEntryType findByUuid_Last(java.lang.String uuid, 134 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator) 135 throws NoSuchFileEntryTypeException; 136 137 /** 138 * Returns the last document library file entry type in the ordered set where uuid = ?. 139 * 140 * @param uuid the uuid 141 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 142 * @return the last matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found 143 */ 144 public DLFileEntryType fetchByUuid_Last(java.lang.String uuid, 145 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); 146 147 /** 148 * Returns the document library file entry types before and after the current document library file entry type in the ordered set where uuid = ?. 149 * 150 * @param fileEntryTypeId the primary key of the current document library file entry type 151 * @param uuid the uuid 152 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 153 * @return the previous, current, and next document library file entry type 154 * @throws NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found 155 */ 156 public DLFileEntryType[] findByUuid_PrevAndNext(long fileEntryTypeId, 157 java.lang.String uuid, 158 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator) 159 throws NoSuchFileEntryTypeException; 160 161 /** 162 * Removes all the document library file entry types where uuid = ? from the database. 163 * 164 * @param uuid the uuid 165 */ 166 public void removeByUuid(java.lang.String uuid); 167 168 /** 169 * Returns the number of document library file entry types where uuid = ?. 170 * 171 * @param uuid the uuid 172 * @return the number of matching document library file entry types 173 */ 174 public int countByUuid(java.lang.String uuid); 175 176 /** 177 * Returns the document library file entry type where uuid = ? and groupId = ? or throws a {@link NoSuchFileEntryTypeException} if it could not be found. 178 * 179 * @param uuid the uuid 180 * @param groupId the group ID 181 * @return the matching document library file entry type 182 * @throws NoSuchFileEntryTypeException if a matching document library file entry type could not be found 183 */ 184 public DLFileEntryType findByUUID_G(java.lang.String uuid, long groupId) 185 throws NoSuchFileEntryTypeException; 186 187 /** 188 * Returns the document library file entry type where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 189 * 190 * @param uuid the uuid 191 * @param groupId the group ID 192 * @return the matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found 193 */ 194 public DLFileEntryType fetchByUUID_G(java.lang.String uuid, long groupId); 195 196 /** 197 * Returns the document library file entry type where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 198 * 199 * @param uuid the uuid 200 * @param groupId the group ID 201 * @param retrieveFromCache whether to retrieve from the finder cache 202 * @return the matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found 203 */ 204 public DLFileEntryType fetchByUUID_G(java.lang.String uuid, long groupId, 205 boolean retrieveFromCache); 206 207 /** 208 * Removes the document library file entry type where uuid = ? and groupId = ? from the database. 209 * 210 * @param uuid the uuid 211 * @param groupId the group ID 212 * @return the document library file entry type that was removed 213 */ 214 public DLFileEntryType removeByUUID_G(java.lang.String uuid, long groupId) 215 throws NoSuchFileEntryTypeException; 216 217 /** 218 * Returns the number of document library file entry types where uuid = ? and groupId = ?. 219 * 220 * @param uuid the uuid 221 * @param groupId the group ID 222 * @return the number of matching document library file entry types 223 */ 224 public int countByUUID_G(java.lang.String uuid, long groupId); 225 226 /** 227 * Returns all the document library file entry types where uuid = ? and companyId = ?. 228 * 229 * @param uuid the uuid 230 * @param companyId the company ID 231 * @return the matching document library file entry types 232 */ 233 public java.util.List<DLFileEntryType> findByUuid_C(java.lang.String uuid, 234 long companyId); 235 236 /** 237 * Returns a range of all the document library file entry types where uuid = ? and companyId = ?. 238 * 239 * <p> 240 * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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. 241 * </p> 242 * 243 * @param uuid the uuid 244 * @param companyId the company ID 245 * @param start the lower bound of the range of document library file entry types 246 * @param end the upper bound of the range of document library file entry types (not inclusive) 247 * @return the range of matching document library file entry types 248 */ 249 public java.util.List<DLFileEntryType> findByUuid_C(java.lang.String uuid, 250 long companyId, int start, int end); 251 252 /** 253 * Returns an ordered range of all the document library file entry types where uuid = ? and companyId = ?. 254 * 255 * <p> 256 * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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. 257 * </p> 258 * 259 * @param uuid the uuid 260 * @param companyId the company ID 261 * @param start the lower bound of the range of document library file entry types 262 * @param end the upper bound of the range of document library file entry types (not inclusive) 263 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 264 * @return the ordered range of matching document library file entry types 265 */ 266 public java.util.List<DLFileEntryType> findByUuid_C(java.lang.String uuid, 267 long companyId, int start, int end, 268 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); 269 270 /** 271 * Returns an ordered range of all the document library file entry types where uuid = ? and companyId = ?. 272 * 273 * <p> 274 * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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. 275 * </p> 276 * 277 * @param uuid the uuid 278 * @param companyId the company ID 279 * @param start the lower bound of the range of document library file entry types 280 * @param end the upper bound of the range of document library file entry types (not inclusive) 281 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 282 * @param retrieveFromCache whether to retrieve from the finder cache 283 * @return the ordered range of matching document library file entry types 284 */ 285 public java.util.List<DLFileEntryType> findByUuid_C(java.lang.String uuid, 286 long companyId, int start, int end, 287 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator, 288 boolean retrieveFromCache); 289 290 /** 291 * Returns the first document library file entry type in the ordered set where uuid = ? and companyId = ?. 292 * 293 * @param uuid the uuid 294 * @param companyId the company ID 295 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 296 * @return the first matching document library file entry type 297 * @throws NoSuchFileEntryTypeException if a matching document library file entry type could not be found 298 */ 299 public DLFileEntryType findByUuid_C_First(java.lang.String uuid, 300 long companyId, 301 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator) 302 throws NoSuchFileEntryTypeException; 303 304 /** 305 * Returns the first document library file entry type in the ordered set where uuid = ? and companyId = ?. 306 * 307 * @param uuid the uuid 308 * @param companyId the company ID 309 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 310 * @return the first matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found 311 */ 312 public DLFileEntryType fetchByUuid_C_First(java.lang.String uuid, 313 long companyId, 314 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); 315 316 /** 317 * Returns the last document library file entry type in the ordered set where uuid = ? and companyId = ?. 318 * 319 * @param uuid the uuid 320 * @param companyId the company ID 321 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 322 * @return the last matching document library file entry type 323 * @throws NoSuchFileEntryTypeException if a matching document library file entry type could not be found 324 */ 325 public DLFileEntryType findByUuid_C_Last(java.lang.String uuid, 326 long companyId, 327 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator) 328 throws NoSuchFileEntryTypeException; 329 330 /** 331 * Returns the last document library file entry type in the ordered set where uuid = ? and companyId = ?. 332 * 333 * @param uuid the uuid 334 * @param companyId the company ID 335 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 336 * @return the last matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found 337 */ 338 public DLFileEntryType fetchByUuid_C_Last(java.lang.String uuid, 339 long companyId, 340 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); 341 342 /** 343 * Returns the document library file entry types before and after the current document library file entry type in the ordered set where uuid = ? and companyId = ?. 344 * 345 * @param fileEntryTypeId the primary key of the current document library file entry type 346 * @param uuid the uuid 347 * @param companyId the company ID 348 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 349 * @return the previous, current, and next document library file entry type 350 * @throws NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found 351 */ 352 public DLFileEntryType[] findByUuid_C_PrevAndNext(long fileEntryTypeId, 353 java.lang.String uuid, long companyId, 354 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator) 355 throws NoSuchFileEntryTypeException; 356 357 /** 358 * Removes all the document library file entry types where uuid = ? and companyId = ? from the database. 359 * 360 * @param uuid the uuid 361 * @param companyId the company ID 362 */ 363 public void removeByUuid_C(java.lang.String uuid, long companyId); 364 365 /** 366 * Returns the number of document library file entry types where uuid = ? and companyId = ?. 367 * 368 * @param uuid the uuid 369 * @param companyId the company ID 370 * @return the number of matching document library file entry types 371 */ 372 public int countByUuid_C(java.lang.String uuid, long companyId); 373 374 /** 375 * Returns all the document library file entry types where groupId = ?. 376 * 377 * @param groupId the group ID 378 * @return the matching document library file entry types 379 */ 380 public java.util.List<DLFileEntryType> findByGroupId(long groupId); 381 382 /** 383 * Returns a range of all the document library file entry types where groupId = ?. 384 * 385 * <p> 386 * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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. 387 * </p> 388 * 389 * @param groupId the group ID 390 * @param start the lower bound of the range of document library file entry types 391 * @param end the upper bound of the range of document library file entry types (not inclusive) 392 * @return the range of matching document library file entry types 393 */ 394 public java.util.List<DLFileEntryType> findByGroupId(long groupId, 395 int start, int end); 396 397 /** 398 * Returns an ordered range of all the document library file entry types where groupId = ?. 399 * 400 * <p> 401 * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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. 402 * </p> 403 * 404 * @param groupId the group ID 405 * @param start the lower bound of the range of document library file entry types 406 * @param end the upper bound of the range of document library file entry types (not inclusive) 407 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 408 * @return the ordered range of matching document library file entry types 409 */ 410 public java.util.List<DLFileEntryType> findByGroupId(long groupId, 411 int start, int end, 412 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); 413 414 /** 415 * Returns an ordered range of all the document library file entry types where groupId = ?. 416 * 417 * <p> 418 * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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. 419 * </p> 420 * 421 * @param groupId the group ID 422 * @param start the lower bound of the range of document library file entry types 423 * @param end the upper bound of the range of document library file entry types (not inclusive) 424 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 425 * @param retrieveFromCache whether to retrieve from the finder cache 426 * @return the ordered range of matching document library file entry types 427 */ 428 public java.util.List<DLFileEntryType> findByGroupId(long groupId, 429 int start, int end, 430 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator, 431 boolean retrieveFromCache); 432 433 /** 434 * Returns the first document library file entry type in the ordered set where groupId = ?. 435 * 436 * @param groupId the group ID 437 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 438 * @return the first matching document library file entry type 439 * @throws NoSuchFileEntryTypeException if a matching document library file entry type could not be found 440 */ 441 public DLFileEntryType findByGroupId_First(long groupId, 442 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator) 443 throws NoSuchFileEntryTypeException; 444 445 /** 446 * Returns the first document library file entry type in the ordered set where groupId = ?. 447 * 448 * @param groupId the group ID 449 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 450 * @return the first matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found 451 */ 452 public DLFileEntryType fetchByGroupId_First(long groupId, 453 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); 454 455 /** 456 * Returns the last document library file entry type in the ordered set where groupId = ?. 457 * 458 * @param groupId the group ID 459 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 460 * @return the last matching document library file entry type 461 * @throws NoSuchFileEntryTypeException if a matching document library file entry type could not be found 462 */ 463 public DLFileEntryType findByGroupId_Last(long groupId, 464 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator) 465 throws NoSuchFileEntryTypeException; 466 467 /** 468 * Returns the last document library file entry type in the ordered set where groupId = ?. 469 * 470 * @param groupId the group ID 471 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 472 * @return the last matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found 473 */ 474 public DLFileEntryType fetchByGroupId_Last(long groupId, 475 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); 476 477 /** 478 * Returns the document library file entry types before and after the current document library file entry type in the ordered set where groupId = ?. 479 * 480 * @param fileEntryTypeId the primary key of the current document library file entry type 481 * @param groupId the group ID 482 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 483 * @return the previous, current, and next document library file entry type 484 * @throws NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found 485 */ 486 public DLFileEntryType[] findByGroupId_PrevAndNext(long fileEntryTypeId, 487 long groupId, 488 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator) 489 throws NoSuchFileEntryTypeException; 490 491 /** 492 * Returns all the document library file entry types that the user has permission to view where groupId = ?. 493 * 494 * @param groupId the group ID 495 * @return the matching document library file entry types that the user has permission to view 496 */ 497 public java.util.List<DLFileEntryType> filterFindByGroupId(long groupId); 498 499 /** 500 * Returns a range of all the document library file entry types that the user has permission to view where groupId = ?. 501 * 502 * <p> 503 * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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. 504 * </p> 505 * 506 * @param groupId the group ID 507 * @param start the lower bound of the range of document library file entry types 508 * @param end the upper bound of the range of document library file entry types (not inclusive) 509 * @return the range of matching document library file entry types that the user has permission to view 510 */ 511 public java.util.List<DLFileEntryType> filterFindByGroupId(long groupId, 512 int start, int end); 513 514 /** 515 * Returns an ordered range of all the document library file entry types that the user has permissions to view where groupId = ?. 516 * 517 * <p> 518 * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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. 519 * </p> 520 * 521 * @param groupId the group ID 522 * @param start the lower bound of the range of document library file entry types 523 * @param end the upper bound of the range of document library file entry types (not inclusive) 524 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 525 * @return the ordered range of matching document library file entry types that the user has permission to view 526 */ 527 public java.util.List<DLFileEntryType> filterFindByGroupId(long groupId, 528 int start, int end, 529 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); 530 531 /** 532 * Returns the document library file entry types before and after the current document library file entry type in the ordered set of document library file entry types that the user has permission to view where groupId = ?. 533 * 534 * @param fileEntryTypeId the primary key of the current document library file entry type 535 * @param groupId the group ID 536 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 537 * @return the previous, current, and next document library file entry type 538 * @throws NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found 539 */ 540 public DLFileEntryType[] filterFindByGroupId_PrevAndNext( 541 long fileEntryTypeId, long groupId, 542 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator) 543 throws NoSuchFileEntryTypeException; 544 545 /** 546 * Returns all the document library file entry types that the user has permission to view where groupId = any ?. 547 * 548 * @param groupIds the group IDs 549 * @return the matching document library file entry types that the user has permission to view 550 */ 551 public java.util.List<DLFileEntryType> filterFindByGroupId(long[] groupIds); 552 553 /** 554 * Returns a range of all the document library file entry types that the user has permission to view where groupId = any ?. 555 * 556 * <p> 557 * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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. 558 * </p> 559 * 560 * @param groupIds the group IDs 561 * @param start the lower bound of the range of document library file entry types 562 * @param end the upper bound of the range of document library file entry types (not inclusive) 563 * @return the range of matching document library file entry types that the user has permission to view 564 */ 565 public java.util.List<DLFileEntryType> filterFindByGroupId( 566 long[] groupIds, int start, int end); 567 568 /** 569 * Returns an ordered range of all the document library file entry types that the user has permission to view where groupId = any ?. 570 * 571 * <p> 572 * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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. 573 * </p> 574 * 575 * @param groupIds the group IDs 576 * @param start the lower bound of the range of document library file entry types 577 * @param end the upper bound of the range of document library file entry types (not inclusive) 578 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 579 * @return the ordered range of matching document library file entry types that the user has permission to view 580 */ 581 public java.util.List<DLFileEntryType> filterFindByGroupId( 582 long[] groupIds, int start, int end, 583 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); 584 585 /** 586 * Returns all the document library file entry types where groupId = any ?. 587 * 588 * <p> 589 * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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. 590 * </p> 591 * 592 * @param groupIds the group IDs 593 * @return the matching document library file entry types 594 */ 595 public java.util.List<DLFileEntryType> findByGroupId(long[] groupIds); 596 597 /** 598 * Returns a range of all the document library file entry types where groupId = any ?. 599 * 600 * <p> 601 * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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. 602 * </p> 603 * 604 * @param groupIds the group IDs 605 * @param start the lower bound of the range of document library file entry types 606 * @param end the upper bound of the range of document library file entry types (not inclusive) 607 * @return the range of matching document library file entry types 608 */ 609 public java.util.List<DLFileEntryType> findByGroupId(long[] groupIds, 610 int start, int end); 611 612 /** 613 * Returns an ordered range of all the document library file entry types where groupId = any ?. 614 * 615 * <p> 616 * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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. 617 * </p> 618 * 619 * @param groupIds the group IDs 620 * @param start the lower bound of the range of document library file entry types 621 * @param end the upper bound of the range of document library file entry types (not inclusive) 622 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 623 * @return the ordered range of matching document library file entry types 624 */ 625 public java.util.List<DLFileEntryType> findByGroupId(long[] groupIds, 626 int start, int end, 627 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); 628 629 /** 630 * Returns an ordered range of all the document library file entry types where groupId = ?, optionally using the finder cache. 631 * 632 * <p> 633 * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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. 634 * </p> 635 * 636 * @param groupId the group ID 637 * @param start the lower bound of the range of document library file entry types 638 * @param end the upper bound of the range of document library file entry types (not inclusive) 639 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 640 * @param retrieveFromCache whether to retrieve from the finder cache 641 * @return the ordered range of matching document library file entry types 642 */ 643 public java.util.List<DLFileEntryType> findByGroupId(long[] groupIds, 644 int start, int end, 645 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator, 646 boolean retrieveFromCache); 647 648 /** 649 * Removes all the document library file entry types where groupId = ? from the database. 650 * 651 * @param groupId the group ID 652 */ 653 public void removeByGroupId(long groupId); 654 655 /** 656 * Returns the number of document library file entry types where groupId = ?. 657 * 658 * @param groupId the group ID 659 * @return the number of matching document library file entry types 660 */ 661 public int countByGroupId(long groupId); 662 663 /** 664 * Returns the number of document library file entry types where groupId = any ?. 665 * 666 * @param groupIds the group IDs 667 * @return the number of matching document library file entry types 668 */ 669 public int countByGroupId(long[] groupIds); 670 671 /** 672 * Returns the number of document library file entry types that the user has permission to view where groupId = ?. 673 * 674 * @param groupId the group ID 675 * @return the number of matching document library file entry types that the user has permission to view 676 */ 677 public int filterCountByGroupId(long groupId); 678 679 /** 680 * Returns the number of document library file entry types that the user has permission to view where groupId = any ?. 681 * 682 * @param groupIds the group IDs 683 * @return the number of matching document library file entry types that the user has permission to view 684 */ 685 public int filterCountByGroupId(long[] groupIds); 686 687 /** 688 * Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or throws a {@link NoSuchFileEntryTypeException} if it could not be found. 689 * 690 * @param groupId the group ID 691 * @param fileEntryTypeKey the file entry type key 692 * @return the matching document library file entry type 693 * @throws NoSuchFileEntryTypeException if a matching document library file entry type could not be found 694 */ 695 public DLFileEntryType findByG_F(long groupId, 696 java.lang.String fileEntryTypeKey) throws NoSuchFileEntryTypeException; 697 698 /** 699 * Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 700 * 701 * @param groupId the group ID 702 * @param fileEntryTypeKey the file entry type key 703 * @return the matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found 704 */ 705 public DLFileEntryType fetchByG_F(long groupId, 706 java.lang.String fileEntryTypeKey); 707 708 /** 709 * Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 710 * 711 * @param groupId the group ID 712 * @param fileEntryTypeKey the file entry type key 713 * @param retrieveFromCache whether to retrieve from the finder cache 714 * @return the matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found 715 */ 716 public DLFileEntryType fetchByG_F(long groupId, 717 java.lang.String fileEntryTypeKey, boolean retrieveFromCache); 718 719 /** 720 * Removes the document library file entry type where groupId = ? and fileEntryTypeKey = ? from the database. 721 * 722 * @param groupId the group ID 723 * @param fileEntryTypeKey the file entry type key 724 * @return the document library file entry type that was removed 725 */ 726 public DLFileEntryType removeByG_F(long groupId, 727 java.lang.String fileEntryTypeKey) throws NoSuchFileEntryTypeException; 728 729 /** 730 * Returns the number of document library file entry types where groupId = ? and fileEntryTypeKey = ?. 731 * 732 * @param groupId the group ID 733 * @param fileEntryTypeKey the file entry type key 734 * @return the number of matching document library file entry types 735 */ 736 public int countByG_F(long groupId, java.lang.String fileEntryTypeKey); 737 738 /** 739 * Caches the document library file entry type in the entity cache if it is enabled. 740 * 741 * @param dlFileEntryType the document library file entry type 742 */ 743 public void cacheResult(DLFileEntryType dlFileEntryType); 744 745 /** 746 * Caches the document library file entry types in the entity cache if it is enabled. 747 * 748 * @param dlFileEntryTypes the document library file entry types 749 */ 750 public void cacheResult(java.util.List<DLFileEntryType> dlFileEntryTypes); 751 752 /** 753 * Creates a new document library file entry type with the primary key. Does not add the document library file entry type to the database. 754 * 755 * @param fileEntryTypeId the primary key for the new document library file entry type 756 * @return the new document library file entry type 757 */ 758 public DLFileEntryType create(long fileEntryTypeId); 759 760 /** 761 * Removes the document library file entry type with the primary key from the database. Also notifies the appropriate model listeners. 762 * 763 * @param fileEntryTypeId the primary key of the document library file entry type 764 * @return the document library file entry type that was removed 765 * @throws NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found 766 */ 767 public DLFileEntryType remove(long fileEntryTypeId) 768 throws NoSuchFileEntryTypeException; 769 770 public DLFileEntryType updateImpl(DLFileEntryType dlFileEntryType); 771 772 /** 773 * Returns the document library file entry type with the primary key or throws a {@link NoSuchFileEntryTypeException} if it could not be found. 774 * 775 * @param fileEntryTypeId the primary key of the document library file entry type 776 * @return the document library file entry type 777 * @throws NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found 778 */ 779 public DLFileEntryType findByPrimaryKey(long fileEntryTypeId) 780 throws NoSuchFileEntryTypeException; 781 782 /** 783 * Returns the document library file entry type with the primary key or returns <code>null</code> if it could not be found. 784 * 785 * @param fileEntryTypeId the primary key of the document library file entry type 786 * @return the document library file entry type, or <code>null</code> if a document library file entry type with the primary key could not be found 787 */ 788 public DLFileEntryType fetchByPrimaryKey(long fileEntryTypeId); 789 790 @Override 791 public java.util.Map<java.io.Serializable, DLFileEntryType> fetchByPrimaryKeys( 792 java.util.Set<java.io.Serializable> primaryKeys); 793 794 /** 795 * Returns all the document library file entry types. 796 * 797 * @return the document library file entry types 798 */ 799 public java.util.List<DLFileEntryType> findAll(); 800 801 /** 802 * Returns a range of all the document library file entry types. 803 * 804 * <p> 805 * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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. 806 * </p> 807 * 808 * @param start the lower bound of the range of document library file entry types 809 * @param end the upper bound of the range of document library file entry types (not inclusive) 810 * @return the range of document library file entry types 811 */ 812 public java.util.List<DLFileEntryType> findAll(int start, int end); 813 814 /** 815 * Returns an ordered range of all the document library file entry types. 816 * 817 * <p> 818 * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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. 819 * </p> 820 * 821 * @param start the lower bound of the range of document library file entry types 822 * @param end the upper bound of the range of document library file entry types (not inclusive) 823 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 824 * @return the ordered range of document library file entry types 825 */ 826 public java.util.List<DLFileEntryType> findAll(int start, int end, 827 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); 828 829 /** 830 * Returns an ordered range of all the document library file entry types. 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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. 834 * </p> 835 * 836 * @param start the lower bound of the range of document library file entry types 837 * @param end the upper bound of the range of document library file entry types (not inclusive) 838 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 839 * @param retrieveFromCache whether to retrieve from the finder cache 840 * @return the ordered range of document library file entry types 841 */ 842 public java.util.List<DLFileEntryType> findAll(int start, int end, 843 com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator, 844 boolean retrieveFromCache); 845 846 /** 847 * Removes all the document library file entry types from the database. 848 */ 849 public void removeAll(); 850 851 /** 852 * Returns the number of document library file entry types. 853 * 854 * @return the number of document library file entry types 855 */ 856 public int countAll(); 857 858 /** 859 * Returns the primaryKeys of document library folders associated with the document library file entry type. 860 * 861 * @param pk the primary key of the document library file entry type 862 * @return long[] of the primaryKeys of document library folders associated with the document library file entry type 863 */ 864 public long[] getDLFolderPrimaryKeys(long pk); 865 866 /** 867 * Returns all the document library folders associated with the document library file entry type. 868 * 869 * @param pk the primary key of the document library file entry type 870 * @return the document library folders associated with the document library file entry type 871 */ 872 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders( 873 long pk); 874 875 /** 876 * Returns a range of all the document library folders associated with the document library file entry type. 877 * 878 * <p> 879 * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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. 880 * </p> 881 * 882 * @param pk the primary key of the document library file entry type 883 * @param start the lower bound of the range of document library file entry types 884 * @param end the upper bound of the range of document library file entry types (not inclusive) 885 * @return the range of document library folders associated with the document library file entry type 886 */ 887 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders( 888 long pk, int start, int end); 889 890 /** 891 * Returns an ordered range of all the document library folders associated with the document library file entry type. 892 * 893 * <p> 894 * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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. 895 * </p> 896 * 897 * @param pk the primary key of the document library file entry type 898 * @param start the lower bound of the range of document library file entry types 899 * @param end the upper bound of the range of document library file entry types (not inclusive) 900 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 901 * @return the ordered range of document library folders associated with the document library file entry type 902 */ 903 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders( 904 long pk, int start, int end, 905 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator); 906 907 /** 908 * Returns the number of document library folders associated with the document library file entry type. 909 * 910 * @param pk the primary key of the document library file entry type 911 * @return the number of document library folders associated with the document library file entry type 912 */ 913 public int getDLFoldersSize(long pk); 914 915 /** 916 * Returns <code>true</code> if the document library folder is associated with the document library file entry type. 917 * 918 * @param pk the primary key of the document library file entry type 919 * @param dlFolderPK the primary key of the document library folder 920 * @return <code>true</code> if the document library folder is associated with the document library file entry type; <code>false</code> otherwise 921 */ 922 public boolean containsDLFolder(long pk, long dlFolderPK); 923 924 /** 925 * Returns <code>true</code> if the document library file entry type has any document library folders associated with it. 926 * 927 * @param pk the primary key of the document library file entry type to check for associations with document library folders 928 * @return <code>true</code> if the document library file entry type has any document library folders associated with it; <code>false</code> otherwise 929 */ 930 public boolean containsDLFolders(long pk); 931 932 /** 933 * Adds an association between the document library file entry type and the document library folder. Also notifies the appropriate model listeners and clears the mapping table finder cache. 934 * 935 * @param pk the primary key of the document library file entry type 936 * @param dlFolderPK the primary key of the document library folder 937 */ 938 public void addDLFolder(long pk, long dlFolderPK); 939 940 /** 941 * Adds an association between the document library file entry type and the document library folder. Also notifies the appropriate model listeners and clears the mapping table finder cache. 942 * 943 * @param pk the primary key of the document library file entry type 944 * @param dlFolder the document library folder 945 */ 946 public void addDLFolder(long pk, 947 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder); 948 949 /** 950 * Adds an association between the document library file entry type and the document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache. 951 * 952 * @param pk the primary key of the document library file entry type 953 * @param dlFolderPKs the primary keys of the document library folders 954 */ 955 public void addDLFolders(long pk, long[] dlFolderPKs); 956 957 /** 958 * Adds an association between the document library file entry type and the document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache. 959 * 960 * @param pk the primary key of the document library file entry type 961 * @param dlFolders the document library folders 962 */ 963 public void addDLFolders(long pk, 964 java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> dlFolders); 965 966 /** 967 * Clears all associations between the document library file entry type and its document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache. 968 * 969 * @param pk the primary key of the document library file entry type to clear the associated document library folders from 970 */ 971 public void clearDLFolders(long pk); 972 973 /** 974 * Removes the association between the document library file entry type and the document library folder. Also notifies the appropriate model listeners and clears the mapping table finder cache. 975 * 976 * @param pk the primary key of the document library file entry type 977 * @param dlFolderPK the primary key of the document library folder 978 */ 979 public void removeDLFolder(long pk, long dlFolderPK); 980 981 /** 982 * Removes the association between the document library file entry type and the document library folder. Also notifies the appropriate model listeners and clears the mapping table finder cache. 983 * 984 * @param pk the primary key of the document library file entry type 985 * @param dlFolder the document library folder 986 */ 987 public void removeDLFolder(long pk, 988 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder); 989 990 /** 991 * Removes the association between the document library file entry type and the document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache. 992 * 993 * @param pk the primary key of the document library file entry type 994 * @param dlFolderPKs the primary keys of the document library folders 995 */ 996 public void removeDLFolders(long pk, long[] dlFolderPKs); 997 998 /** 999 * Removes the association between the document library file entry type and the document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache. 1000 * 1001 * @param pk the primary key of the document library file entry type 1002 * @param dlFolders the document library folders 1003 */ 1004 public void removeDLFolders(long pk, 1005 java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> dlFolders); 1006 1007 /** 1008 * Sets the document library folders associated with the document library file entry type, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache. 1009 * 1010 * @param pk the primary key of the document library file entry type 1011 * @param dlFolderPKs the primary keys of the document library folders to be associated with the document library file entry type 1012 */ 1013 public void setDLFolders(long pk, long[] dlFolderPKs); 1014 1015 /** 1016 * Sets the document library folders associated with the document library file entry type, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache. 1017 * 1018 * @param pk the primary key of the document library file entry type 1019 * @param dlFolders the document library folders to be associated with the document library file entry type 1020 */ 1021 public void setDLFolders(long pk, 1022 java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> dlFolders); 1023 1024 @Override 1025 public java.util.Set<java.lang.String> getBadColumnNames(); 1026 }