com.liferay.portlet.messageboards.service
Class MBMailingListLocalServiceUtil
java.lang.Object
com.liferay.portlet.messageboards.service.MBMailingListLocalServiceUtil
public class MBMailingListLocalServiceUtil
- extends Object
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.
- See Also:
MBMailingListLocalService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
static MBMailingList |
addMailingList(long userId,
long groupId,
long categoryId,
String emailAddress,
String inProtocol,
String inServerName,
int inServerPort,
boolean inUseSSL,
String inUserName,
String inPassword,
int inReadInterval,
String outEmailAddress,
boolean outCustom,
String outServerName,
int outServerPort,
boolean outUseSSL,
String outUserName,
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 List |
dynamicQuery(DynamicQuery dynamicQuery)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static 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(String uuid,
long groupId)
|
static List<MBMailingList> |
getMBMailingLists(int start,
int end)
|
static int |
getMBMailingListsCount()
|
static MBMailingListLocalService |
getService()
|
void |
setService(MBMailingListLocalService service)
|
static MBMailingList |
updateMailingList(long mailingListId,
String emailAddress,
String inProtocol,
String inServerName,
int inServerPort,
boolean inUseSSL,
String inUserName,
String inPassword,
int inReadInterval,
String outEmailAddress,
boolean outCustom,
String outServerName,
int outServerPort,
boolean outUseSSL,
String outUserName,
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 |
MBMailingListLocalServiceUtil
public MBMailingListLocalServiceUtil()
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 List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static 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(String uuid,
long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getMBMailingLists
public static 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(long userId,
long groupId,
long categoryId,
String emailAddress,
String inProtocol,
String inServerName,
int inServerPort,
boolean inUseSSL,
String inUserName,
String inPassword,
int inReadInterval,
String outEmailAddress,
boolean outCustom,
String outServerName,
int outServerPort,
boolean outUseSSL,
String outUserName,
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,
String emailAddress,
String inProtocol,
String inServerName,
int inServerPort,
boolean inUseSSL,
String inUserName,
String inPassword,
int inReadInterval,
String outEmailAddress,
boolean outCustom,
String outServerName,
int outServerPort,
boolean outUseSSL,
String outUserName,
String outPassword,
boolean active,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static MBMailingListLocalService getService()
setService
public void setService(MBMailingListLocalService service)