com.liferay.portlet.announcements.service
Class AnnouncementsFlagLocalServiceUtil

java.lang.Object
  extended by com.liferay.portlet.announcements.service.AnnouncementsFlagLocalServiceUtil

public class AnnouncementsFlagLocalServiceUtil
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 com.liferay.portlet.announcements.service.AnnouncementsFlagLocalService 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.

com.liferay.portlet.announcements.service.AnnouncementsFlagLocalServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
AnnouncementsFlagLocalService, AnnouncementsFlagLocalServiceFactory

Constructor Summary
AnnouncementsFlagLocalServiceUtil()
           
 
Method Summary
static AnnouncementsFlag addAnnouncementsFlag(AnnouncementsFlag announcementsFlag)
           
static AnnouncementsFlag addFlag(long userId, long entryId, int value)
           
static void deleteAnnouncementsFlag(AnnouncementsFlag announcementsFlag)
           
static void deleteAnnouncementsFlag(long flagId)
           
static void deleteFlag(long flagId)
           
static void deleteFlags(long entryId)
           
static java.util.List<AnnouncementsFlag> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List<AnnouncementsFlag> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static AnnouncementsFlag getFlag(long userId, long entryId, int value)
           
static AnnouncementsFlag updateAnnouncementsFlag(AnnouncementsFlag announcementsFlag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnouncementsFlagLocalServiceUtil

public AnnouncementsFlagLocalServiceUtil()
Method Detail

addAnnouncementsFlag

public static AnnouncementsFlag addAnnouncementsFlag(AnnouncementsFlag announcementsFlag)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteAnnouncementsFlag

public static void deleteAnnouncementsFlag(long flagId)
                                    throws com.liferay.portal.PortalException,
                                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteAnnouncementsFlag

public static void deleteAnnouncementsFlag(AnnouncementsFlag announcementsFlag)
                                    throws com.liferay.portal.PortalException,
                                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<AnnouncementsFlag> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<AnnouncementsFlag> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                                             int begin,
                                                             int end)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateAnnouncementsFlag

public static AnnouncementsFlag updateAnnouncementsFlag(AnnouncementsFlag announcementsFlag)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addFlag

public static AnnouncementsFlag addFlag(long userId,
                                        long entryId,
                                        int value)
                                 throws com.liferay.portal.PortalException,
                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getFlag

public static AnnouncementsFlag getFlag(long userId,
                                        long entryId,
                                        int value)
                                 throws com.liferay.portal.PortalException,
                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteFlag

public static void deleteFlag(long flagId)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteFlags

public static void deleteFlags(long entryId)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException