com.liferay.portlet.announcements.service
Class AnnouncementsFlagServiceUtil
java.lang.Object
com.liferay.portlet.announcements.service.AnnouncementsFlagServiceUtil
@ProviderType
public class AnnouncementsFlagServiceUtil
- extends Object
Provides the remote service utility for AnnouncementsFlag. This utility wraps
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.
- See Also:
AnnouncementsFlagService,
AnnouncementsFlagServiceBaseImpl,
AnnouncementsFlagServiceImpl- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnouncementsFlagServiceUtil
public AnnouncementsFlagServiceUtil()
addFlag
public static void addFlag(long entryId,
int value)
throws PortalException
- Throws:
PortalException
deleteFlag
public static void deleteFlag(long flagId)
throws PortalException
- Throws:
PortalException
getFlag
public static AnnouncementsFlag getFlag(long entryId,
int value)
throws PortalException
- Throws:
PortalException
getOSGiServiceIdentifier
public static String getOSGiServiceIdentifier()
- Returns the OSGi service identifier.
- Returns:
- the OSGi service identifier
getService
public static AnnouncementsFlagService getService()