Class AnnouncementsEntryServiceWrapper
Object
com.liferay.announcements.kernel.service.AnnouncementsEntryServiceWrapper
- All Implemented Interfaces:
AnnouncementsEntryService
,BaseService
,ServiceWrapper<AnnouncementsEntryService>
public class AnnouncementsEntryServiceWrapper
extends Object
implements AnnouncementsEntryService, ServiceWrapper<AnnouncementsEntryService>
Provides a wrapper for
AnnouncementsEntryService
.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
ConstructorsConstructorDescriptionAnnouncementsEntryServiceWrapper
(AnnouncementsEntryService announcementsEntryService) -
Method Summary
Modifier and TypeMethodDescriptionaddEntry
(long classNameId, long classPK, String title, String content, String url, String type, Date displayDate, Date expirationDate, int priority, boolean alert) void
deleteEntry
(long entryId) getEntry
(long entryId) Returns the OSGi service identifier.void
setWrappedService
(AnnouncementsEntryService announcementsEntryService) updateEntry
(long entryId, String title, String content, String url, String type, Date displayDate, Date expirationDate, int priority)
-
Constructor Details
-
AnnouncementsEntryServiceWrapper
public AnnouncementsEntryServiceWrapper() -
AnnouncementsEntryServiceWrapper
-
-
Method Details
-
addEntry
public AnnouncementsEntry addEntry(long classNameId, long classPK, String title, String content, String url, String type, Date displayDate, Date expirationDate, int priority, boolean alert) throws PortalException - Specified by:
addEntry
in interfaceAnnouncementsEntryService
- Throws:
PortalException
-
deleteEntry
- Specified by:
deleteEntry
in interfaceAnnouncementsEntryService
- Throws:
PortalException
-
getEntry
- Specified by:
getEntry
in interfaceAnnouncementsEntryService
- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceAnnouncementsEntryService
- Returns:
- the OSGi service identifier
-
updateEntry
public AnnouncementsEntry updateEntry(long entryId, String title, String content, String url, String type, Date displayDate, Date expirationDate, int priority) throws PortalException - Specified by:
updateEntry
in interfaceAnnouncementsEntryService
- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<AnnouncementsEntryService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<AnnouncementsEntryService>
-