public class AnnouncementsEntryServiceUtil
extends Object
com.liferay.portlet.announcements.service.impl.AnnouncementsEntryServiceImpl
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.AnnouncementsEntryService
Constructor and Description |
---|
AnnouncementsEntryServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static AnnouncementsEntry |
addEntry(long classNameId,
long classPK,
String title,
String content,
String url,
String type,
Date displayDate,
Date expirationDate,
int priority,
boolean alert) |
static void |
deleteEntry(long entryId) |
static AnnouncementsEntry |
getEntry(long entryId) |
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static AnnouncementsEntryService |
getService() |
static AnnouncementsEntry |
updateEntry(long entryId,
String title,
String content,
String url,
String type,
Date displayDate,
Date expirationDate,
int priority) |
public static AnnouncementsEntry addEntry(long classNameId, long classPK, String title, String content, String url, String type, Date displayDate, Date expirationDate, int priority, boolean alert) throws PortalException
PortalException
public static void deleteEntry(long entryId) throws PortalException
PortalException
public static AnnouncementsEntry getEntry(long entryId) throws PortalException
PortalException
public static String getOSGiServiceIdentifier()
public static AnnouncementsEntry updateEntry(long entryId, String title, String content, String url, String type, Date displayDate, Date expirationDate, int priority) throws PortalException
PortalException
public static AnnouncementsEntryService getService()