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