com.liferay.portlet.messageboards.service
Class MBMailingListLocalServiceUtil

java.lang.Object
  extended by com.liferay.portlet.messageboards.service.MBMailingListLocalServiceUtil

public class MBMailingListLocalServiceUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class provides static methods for the MBMailingListLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

Author:
Brian Wing Shun Chan
See Also:
MBMailingListLocalService
Generated:

Constructor Summary
MBMailingListLocalServiceUtil()
           
 
Method Summary
static MBMailingList addMailingList(java.lang.String uuid, long userId, long groupId, long categoryId, java.lang.String emailAddress, java.lang.String inProtocol, java.lang.String inServerName, int inServerPort, boolean inUseSSL, java.lang.String inUserName, java.lang.String inPassword, int inReadInterval, java.lang.String outEmailAddress, boolean outCustom, java.lang.String outServerName, int outServerPort, boolean outUseSSL, java.lang.String outUserName, java.lang.String outPassword, boolean active, ServiceContext serviceContext)
           
static MBMailingList addMBMailingList(MBMailingList mbMailingList)
           
static MBMailingList createMBMailingList(long mailingListId)
           
static void deleteCategoryMailingList(long groupId, long categoryId)
           
static void deleteMailingList(long mailingListId)
           
static void deleteMailingList(MBMailingList mailingList)
           
static void deleteMBMailingList(long mailingListId)
           
static void deleteMBMailingList(MBMailingList mbMailingList)
           
static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
           
static java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
static long dynamicQueryCount(DynamicQuery dynamicQuery)
           
static MBMailingList getCategoryMailingList(long groupId, long categoryId)
           
static MBMailingList getMBMailingList(long mailingListId)
           
static MBMailingList getMBMailingListByUuidAndGroupId(java.lang.String uuid, long groupId)
           
static java.util.List<MBMailingList> getMBMailingLists(int start, int end)
           
static int getMBMailingListsCount()
           
static MBMailingListLocalService getService()
           
 void setService(MBMailingListLocalService service)
           
static MBMailingList updateMailingList(long mailingListId, java.lang.String emailAddress, java.lang.String inProtocol, java.lang.String inServerName, int inServerPort, boolean inUseSSL, java.lang.String inUserName, java.lang.String inPassword, int inReadInterval, java.lang.String outEmailAddress, boolean outCustom, java.lang.String outServerName, int outServerPort, boolean outUseSSL, java.lang.String outUserName, java.lang.String outPassword, boolean active, ServiceContext serviceContext)
           
static MBMailingList updateMBMailingList(MBMailingList mbMailingList)
           
static MBMailingList updateMBMailingList(MBMailingList mbMailingList, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBMailingListLocalServiceUtil

public MBMailingListLocalServiceUtil()
Method Detail

addMBMailingList

public static MBMailingList addMBMailingList(MBMailingList mbMailingList)
                                      throws SystemException
Throws:
SystemException

createMBMailingList

public static MBMailingList createMBMailingList(long mailingListId)

deleteMBMailingList

public static void deleteMBMailingList(long mailingListId)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

deleteMBMailingList

public static void deleteMBMailingList(MBMailingList mbMailingList)
                                throws SystemException
Throws:
SystemException

dynamicQuery

public static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                                   throws SystemException
Throws:
SystemException

dynamicQuery

public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                          int start,
                                          int end)
                                   throws SystemException
Throws:
SystemException

dynamicQuery

public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Throws:
SystemException

dynamicQueryCount

public static long dynamicQueryCount(DynamicQuery dynamicQuery)
                              throws SystemException
Throws:
SystemException

getMBMailingList

public static MBMailingList getMBMailingList(long mailingListId)
                                      throws PortalException,
                                             SystemException
Throws:
PortalException
SystemException

getMBMailingListByUuidAndGroupId

public static MBMailingList getMBMailingListByUuidAndGroupId(java.lang.String uuid,
                                                             long groupId)
                                                      throws PortalException,
                                                             SystemException
Throws:
PortalException
SystemException

getMBMailingLists

public static java.util.List<MBMailingList> getMBMailingLists(int start,
                                                              int end)
                                                       throws SystemException
Throws:
SystemException

getMBMailingListsCount

public static int getMBMailingListsCount()
                                  throws SystemException
Throws:
SystemException

updateMBMailingList

public static MBMailingList updateMBMailingList(MBMailingList mbMailingList)
                                         throws SystemException
Throws:
SystemException

updateMBMailingList

public static MBMailingList updateMBMailingList(MBMailingList mbMailingList,
                                                boolean merge)
                                         throws SystemException
Throws:
SystemException

addMailingList

public static MBMailingList addMailingList(java.lang.String uuid,
                                           long userId,
                                           long groupId,
                                           long categoryId,
                                           java.lang.String emailAddress,
                                           java.lang.String inProtocol,
                                           java.lang.String inServerName,
                                           int inServerPort,
                                           boolean inUseSSL,
                                           java.lang.String inUserName,
                                           java.lang.String inPassword,
                                           int inReadInterval,
                                           java.lang.String outEmailAddress,
                                           boolean outCustom,
                                           java.lang.String outServerName,
                                           int outServerPort,
                                           boolean outUseSSL,
                                           java.lang.String outUserName,
                                           java.lang.String outPassword,
                                           boolean active,
                                           ServiceContext serviceContext)
                                    throws PortalException,
                                           SystemException
Throws:
PortalException
SystemException

deleteCategoryMailingList

public static void deleteCategoryMailingList(long groupId,
                                             long categoryId)
                                      throws PortalException,
                                             SystemException
Throws:
PortalException
SystemException

deleteMailingList

public static void deleteMailingList(long mailingListId)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

deleteMailingList

public static void deleteMailingList(MBMailingList mailingList)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

getCategoryMailingList

public static MBMailingList getCategoryMailingList(long groupId,
                                                   long categoryId)
                                            throws PortalException,
                                                   SystemException
Throws:
PortalException
SystemException

updateMailingList

public static MBMailingList updateMailingList(long mailingListId,
                                              java.lang.String emailAddress,
                                              java.lang.String inProtocol,
                                              java.lang.String inServerName,
                                              int inServerPort,
                                              boolean inUseSSL,
                                              java.lang.String inUserName,
                                              java.lang.String inPassword,
                                              int inReadInterval,
                                              java.lang.String outEmailAddress,
                                              boolean outCustom,
                                              java.lang.String outServerName,
                                              int outServerPort,
                                              boolean outUseSSL,
                                              java.lang.String outUserName,
                                              java.lang.String outPassword,
                                              boolean active,
                                              ServiceContext serviceContext)
                                       throws PortalException,
                                              SystemException
Throws:
PortalException
SystemException

getService

public static MBMailingListLocalService getService()

setService

public void setService(MBMailingListLocalService service)