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