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