@ProviderType
public class WebsiteServiceUtil
extends java.lang.Object
com.liferay.portal.service.impl.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,
com.liferay.portal.service.impl.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)
Deprecated.
As of 6.2.0, replaced by
#addWebsite(String, long,
String, int, boolean, ServiceContext) |
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 |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
static WebsiteService |
getService() |
static Website |
getWebsite(long websiteId) |
static java.util.List<Website> |
getWebsites(java.lang.String className,
long classPK) |
static void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(WebsiteService service)
Deprecated.
As of 6.2.0
|
static Website |
updateWebsite(long websiteId,
java.lang.String url,
long typeId,
boolean primary) |
@Deprecated public static Website addWebsite(java.lang.String className, long classPK, java.lang.String url, long typeId, boolean primary) throws PortalException
#addWebsite(String, long,
String, int, boolean, ServiceContext)PortalExceptionpublic static Website addWebsite(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 java.lang.String getBeanIdentifier()
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 void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static Website updateWebsite(long websiteId, java.lang.String url, long typeId, boolean primary) throws PortalException
PortalExceptionpublic static WebsiteService getService()
@Deprecated public void setService(WebsiteService service)