public class AnnouncementsFlagServiceUtil
extends Object
com.liferay.portlet.announcements.service.impl.AnnouncementsFlagServiceImpl
and is an
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
Constructor and Description |
---|
AnnouncementsFlagServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addFlag(long entryId,
int value)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
static void |
deleteFlag(long flagId) |
static AnnouncementsFlag |
getFlag(long entryId,
int value) |
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static AnnouncementsFlagService |
getService() |
public static 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
public static void deleteFlag(long flagId) throws PortalException
PortalException
public static AnnouncementsFlag getFlag(long entryId, int value) throws PortalException
PortalException
public static String getOSGiServiceIdentifier()
public static AnnouncementsFlagService getService()