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 plid,
long classNameId,
long classPK,
String title,
String content,
String url,
String type,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean displayImmediately,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
int priority,
boolean alert)
Deprecated.
As of Judson (7.1.x), replaced by
addEntry(long,
long, String, String, String, String, Date, Date, int,
boolean) |
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) |
static AnnouncementsEntry |
updateEntry(long entryId,
String title,
String content,
String url,
String type,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean displayImmediately,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
int priority)
Deprecated.
As of Judson (7.1.x), replaced by
updateEntry(long,
String, String, String, String, Date, Date, int) |
@Deprecated public static AnnouncementsEntry addEntry(long plid, long classNameId, long classPK, String title, String content, String url, String type, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean displayImmediately, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, int priority, boolean alert) throws PortalException
addEntry(long,
long, String, String, String, String, Date, Date, int,
boolean)
PortalException
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
@Deprecated public static AnnouncementsEntry updateEntry(long entryId, String title, String content, String url, String type, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean displayImmediately, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, int priority) throws PortalException
updateEntry(long,
String, String, String, String, Date, Date, int)
PortalException
public static AnnouncementsEntryService getService()