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