Liferay 6.0.4

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

This interface defines the service. The default implementation is AnnouncementsFlagServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

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
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time 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.4