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.

Author:
Brian Wing Shun Chan
See Also:
AnnouncementsFlagLocalService

Constructor Summary
AnnouncementsFlagLocalServiceUtil()
           
 
Method Summary
static AnnouncementsFlag addAnnouncementsFlag(AnnouncementsFlag announcementsFlag)
           
static AnnouncementsFlag addFlag(long userId, long entryId, int value)
           
static AnnouncementsFlag createAnnouncementsFlag(long flagId)
           
static void deleteAnnouncementsFlag(AnnouncementsFlag announcementsFlag)
           
static void deleteAnnouncementsFlag(long flagId)
           
static void deleteFlag(long flagId)
           
static void deleteFlags(long entryId)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static AnnouncementsFlag getAnnouncementsFlag(long flagId)
           
static java.util.List<AnnouncementsFlag> getAnnouncementsFlags(int start, int end)
           
static int getAnnouncementsFlagsCount()
           
static AnnouncementsFlag getFlag(long userId, long entryId, int value)
           
static AnnouncementsFlagLocalService getService()
           
 void setService(AnnouncementsFlagLocalService service)
           
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

createAnnouncementsFlag

public static AnnouncementsFlag createAnnouncementsFlag(long flagId)

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.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                            int start,
                                                            int end)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getAnnouncementsFlag

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

getAnnouncementsFlags

public static java.util.List<AnnouncementsFlag> getAnnouncementsFlags(int start,
                                                                      int end)
                                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getAnnouncementsFlagsCount

public static int getAnnouncementsFlagsCount()
                                      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.SystemException
Throws:
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.SystemException
Throws:
com.liferay.portal.SystemException

getService

public static AnnouncementsFlagLocalService getService()

setService

public void setService(AnnouncementsFlagLocalService service)