Liferay 6.0-ee

com.liferay.portlet.announcements.service
Interface AnnouncementsFlagService

All Known Implementing Classes:
AnnouncementsFlagServiceBaseImpl, AnnouncementsFlagServiceImpl, AnnouncementsFlagServiceWrapper

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

The interface for the announcements flag remote service.

Never modify or reference this interface directly. Always use AnnouncementsFlagServiceUtil to access the announcements flag remote service. Add custom service methods to AnnouncementsFlagServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

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, AnnouncementsFlagServiceBaseImpl, AnnouncementsFlagServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

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.0-ee