Class WebsiteServiceWrapper
Object
com.liferay.portal.kernel.service.WebsiteServiceWrapper
- All Implemented Interfaces:
BaseService
,ServiceWrapper<WebsiteService>
,WebsiteService
public class WebsiteServiceWrapper
extends Object
implements ServiceWrapper<WebsiteService>, WebsiteService
Provides a wrapper for
WebsiteService
.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddWebsite
(String externalReferenceCode, String className, long classPK, String url, long typeId, boolean primary, ServiceContext serviceContext) void
deleteWebsite
(long websiteId) fetchWebsiteByExternalReferenceCode
(String externalReferenceCode, long companyId) Returns the OSGi service identifier.getWebsite
(long websiteId) getWebsites
(String className, long classPK) void
setWrappedService
(WebsiteService websiteService) updateWebsite
(String externalReferenceCode, long websiteId, String url, long typeId, boolean primary)
-
Constructor Details
-
WebsiteServiceWrapper
public WebsiteServiceWrapper() -
WebsiteServiceWrapper
-
-
Method Details
-
addWebsite
public Website addWebsite(String externalReferenceCode, String className, long classPK, String url, long typeId, boolean primary, ServiceContext serviceContext) throws PortalException - Specified by:
addWebsite
in interfaceWebsiteService
- Throws:
PortalException
-
deleteWebsite
- Specified by:
deleteWebsite
in interfaceWebsiteService
- Throws:
PortalException
-
fetchWebsiteByExternalReferenceCode
public Website fetchWebsiteByExternalReferenceCode(String externalReferenceCode, long companyId) throws PortalException - Specified by:
fetchWebsiteByExternalReferenceCode
in interfaceWebsiteService
- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceWebsiteService
- Returns:
- the OSGi service identifier
-
getWebsite
- Specified by:
getWebsite
in interfaceWebsiteService
- Throws:
PortalException
-
getWebsites
- Specified by:
getWebsites
in interfaceWebsiteService
- Throws:
PortalException
-
updateWebsite
public Website updateWebsite(String externalReferenceCode, long websiteId, String url, long typeId, boolean primary) throws PortalException - Specified by:
updateWebsite
in interfaceWebsiteService
- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<WebsiteService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<WebsiteService>
-