Liferay 6.1.10-ee-ga1

com.liferay.portlet.announcements.service
Interface AnnouncementsFlagService

All Known Implementing Classes:
AnnouncementsFlagServiceWrapper

@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface AnnouncementsFlagService

The interface for the announcements flag remote service.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
AnnouncementsFlagServiceUtil, com.liferay.portlet.announcements.service.base.AnnouncementsFlagServiceBaseImpl, com.liferay.portlet.announcements.service.impl.AnnouncementsFlagServiceImpl

Method Summary
 void addFlag(long entryId, int value)
           
 void deleteFlag(long flagId)
           
 AnnouncementsFlag getFlag(long entryId, int value)
           
 

Method Detail

addFlag

void addFlag(long entryId,
             int value)
             throws PortalException,
                    SystemException
Throws:
PortalException
SystemException

deleteFlag

void deleteFlag(long flagId)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

getFlag

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AnnouncementsFlag getFlag(long entryId,
                                                                   int value)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

Liferay 6.1.10-ee-ga1