@ProviderType
public class AnnouncementsFlagServiceUtil
extends java.lang.Object
com.liferay.portlet.announcements.service.impl.AnnouncementsFlagServiceImpl and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.AnnouncementsFlagService,
com.liferay.portlet.announcements.service.base.AnnouncementsFlagServiceBaseImpl,
com.liferay.portlet.announcements.service.impl.AnnouncementsFlagServiceImpl| Constructor and Description |
|---|
AnnouncementsFlagServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addFlag(long entryId,
int value) |
static void |
deleteFlag(long flagId) |
static AnnouncementsFlag |
getFlag(long entryId,
int value) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static AnnouncementsFlagService |
getService() |
void |
setService(AnnouncementsFlagService service)
Deprecated.
As of 6.2.0
|
public static void addFlag(long entryId,
int value)
throws PortalException
PortalExceptionpublic static void deleteFlag(long flagId)
throws PortalException
PortalExceptionpublic static AnnouncementsFlag getFlag(long entryId, int value) throws PortalException
PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static AnnouncementsFlagService getService()
@Deprecated public void setService(AnnouncementsFlagService service)