public class WebsiteServiceUtil
extends 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(String className,
long classPK,
String url,
long typeId,
boolean primary,
ServiceContext serviceContext) |
static void |
deleteWebsite(long websiteId) |
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static WebsiteService |
getService() |
static Website |
getWebsite(long websiteId) |
static List<Website> |
getWebsites(String className,
long classPK) |
static Website |
updateWebsite(long websiteId,
String url,
long typeId,
boolean primary) |
public static Website addWebsite(String className, long classPK, String url, long typeId, boolean primary, ServiceContext serviceContext) throws PortalException
PortalException
public static void deleteWebsite(long websiteId) throws PortalException
PortalException
public static String getOSGiServiceIdentifier()
public static Website getWebsite(long websiteId) throws PortalException
PortalException
public static List<Website> getWebsites(String className, long classPK) throws PortalException
PortalException
public static Website updateWebsite(long websiteId, String url, long typeId, boolean primary) throws PortalException
PortalException
public static WebsiteService getService()