com.liferay.portlet.announcements.service
Interface AnnouncementsFlagService
- All Known Implementing Classes:
- 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 com.liferay.portlet.announcements.service.impl.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.
- Author:
- Brian Wing Shun Chan
- See Also:
AnnouncementsFlagServiceUtil,
com.liferay.portlet.announcements.service.base.AnnouncementsFlagServiceBaseImpl,
com.liferay.portlet.announcements.service.impl.AnnouncementsFlagServiceImpl- Generated:
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