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