public class AnnouncementsEntryServiceWrapper extends Object implements AnnouncementsEntryService, ServiceWrapper<AnnouncementsEntryService>
AnnouncementsEntryService
.AnnouncementsEntryService
Constructor and Description |
---|
AnnouncementsEntryServiceWrapper(AnnouncementsEntryService announcementsEntryService) |
Modifier and Type | Method and Description |
---|---|
AnnouncementsEntry |
addEntry(long classNameId,
long classPK,
String title,
String content,
String url,
String type,
Date displayDate,
Date expirationDate,
int priority,
boolean alert) |
void |
deleteEntry(long entryId) |
AnnouncementsEntry |
getEntry(long entryId) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
AnnouncementsEntryService |
getWrappedService() |
void |
setWrappedService(AnnouncementsEntryService announcementsEntryService) |
AnnouncementsEntry |
updateEntry(long entryId,
String title,
String content,
String url,
String type,
Date displayDate,
Date expirationDate,
int priority) |
public AnnouncementsEntryServiceWrapper(AnnouncementsEntryService announcementsEntryService)
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
addEntry
in interface AnnouncementsEntryService
PortalException
public void deleteEntry(long entryId) throws PortalException
deleteEntry
in interface AnnouncementsEntryService
PortalException
public AnnouncementsEntry getEntry(long entryId) throws PortalException
getEntry
in interface AnnouncementsEntryService
PortalException
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface AnnouncementsEntryService
public AnnouncementsEntry updateEntry(long entryId, String title, String content, String url, String type, Date displayDate, Date expirationDate, int priority) throws PortalException
updateEntry
in interface AnnouncementsEntryService
PortalException
public AnnouncementsEntryService getWrappedService()
getWrappedService
in interface ServiceWrapper<AnnouncementsEntryService>
public void setWrappedService(AnnouncementsEntryService announcementsEntryService)
setWrappedService
in interface ServiceWrapper<AnnouncementsEntryService>