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