com.liferay.portal.service
Class WebsiteServiceWrapper
java.lang.Object
com.liferay.portal.service.WebsiteServiceWrapper
- All Implemented Interfaces:
- BaseService, ServiceWrapper<WebsiteService>, WebsiteService
@ProviderType
public class WebsiteServiceWrapper
- extends Object
- implements WebsiteService, ServiceWrapper<WebsiteService>
Provides a wrapper for WebsiteService.
- See Also:
WebsiteService
|
Method Summary |
Website |
addWebsite(String className,
long classPK,
String url,
long typeId,
boolean primary)
Deprecated. As of 6.2.0, replaced by #addWebsite(String, long,
String, int, boolean, ServiceContext) |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebsiteServiceWrapper
public WebsiteServiceWrapper(WebsiteService websiteService)
addWebsite
@Deprecated
public Website addWebsite(String className,
long classPK,
String url,
long typeId,
boolean primary)
throws PortalException
- Deprecated. As of 6.2.0, replaced by
#addWebsite(String, long,
String, int, boolean, ServiceContext)
- Specified by:
addWebsite in interface WebsiteService
- Throws:
PortalException
addWebsite
public Website addWebsite(String className,
long classPK,
String url,
long typeId,
boolean primary,
ServiceContext serviceContext)
throws PortalException
- Specified by:
addWebsite in interface WebsiteService
- Throws:
PortalException
deleteWebsite
public void deleteWebsite(long websiteId)
throws PortalException
- Specified by:
deleteWebsite in interface WebsiteService
- Throws:
PortalException
getOSGiServiceIdentifier
public String getOSGiServiceIdentifier()
- Returns the OSGi service identifier.
- Specified by:
getOSGiServiceIdentifier in interface WebsiteService
- Returns:
- the OSGi service identifier
getWebsite
public Website getWebsite(long websiteId)
throws PortalException
- Specified by:
getWebsite in interface WebsiteService
- Throws:
PortalException
getWebsites
public List<Website> getWebsites(String className,
long classPK)
throws PortalException
- Specified by:
getWebsites in interface WebsiteService
- Throws:
PortalException
updateWebsite
public Website updateWebsite(long websiteId,
String url,
long typeId,
boolean primary)
throws PortalException
- Specified by:
updateWebsite in interface WebsiteService
- Throws:
PortalException
getWrappedService
public WebsiteService getWrappedService()
- Specified by:
getWrappedService in interface ServiceWrapper<WebsiteService>
setWrappedService
public void setWrappedService(WebsiteService websiteService)
- Specified by:
setWrappedService in interface ServiceWrapper<WebsiteService>