001 /** 002 * Copyright (c) 2000-2011 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.kernel.exception.SystemException; 018 import com.liferay.portal.service.persistence.BasePersistence; 019 020 import com.liferay.portlet.messageboards.model.MBMailingList; 021 022 /** 023 * The persistence interface for the message boards mailing list service. 024 * 025 * <p> 026 * Caching information and settings can be found in <code>portal.properties</code> 027 * </p> 028 * 029 * @author Brian Wing Shun Chan 030 * @see MBMailingListPersistenceImpl 031 * @see MBMailingListUtil 032 * @generated 033 */ 034 public interface MBMailingListPersistence extends BasePersistence<MBMailingList> { 035 /* 036 * NOTE FOR DEVELOPERS: 037 * 038 * 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. 039 */ 040 041 /** 042 * Caches the message boards mailing list in the entity cache if it is enabled. 043 * 044 * @param mbMailingList the message boards mailing list to cache 045 */ 046 public void cacheResult( 047 com.liferay.portlet.messageboards.model.MBMailingList mbMailingList); 048 049 /** 050 * Caches the message boards mailing lists in the entity cache if it is enabled. 051 * 052 * @param mbMailingLists the message boards mailing lists to cache 053 */ 054 public void cacheResult( 055 java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> mbMailingLists); 056 057 /** 058 * Creates a new message boards mailing list with the primary key. Does not add the message boards mailing list to the database. 059 * 060 * @param mailingListId the primary key for the new message boards mailing list 061 * @return the new message boards mailing list 062 */ 063 public com.liferay.portlet.messageboards.model.MBMailingList create( 064 long mailingListId); 065 066 /** 067 * Removes the message boards mailing list with the primary key from the database. Also notifies the appropriate model listeners. 068 * 069 * @param mailingListId the primary key of the message boards mailing list to remove 070 * @return the message boards mailing list that was removed 071 * @throws com.liferay.portlet.messageboards.NoSuchMailingListException if a message boards mailing list with the primary key could not be found 072 * @throws SystemException if a system exception occurred 073 */ 074 public com.liferay.portlet.messageboards.model.MBMailingList remove( 075 long mailingListId) 076 throws com.liferay.portal.kernel.exception.SystemException, 077 com.liferay.portlet.messageboards.NoSuchMailingListException; 078 079 public com.liferay.portlet.messageboards.model.MBMailingList updateImpl( 080 com.liferay.portlet.messageboards.model.MBMailingList mbMailingList, 081 boolean merge) 082 throws com.liferay.portal.kernel.exception.SystemException; 083 084 /** 085 * 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. 086 * 087 * @param mailingListId the primary key of the message boards mailing list to find 088 * @return the message boards mailing list 089 * @throws com.liferay.portlet.messageboards.NoSuchMailingListException if a message boards mailing list with the primary key could not be found 090 * @throws SystemException if a system exception occurred 091 */ 092 public com.liferay.portlet.messageboards.model.MBMailingList findByPrimaryKey( 093 long mailingListId) 094 throws com.liferay.portal.kernel.exception.SystemException, 095 com.liferay.portlet.messageboards.NoSuchMailingListException; 096 097 /** 098 * Finds the message boards mailing list with the primary key or returns <code>null</code> if it could not be found. 099 * 100 * @param mailingListId the primary key of the message boards mailing list to find 101 * @return the message boards mailing list, or <code>null</code> if a message boards mailing list with the primary key could not be found 102 * @throws SystemException if a system exception occurred 103 */ 104 public com.liferay.portlet.messageboards.model.MBMailingList fetchByPrimaryKey( 105 long mailingListId) 106 throws com.liferay.portal.kernel.exception.SystemException; 107 108 /** 109 * Finds all the message boards mailing lists where uuid = ?. 110 * 111 * @param uuid the uuid to search with 112 * @return the matching message boards mailing lists 113 * @throws SystemException if a system exception occurred 114 */ 115 public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findByUuid( 116 java.lang.String uuid) 117 throws com.liferay.portal.kernel.exception.SystemException; 118 119 /** 120 * Finds a range of all the message boards mailing lists where uuid = ?. 121 * 122 * <p> 123 * 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. 124 * </p> 125 * 126 * @param uuid the uuid to search with 127 * @param start the lower bound of the range of message boards mailing lists to return 128 * @param end the upper bound of the range of message boards mailing lists to return (not inclusive) 129 * @return the range of matching message boards mailing lists 130 * @throws SystemException if a system exception occurred 131 */ 132 public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findByUuid( 133 java.lang.String uuid, int start, int end) 134 throws com.liferay.portal.kernel.exception.SystemException; 135 136 /** 137 * Finds an ordered range of all the message boards mailing lists where uuid = ?. 138 * 139 * <p> 140 * 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. 141 * </p> 142 * 143 * @param uuid the uuid to search with 144 * @param start the lower bound of the range of message boards mailing lists to return 145 * @param end the upper bound of the range of message boards mailing lists to return (not inclusive) 146 * @param orderByComparator the comparator to order the results by 147 * @return the ordered range of matching message boards mailing lists 148 * @throws SystemException if a system exception occurred 149 */ 150 public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findByUuid( 151 java.lang.String uuid, int start, int end, 152 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 153 throws com.liferay.portal.kernel.exception.SystemException; 154 155 /** 156 * Finds the first message boards mailing list in the ordered set where uuid = ?. 157 * 158 * <p> 159 * 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. 160 * </p> 161 * 162 * @param uuid the uuid to search with 163 * @param orderByComparator the comparator to order the set by 164 * @return the first matching message boards mailing list 165 * @throws com.liferay.portlet.messageboards.NoSuchMailingListException if a matching message boards mailing list could not be found 166 * @throws SystemException if a system exception occurred 167 */ 168 public com.liferay.portlet.messageboards.model.MBMailingList findByUuid_First( 169 java.lang.String uuid, 170 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 171 throws com.liferay.portal.kernel.exception.SystemException, 172 com.liferay.portlet.messageboards.NoSuchMailingListException; 173 174 /** 175 * Finds the last message boards mailing list in the ordered set where uuid = ?. 176 * 177 * <p> 178 * 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. 179 * </p> 180 * 181 * @param uuid the uuid to search with 182 * @param orderByComparator the comparator to order the set by 183 * @return the last matching message boards mailing list 184 * @throws com.liferay.portlet.messageboards.NoSuchMailingListException if a matching message boards mailing list could not be found 185 * @throws SystemException if a system exception occurred 186 */ 187 public com.liferay.portlet.messageboards.model.MBMailingList findByUuid_Last( 188 java.lang.String uuid, 189 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 190 throws com.liferay.portal.kernel.exception.SystemException, 191 com.liferay.portlet.messageboards.NoSuchMailingListException; 192 193 /** 194 * Finds the message boards mailing lists before and after the current message boards mailing list in the ordered set where uuid = ?. 195 * 196 * <p> 197 * 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. 198 * </p> 199 * 200 * @param mailingListId the primary key of the current message boards mailing list 201 * @param uuid the uuid to search with 202 * @param orderByComparator the comparator to order the set by 203 * @return the previous, current, and next message boards mailing list 204 * @throws com.liferay.portlet.messageboards.NoSuchMailingListException if a message boards mailing list with the primary key could not be found 205 * @throws SystemException if a system exception occurred 206 */ 207 public com.liferay.portlet.messageboards.model.MBMailingList[] findByUuid_PrevAndNext( 208 long mailingListId, java.lang.String uuid, 209 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 210 throws com.liferay.portal.kernel.exception.SystemException, 211 com.liferay.portlet.messageboards.NoSuchMailingListException; 212 213 /** 214 * 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. 215 * 216 * @param uuid the uuid to search with 217 * @param groupId the group ID to search with 218 * @return the matching message boards mailing list 219 * @throws com.liferay.portlet.messageboards.NoSuchMailingListException if a matching message boards mailing list could not be found 220 * @throws SystemException if a system exception occurred 221 */ 222 public com.liferay.portlet.messageboards.model.MBMailingList findByUUID_G( 223 java.lang.String uuid, long groupId) 224 throws com.liferay.portal.kernel.exception.SystemException, 225 com.liferay.portlet.messageboards.NoSuchMailingListException; 226 227 /** 228 * 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. 229 * 230 * @param uuid the uuid to search with 231 * @param groupId the group ID to search with 232 * @return the matching message boards mailing list, or <code>null</code> if a matching message boards mailing list could not be found 233 * @throws SystemException if a system exception occurred 234 */ 235 public com.liferay.portlet.messageboards.model.MBMailingList fetchByUUID_G( 236 java.lang.String uuid, long groupId) 237 throws com.liferay.portal.kernel.exception.SystemException; 238 239 /** 240 * 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. 241 * 242 * @param uuid the uuid to search with 243 * @param groupId the group ID to search with 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 * Finds all the message boards mailing lists where active = ?. 253 * 254 * @param active the active to search with 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 * Finds 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 to search with 270 * @param start the lower bound of the range of message boards mailing lists to return 271 * @param end the upper bound of the range of message boards mailing lists to return (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 * Finds 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 to search with 287 * @param start the lower bound of the range of message boards mailing lists to return 288 * @param end the upper bound of the range of message boards mailing lists to return (not inclusive) 289 * @param orderByComparator the comparator to order the results by 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 * Finds 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 to search with 306 * @param orderByComparator the comparator to order the set by 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 * Finds 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 to search with 325 * @param orderByComparator the comparator to order the set by 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 * Finds 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 to search with 345 * @param orderByComparator the comparator to order the set by 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 * 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. 358 * 359 * @param groupId the group ID to search with 360 * @param categoryId the category ID to search with 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 * 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. 372 * 373 * @param groupId the group ID to search with 374 * @param categoryId the category ID to search with 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 * 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. 384 * 385 * @param groupId the group ID to search with 386 * @param categoryId the category ID to search with 387 * @return the matching message boards mailing list, or <code>null</code> if a matching message boards mailing list could not be found 388 * @throws SystemException if a system exception occurred 389 */ 390 public com.liferay.portlet.messageboards.model.MBMailingList fetchByG_C( 391 long groupId, long categoryId, boolean retrieveFromCache) 392 throws com.liferay.portal.kernel.exception.SystemException; 393 394 /** 395 * Finds all the message boards mailing lists. 396 * 397 * @return the message boards mailing lists 398 * @throws SystemException if a system exception occurred 399 */ 400 public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findAll() 401 throws com.liferay.portal.kernel.exception.SystemException; 402 403 /** 404 * Finds a range of all the message boards mailing lists. 405 * 406 * <p> 407 * 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. 408 * </p> 409 * 410 * @param start the lower bound of the range of message boards mailing lists to return 411 * @param end the upper bound of the range of message boards mailing lists to return (not inclusive) 412 * @return the range of message boards mailing lists 413 * @throws SystemException if a system exception occurred 414 */ 415 public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findAll( 416 int start, int end) 417 throws com.liferay.portal.kernel.exception.SystemException; 418 419 /** 420 * Finds an ordered range of all the message boards mailing lists. 421 * 422 * <p> 423 * 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. 424 * </p> 425 * 426 * @param start the lower bound of the range of message boards mailing lists to return 427 * @param end the upper bound of the range of message boards mailing lists to return (not inclusive) 428 * @param orderByComparator the comparator to order the results by 429 * @return the ordered range of message boards mailing lists 430 * @throws SystemException if a system exception occurred 431 */ 432 public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findAll( 433 int start, int end, 434 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 435 throws com.liferay.portal.kernel.exception.SystemException; 436 437 /** 438 * Removes all the message boards mailing lists where uuid = ? from the database. 439 * 440 * @param uuid the uuid to search with 441 * @throws SystemException if a system exception occurred 442 */ 443 public void removeByUuid(java.lang.String uuid) 444 throws com.liferay.portal.kernel.exception.SystemException; 445 446 /** 447 * Removes the message boards mailing list where uuid = ? and groupId = ? from the database. 448 * 449 * @param uuid the uuid to search with 450 * @param groupId the group ID to search with 451 * @throws SystemException if a system exception occurred 452 */ 453 public void removeByUUID_G(java.lang.String uuid, long groupId) 454 throws com.liferay.portal.kernel.exception.SystemException, 455 com.liferay.portlet.messageboards.NoSuchMailingListException; 456 457 /** 458 * Removes all the message boards mailing lists where active = ? from the database. 459 * 460 * @param active the active to search with 461 * @throws SystemException if a system exception occurred 462 */ 463 public void removeByActive(boolean active) 464 throws com.liferay.portal.kernel.exception.SystemException; 465 466 /** 467 * Removes the message boards mailing list where groupId = ? and categoryId = ? from the database. 468 * 469 * @param groupId the group ID to search with 470 * @param categoryId the category ID to search with 471 * @throws SystemException if a system exception occurred 472 */ 473 public void removeByG_C(long groupId, long categoryId) 474 throws com.liferay.portal.kernel.exception.SystemException, 475 com.liferay.portlet.messageboards.NoSuchMailingListException; 476 477 /** 478 * Removes all the message boards mailing lists from the database. 479 * 480 * @throws SystemException if a system exception occurred 481 */ 482 public void removeAll() 483 throws com.liferay.portal.kernel.exception.SystemException; 484 485 /** 486 * Counts all the message boards mailing lists where uuid = ?. 487 * 488 * @param uuid the uuid to search with 489 * @return the number of matching message boards mailing lists 490 * @throws SystemException if a system exception occurred 491 */ 492 public int countByUuid(java.lang.String uuid) 493 throws com.liferay.portal.kernel.exception.SystemException; 494 495 /** 496 * Counts all the message boards mailing lists where uuid = ? and groupId = ?. 497 * 498 * @param uuid the uuid to search with 499 * @param groupId the group ID to search with 500 * @return the number of matching message boards mailing lists 501 * @throws SystemException if a system exception occurred 502 */ 503 public int countByUUID_G(java.lang.String uuid, long groupId) 504 throws com.liferay.portal.kernel.exception.SystemException; 505 506 /** 507 * Counts all the message boards mailing lists where active = ?. 508 * 509 * @param active the active to search with 510 * @return the number of matching message boards mailing lists 511 * @throws SystemException if a system exception occurred 512 */ 513 public int countByActive(boolean active) 514 throws com.liferay.portal.kernel.exception.SystemException; 515 516 /** 517 * Counts all the message boards mailing lists where groupId = ? and categoryId = ?. 518 * 519 * @param groupId the group ID to search with 520 * @param categoryId the category ID to search with 521 * @return the number of matching message boards mailing lists 522 * @throws SystemException if a system exception occurred 523 */ 524 public int countByG_C(long groupId, long categoryId) 525 throws com.liferay.portal.kernel.exception.SystemException; 526 527 /** 528 * Counts all the message boards mailing lists. 529 * 530 * @return the number of message boards mailing lists 531 * @throws SystemException if a system exception occurred 532 */ 533 public int countAll() 534 throws com.liferay.portal.kernel.exception.SystemException; 535 536 public MBMailingList remove(MBMailingList mbMailingList) 537 throws SystemException; 538 }