001 /** 002 * Copyright (c) 2000-2010 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.DLFileVersion; 020 021 /** 022 * The persistence interface for the d l file version service. 023 * 024 * <p> 025 * Never modify or reference this interface directly. Always use {@link DLFileVersionUtil} to access the d l file version persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 026 * </p> 027 * 028 * <p> 029 * Caching information and settings can be found in <code>portal.properties</code> 030 * </p> 031 * 032 * @author Brian Wing Shun Chan 033 * @see DLFileVersionPersistenceImpl 034 * @see DLFileVersionUtil 035 * @generated 036 */ 037 public interface DLFileVersionPersistence extends BasePersistence<DLFileVersion> { 038 /** 039 * Caches the d l file version in the entity cache if it is enabled. 040 * 041 * @param dlFileVersion the d l file version to cache 042 */ 043 public void cacheResult( 044 com.liferay.portlet.documentlibrary.model.DLFileVersion dlFileVersion); 045 046 /** 047 * Caches the d l file versions in the entity cache if it is enabled. 048 * 049 * @param dlFileVersions the d l file versions to cache 050 */ 051 public void cacheResult( 052 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> dlFileVersions); 053 054 /** 055 * Creates a new d l file version with the primary key. Does not add the d l file version to the database. 056 * 057 * @param fileVersionId the primary key for the new d l file version 058 * @return the new d l file version 059 */ 060 public com.liferay.portlet.documentlibrary.model.DLFileVersion create( 061 long fileVersionId); 062 063 /** 064 * Removes the d l file version with the primary key from the database. Also notifies the appropriate model listeners. 065 * 066 * @param fileVersionId the primary key of the d l file version to remove 067 * @return the d l file version that was removed 068 * @throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException if a d l file version with the primary key could not be found 069 * @throws SystemException if a system exception occurred 070 */ 071 public com.liferay.portlet.documentlibrary.model.DLFileVersion remove( 072 long fileVersionId) 073 throws com.liferay.portal.kernel.exception.SystemException, 074 com.liferay.portlet.documentlibrary.NoSuchFileVersionException; 075 076 public com.liferay.portlet.documentlibrary.model.DLFileVersion updateImpl( 077 com.liferay.portlet.documentlibrary.model.DLFileVersion dlFileVersion, 078 boolean merge) 079 throws com.liferay.portal.kernel.exception.SystemException; 080 081 /** 082 * Finds the d l file version with the primary key or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFileVersionException} if it could not be found. 083 * 084 * @param fileVersionId the primary key of the d l file version to find 085 * @return the d l file version 086 * @throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException if a d l file version with the primary key could not be found 087 * @throws SystemException if a system exception occurred 088 */ 089 public com.liferay.portlet.documentlibrary.model.DLFileVersion findByPrimaryKey( 090 long fileVersionId) 091 throws com.liferay.portal.kernel.exception.SystemException, 092 com.liferay.portlet.documentlibrary.NoSuchFileVersionException; 093 094 /** 095 * Finds the d l file version with the primary key or returns <code>null</code> if it could not be found. 096 * 097 * @param fileVersionId the primary key of the d l file version to find 098 * @return the d l file version, or <code>null</code> if a d l file version with the primary key could not be found 099 * @throws SystemException if a system exception occurred 100 */ 101 public com.liferay.portlet.documentlibrary.model.DLFileVersion fetchByPrimaryKey( 102 long fileVersionId) 103 throws com.liferay.portal.kernel.exception.SystemException; 104 105 /** 106 * Finds all the d l file versions where groupId = ? and folderId = ? and name = ?. 107 * 108 * @param groupId the group id to search with 109 * @param folderId the folder id to search with 110 * @param name the name to search with 111 * @return the matching d l file versions 112 * @throws SystemException if a system exception occurred 113 */ 114 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> findByG_F_N( 115 long groupId, long folderId, java.lang.String name) 116 throws com.liferay.portal.kernel.exception.SystemException; 117 118 /** 119 * Finds a range of all the d l file versions where groupId = ? and folderId = ? and name = ?. 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 groupId the group id to search with 126 * @param folderId the folder id to search with 127 * @param name the name to search with 128 * @param start the lower bound of the range of d l file versions to return 129 * @param end the upper bound of the range of d l file versions to return (not inclusive) 130 * @return the range of matching d l file versions 131 * @throws SystemException if a system exception occurred 132 */ 133 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> findByG_F_N( 134 long groupId, long folderId, java.lang.String name, int start, int end) 135 throws com.liferay.portal.kernel.exception.SystemException; 136 137 /** 138 * Finds an ordered range of all the d l file versions where groupId = ? and folderId = ? and name = ?. 139 * 140 * <p> 141 * 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. 142 * </p> 143 * 144 * @param groupId the group id to search with 145 * @param folderId the folder id to search with 146 * @param name the name to search with 147 * @param start the lower bound of the range of d l file versions to return 148 * @param end the upper bound of the range of d l file versions to return (not inclusive) 149 * @param orderByComparator the comparator to order the results by 150 * @return the ordered range of matching d l file versions 151 * @throws SystemException if a system exception occurred 152 */ 153 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> findByG_F_N( 154 long groupId, long folderId, java.lang.String name, int start, int end, 155 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 156 throws com.liferay.portal.kernel.exception.SystemException; 157 158 /** 159 * Finds the first d l file version in the ordered set where groupId = ? and folderId = ? and name = ?. 160 * 161 * <p> 162 * 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. 163 * </p> 164 * 165 * @param groupId the group id to search with 166 * @param folderId the folder id to search with 167 * @param name the name to search with 168 * @param orderByComparator the comparator to order the set by 169 * @return the first matching d l file version 170 * @throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException if a matching d l file version could not be found 171 * @throws SystemException if a system exception occurred 172 */ 173 public com.liferay.portlet.documentlibrary.model.DLFileVersion findByG_F_N_First( 174 long groupId, long folderId, java.lang.String name, 175 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 176 throws com.liferay.portal.kernel.exception.SystemException, 177 com.liferay.portlet.documentlibrary.NoSuchFileVersionException; 178 179 /** 180 * Finds the last d l file version in the ordered set where groupId = ? and folderId = ? and name = ?. 181 * 182 * <p> 183 * 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. 184 * </p> 185 * 186 * @param groupId the group id to search with 187 * @param folderId the folder id to search with 188 * @param name the name to search with 189 * @param orderByComparator the comparator to order the set by 190 * @return the last matching d l file version 191 * @throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException if a matching d l file version could not be found 192 * @throws SystemException if a system exception occurred 193 */ 194 public com.liferay.portlet.documentlibrary.model.DLFileVersion findByG_F_N_Last( 195 long groupId, long folderId, java.lang.String name, 196 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 197 throws com.liferay.portal.kernel.exception.SystemException, 198 com.liferay.portlet.documentlibrary.NoSuchFileVersionException; 199 200 /** 201 * Finds the d l file versions before and after the current d l file version in the ordered set where groupId = ? and folderId = ? and name = ?. 202 * 203 * <p> 204 * 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. 205 * </p> 206 * 207 * @param fileVersionId the primary key of the current d l file version 208 * @param groupId the group id to search with 209 * @param folderId the folder id to search with 210 * @param name the name to search with 211 * @param orderByComparator the comparator to order the set by 212 * @return the previous, current, and next d l file version 213 * @throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException if a d l file version with the primary key could not be found 214 * @throws SystemException if a system exception occurred 215 */ 216 public com.liferay.portlet.documentlibrary.model.DLFileVersion[] findByG_F_N_PrevAndNext( 217 long fileVersionId, long groupId, long folderId, java.lang.String name, 218 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 219 throws com.liferay.portal.kernel.exception.SystemException, 220 com.liferay.portlet.documentlibrary.NoSuchFileVersionException; 221 222 /** 223 * Finds the d l file version where groupId = ? and folderId = ? and name = ? and version = ? or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFileVersionException} if it could not be found. 224 * 225 * @param groupId the group id to search with 226 * @param folderId the folder id to search with 227 * @param name the name to search with 228 * @param version the version to search with 229 * @return the matching d l file version 230 * @throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException if a matching d l file version could not be found 231 * @throws SystemException if a system exception occurred 232 */ 233 public com.liferay.portlet.documentlibrary.model.DLFileVersion findByG_F_N_V( 234 long groupId, long folderId, java.lang.String name, 235 java.lang.String version) 236 throws com.liferay.portal.kernel.exception.SystemException, 237 com.liferay.portlet.documentlibrary.NoSuchFileVersionException; 238 239 /** 240 * Finds the d l file version where groupId = ? and folderId = ? and name = ? and version = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 241 * 242 * @param groupId the group id to search with 243 * @param folderId the folder id to search with 244 * @param name the name to search with 245 * @param version the version to search with 246 * @return the matching d l file version, or <code>null</code> if a matching d l file version could not be found 247 * @throws SystemException if a system exception occurred 248 */ 249 public com.liferay.portlet.documentlibrary.model.DLFileVersion fetchByG_F_N_V( 250 long groupId, long folderId, java.lang.String name, 251 java.lang.String version) 252 throws com.liferay.portal.kernel.exception.SystemException; 253 254 /** 255 * Finds the d l file version where groupId = ? and folderId = ? and name = ? and version = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 256 * 257 * @param groupId the group id to search with 258 * @param folderId the folder id to search with 259 * @param name the name to search with 260 * @param version the version to search with 261 * @return the matching d l file version, or <code>null</code> if a matching d l file version could not be found 262 * @throws SystemException if a system exception occurred 263 */ 264 public com.liferay.portlet.documentlibrary.model.DLFileVersion fetchByG_F_N_V( 265 long groupId, long folderId, java.lang.String name, 266 java.lang.String version, boolean retrieveFromCache) 267 throws com.liferay.portal.kernel.exception.SystemException; 268 269 /** 270 * Finds all the d l file versions where groupId = ? and folderId = ? and name = ? and status = ?. 271 * 272 * @param groupId the group id to search with 273 * @param folderId the folder id to search with 274 * @param name the name to search with 275 * @param status the status to search with 276 * @return the matching d l file versions 277 * @throws SystemException if a system exception occurred 278 */ 279 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> findByG_F_N_S( 280 long groupId, long folderId, java.lang.String name, int status) 281 throws com.liferay.portal.kernel.exception.SystemException; 282 283 /** 284 * Finds a range of all the d l file versions where groupId = ? and folderId = ? and name = ? and status = ?. 285 * 286 * <p> 287 * 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. 288 * </p> 289 * 290 * @param groupId the group id to search with 291 * @param folderId the folder id to search with 292 * @param name the name to search with 293 * @param status the status to search with 294 * @param start the lower bound of the range of d l file versions to return 295 * @param end the upper bound of the range of d l file versions to return (not inclusive) 296 * @return the range of matching d l file versions 297 * @throws SystemException if a system exception occurred 298 */ 299 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> findByG_F_N_S( 300 long groupId, long folderId, java.lang.String name, int status, 301 int start, int end) 302 throws com.liferay.portal.kernel.exception.SystemException; 303 304 /** 305 * Finds an ordered range of all the d l file versions where groupId = ? and folderId = ? and name = ? and status = ?. 306 * 307 * <p> 308 * 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. 309 * </p> 310 * 311 * @param groupId the group id to search with 312 * @param folderId the folder id to search with 313 * @param name the name to search with 314 * @param status the status to search with 315 * @param start the lower bound of the range of d l file versions to return 316 * @param end the upper bound of the range of d l file versions to return (not inclusive) 317 * @param orderByComparator the comparator to order the results by 318 * @return the ordered range of matching d l file versions 319 * @throws SystemException if a system exception occurred 320 */ 321 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> findByG_F_N_S( 322 long groupId, long folderId, java.lang.String name, int status, 323 int start, int end, 324 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 325 throws com.liferay.portal.kernel.exception.SystemException; 326 327 /** 328 * Finds the first d l file version in the ordered set where groupId = ? and folderId = ? and name = ? and status = ?. 329 * 330 * <p> 331 * 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. 332 * </p> 333 * 334 * @param groupId the group id to search with 335 * @param folderId the folder id to search with 336 * @param name the name to search with 337 * @param status the status to search with 338 * @param orderByComparator the comparator to order the set by 339 * @return the first matching d l file version 340 * @throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException if a matching d l file version could not be found 341 * @throws SystemException if a system exception occurred 342 */ 343 public com.liferay.portlet.documentlibrary.model.DLFileVersion findByG_F_N_S_First( 344 long groupId, long folderId, java.lang.String name, int status, 345 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 346 throws com.liferay.portal.kernel.exception.SystemException, 347 com.liferay.portlet.documentlibrary.NoSuchFileVersionException; 348 349 /** 350 * Finds the last d l file version in the ordered set where groupId = ? and folderId = ? and name = ? and status = ?. 351 * 352 * <p> 353 * 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. 354 * </p> 355 * 356 * @param groupId the group id to search with 357 * @param folderId the folder id to search with 358 * @param name the name to search with 359 * @param status the status to search with 360 * @param orderByComparator the comparator to order the set by 361 * @return the last matching d l file version 362 * @throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException if a matching d l file version could not be found 363 * @throws SystemException if a system exception occurred 364 */ 365 public com.liferay.portlet.documentlibrary.model.DLFileVersion findByG_F_N_S_Last( 366 long groupId, long folderId, java.lang.String name, int status, 367 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 368 throws com.liferay.portal.kernel.exception.SystemException, 369 com.liferay.portlet.documentlibrary.NoSuchFileVersionException; 370 371 /** 372 * Finds the d l file versions before and after the current d l file version in the ordered set where groupId = ? and folderId = ? and name = ? and status = ?. 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 fileVersionId the primary key of the current d l file version 379 * @param groupId the group id to search with 380 * @param folderId the folder id to search with 381 * @param name the name to search with 382 * @param status the status to search with 383 * @param orderByComparator the comparator to order the set by 384 * @return the previous, current, and next d l file version 385 * @throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException if a d l file version with the primary key could not be found 386 * @throws SystemException if a system exception occurred 387 */ 388 public com.liferay.portlet.documentlibrary.model.DLFileVersion[] findByG_F_N_S_PrevAndNext( 389 long fileVersionId, long groupId, long folderId, java.lang.String name, 390 int status, 391 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 392 throws com.liferay.portal.kernel.exception.SystemException, 393 com.liferay.portlet.documentlibrary.NoSuchFileVersionException; 394 395 /** 396 * Finds all the d l file versions. 397 * 398 * @return the d l file versions 399 * @throws SystemException if a system exception occurred 400 */ 401 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> findAll() 402 throws com.liferay.portal.kernel.exception.SystemException; 403 404 /** 405 * Finds a range of all the d l file versions. 406 * 407 * <p> 408 * 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. 409 * </p> 410 * 411 * @param start the lower bound of the range of d l file versions to return 412 * @param end the upper bound of the range of d l file versions to return (not inclusive) 413 * @return the range of d l file versions 414 * @throws SystemException if a system exception occurred 415 */ 416 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> findAll( 417 int start, int end) 418 throws com.liferay.portal.kernel.exception.SystemException; 419 420 /** 421 * Finds an ordered range of all the d l file versions. 422 * 423 * <p> 424 * 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. 425 * </p> 426 * 427 * @param start the lower bound of the range of d l file versions to return 428 * @param end the upper bound of the range of d l file versions to return (not inclusive) 429 * @param orderByComparator the comparator to order the results by 430 * @return the ordered range of d l file versions 431 * @throws SystemException if a system exception occurred 432 */ 433 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> findAll( 434 int start, int end, 435 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 436 throws com.liferay.portal.kernel.exception.SystemException; 437 438 /** 439 * Removes all the d l file versions where groupId = ? and folderId = ? and name = ? from the database. 440 * 441 * @param groupId the group id to search with 442 * @param folderId the folder id to search with 443 * @param name the name to search with 444 * @throws SystemException if a system exception occurred 445 */ 446 public void removeByG_F_N(long groupId, long folderId, java.lang.String name) 447 throws com.liferay.portal.kernel.exception.SystemException; 448 449 /** 450 * Removes the d l file version where groupId = ? and folderId = ? and name = ? and version = ? from the database. 451 * 452 * @param groupId the group id to search with 453 * @param folderId the folder id to search with 454 * @param name the name to search with 455 * @param version the version to search with 456 * @throws SystemException if a system exception occurred 457 */ 458 public void removeByG_F_N_V(long groupId, long folderId, 459 java.lang.String name, java.lang.String version) 460 throws com.liferay.portal.kernel.exception.SystemException, 461 com.liferay.portlet.documentlibrary.NoSuchFileVersionException; 462 463 /** 464 * Removes all the d l file versions where groupId = ? and folderId = ? and name = ? and status = ? from the database. 465 * 466 * @param groupId the group id to search with 467 * @param folderId the folder id to search with 468 * @param name the name to search with 469 * @param status the status to search with 470 * @throws SystemException if a system exception occurred 471 */ 472 public void removeByG_F_N_S(long groupId, long folderId, 473 java.lang.String name, int status) 474 throws com.liferay.portal.kernel.exception.SystemException; 475 476 /** 477 * Removes all the d l file versions from the database. 478 * 479 * @throws SystemException if a system exception occurred 480 */ 481 public void removeAll() 482 throws com.liferay.portal.kernel.exception.SystemException; 483 484 /** 485 * Counts all the d l file versions where groupId = ? and folderId = ? and name = ?. 486 * 487 * @param groupId the group id to search with 488 * @param folderId the folder id to search with 489 * @param name the name to search with 490 * @return the number of matching d l file versions 491 * @throws SystemException if a system exception occurred 492 */ 493 public int countByG_F_N(long groupId, long folderId, java.lang.String name) 494 throws com.liferay.portal.kernel.exception.SystemException; 495 496 /** 497 * Counts all the d l file versions where groupId = ? and folderId = ? and name = ? and version = ?. 498 * 499 * @param groupId the group id to search with 500 * @param folderId the folder id to search with 501 * @param name the name to search with 502 * @param version the version to search with 503 * @return the number of matching d l file versions 504 * @throws SystemException if a system exception occurred 505 */ 506 public int countByG_F_N_V(long groupId, long folderId, 507 java.lang.String name, java.lang.String version) 508 throws com.liferay.portal.kernel.exception.SystemException; 509 510 /** 511 * Counts all the d l file versions where groupId = ? and folderId = ? and name = ? and status = ?. 512 * 513 * @param groupId the group id to search with 514 * @param folderId the folder id to search with 515 * @param name the name to search with 516 * @param status the status to search with 517 * @return the number of matching d l file versions 518 * @throws SystemException if a system exception occurred 519 */ 520 public int countByG_F_N_S(long groupId, long folderId, 521 java.lang.String name, int status) 522 throws com.liferay.portal.kernel.exception.SystemException; 523 524 /** 525 * Counts all the d l file versions. 526 * 527 * @return the number of d l file versions 528 * @throws SystemException if a system exception occurred 529 */ 530 public int countAll() 531 throws com.liferay.portal.kernel.exception.SystemException; 532 }