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