@ProviderType public class WebsiteServiceWrapper extends Object implements WebsiteService, ServiceWrapper<WebsiteService>
WebsiteService.WebsiteService| Constructor and Description |
|---|
WebsiteServiceWrapper(WebsiteService websiteService) |
| Modifier and Type | Method and Description |
|---|---|
Website |
addWebsite(String className,
long classPK,
String url,
long typeId,
boolean primary,
ServiceContext serviceContext) |
void |
deleteWebsite(long websiteId) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
Website |
getWebsite(long websiteId) |
List<Website> |
getWebsites(String className,
long classPK) |
WebsiteService |
getWrappedService() |
void |
setWrappedService(WebsiteService websiteService) |
Website |
updateWebsite(long websiteId,
String url,
long typeId,
boolean primary) |
public WebsiteServiceWrapper(WebsiteService websiteService)
public Website addWebsite(String className, long classPK, String url, long typeId, boolean primary, ServiceContext serviceContext) throws PortalException
addWebsite in interface WebsiteServicePortalExceptionpublic Website getWebsite(long websiteId) throws PortalException
getWebsite in interface WebsiteServicePortalExceptionpublic Website updateWebsite(long websiteId, String url, long typeId, boolean primary) throws PortalException
updateWebsite in interface WebsiteServicePortalExceptionpublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface WebsiteServicepublic List<Website> getWebsites(String className, long classPK) throws PortalException
getWebsites in interface WebsiteServicePortalExceptionpublic void deleteWebsite(long websiteId)
throws PortalException
deleteWebsite in interface WebsiteServicePortalExceptionpublic WebsiteService getWrappedService()
getWrappedService in interface ServiceWrapper<WebsiteService>public void setWrappedService(WebsiteService websiteService)
setWrappedService in interface ServiceWrapper<WebsiteService>