@ProviderType
public class WebsiteServiceUtil
extends java.lang.Object
WebsiteServiceImpl
and is the
primary 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
,
WebsiteServiceBaseImpl
,
WebsiteServiceImpl
Constructor and Description |
---|
WebsiteServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static Website |
addWebsite(java.lang.String className,
long classPK,
java.lang.String url,
long typeId,
boolean primary,
ServiceContext serviceContext) |
static void |
deleteWebsite(long websiteId) |
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 Website |
updateWebsite(long websiteId,
java.lang.String url,
long typeId,
boolean primary) |
public static Website addWebsite(java.lang.String className, long classPK, java.lang.String url, long typeId, boolean primary, ServiceContext serviceContext) throws PortalException
PortalException
public static void deleteWebsite(long websiteId) throws PortalException
PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static Website getWebsite(long websiteId) throws PortalException
PortalException
public static java.util.List<Website> getWebsites(java.lang.String className, long classPK) throws PortalException
PortalException
public static Website updateWebsite(long websiteId, java.lang.String url, long typeId, boolean primary) throws PortalException
PortalException
public static WebsiteService getService()