com.liferay.portlet.announcements.service
Interface AnnouncementsFlagService


public interface AnnouncementsFlagService

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

Author:
Brian Wing Shun Chan
See Also:
AnnouncementsFlagServiceFactory, AnnouncementsFlagServiceUtil

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 java.rmi.RemoteException,
                    com.liferay.portal.SystemException,
                    com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getFlag

AnnouncementsFlag getFlag(long entryId,
                          int value)
                          throws java.rmi.RemoteException,
                                 com.liferay.portal.SystemException,
                                 com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteFlag

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