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