Class AnnouncementsEntryServiceUtil
Object
com.liferay.announcements.kernel.service.AnnouncementsEntryServiceUtil
Provides the remote service utility for AnnouncementsEntry. This utility wraps
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.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
Returns the OSGi service identifier.static AnnouncementsEntryService
static void
setService
(AnnouncementsEntryService service) static AnnouncementsEntry
updateEntry
(long entryId, String title, String content, String url, String type, Date displayDate, Date expirationDate, int priority)
-
Constructor Details
-
AnnouncementsEntryServiceUtil
public AnnouncementsEntryServiceUtil()
-
-
Method Details
-
addEntry
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 - Throws:
PortalException
-
deleteEntry
- Throws:
PortalException
-
getEntry
- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateEntry
public static AnnouncementsEntry updateEntry(long entryId, String title, String content, String url, String type, Date displayDate, Date expirationDate, int priority) throws PortalException - Throws:
PortalException
-
getService
-
setService
-