public class WebsiteServiceUtil
extends java.lang.Object
com.liferay.portal.service.impl.WebsiteServiceImpl and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.WebsiteService| Constructor and Description |
|---|
WebsiteServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Website |
addWebsite(java.lang.String externalReferenceCode,
java.lang.String className,
long classPK,
java.lang.String url,
long typeId,
boolean primary,
ServiceContext serviceContext) |
static void |
deleteWebsite(long websiteId) |
static Website |
fetchWebsiteByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static WebsiteService |
getService() |
static Website |
getWebsite(long websiteId) |
static java.util.List<Website> |
getWebsites(java.lang.String className,
long classPK) |
static void |
setService(WebsiteService service) |
static Website |
updateWebsite(java.lang.String externalReferenceCode,
long websiteId,
java.lang.String url,
long typeId,
boolean primary) |
public static Website addWebsite(java.lang.String externalReferenceCode, java.lang.String className, long classPK, java.lang.String url, long typeId, boolean primary, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static void deleteWebsite(long websiteId)
throws PortalException
PortalExceptionpublic static Website fetchWebsiteByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId) throws PortalException
PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static Website getWebsite(long websiteId) throws PortalException
PortalExceptionpublic static java.util.List<Website> getWebsites(java.lang.String className, long classPK) throws PortalException
PortalExceptionpublic static Website updateWebsite(java.lang.String externalReferenceCode, long websiteId, java.lang.String url, long typeId, boolean primary) throws PortalException
PortalExceptionpublic static WebsiteService getService()
public static void setService(WebsiteService service)