com.liferay.portlet.announcements.service
Interface AnnouncementsFlagLocalService


@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface AnnouncementsFlagLocalService

View Source

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

This interface defines the service. The default implementation is com.liferay.portlet.announcements.service.impl.AnnouncementsFlagLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
AnnouncementsFlagLocalServiceUtil

Method Summary
 AnnouncementsFlag addAnnouncementsFlag(AnnouncementsFlag announcementsFlag)
           
 AnnouncementsFlag addFlag(long userId, long entryId, int value)
           
 AnnouncementsFlag createAnnouncementsFlag(long flagId)
           
 void deleteAnnouncementsFlag(AnnouncementsFlag announcementsFlag)
           
 void deleteAnnouncementsFlag(long flagId)
           
 void deleteFlag(long flagId)
           
 void deleteFlags(long entryId)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 AnnouncementsFlag getAnnouncementsFlag(long flagId)
           
 java.util.List<AnnouncementsFlag> getAnnouncementsFlags(int start, int end)
           
 int getAnnouncementsFlagsCount()
           
 AnnouncementsFlag getFlag(long userId, long entryId, int value)
           
 AnnouncementsFlag updateAnnouncementsFlag(AnnouncementsFlag announcementsFlag)
           
 

Method Detail

addAnnouncementsFlag

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

createAnnouncementsFlag

AnnouncementsFlag createAnnouncementsFlag(long flagId)

deleteAnnouncementsFlag

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

deleteAnnouncementsFlag

void deleteAnnouncementsFlag(AnnouncementsFlag announcementsFlag)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

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

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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AnnouncementsFlag getAnnouncementsFlag(long flagId)
                                       throws com.liferay.portal.SystemException,
                                              com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getAnnouncementsFlags

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<AnnouncementsFlag> getAnnouncementsFlags(int start,
                                                                      int end)
                                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getAnnouncementsFlagsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getAnnouncementsFlagsCount()
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateAnnouncementsFlag

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

addFlag

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

getFlag

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

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

deleteFlags

void deleteFlags(long entryId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException