@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface AnnouncementsFlagService extends BaseService
AnnouncementsFlagServiceUtil
Modifier and Type | Method and Description |
---|---|
void |
addFlag(long entryId,
int value)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
void |
deleteFlag(long flagId) |
AnnouncementsFlag |
getFlag(long entryId,
int value) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
void addFlag(long entryId, int value) throws PortalException
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.PortalException
void deleteFlag(long flagId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) AnnouncementsFlag getFlag(long entryId, int value) throws PortalException
PortalException
String getOSGiServiceIdentifier()