@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,
int 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,
int 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,
int typeId,
boolean primary) |
public static java.lang.String getBeanIdentifier()
public static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static Website addWebsite(java.lang.String className, long classPK, java.lang.String url, int typeId, boolean primary) throws PortalException, SystemException
addWebsite( String, long,
String, int, boolean, ServiceContext)PortalExceptionSystemExceptionpublic static Website addWebsite(java.lang.String className, long classPK, java.lang.String url, int typeId, boolean primary, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void deleteWebsite(long websiteId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static Website getWebsite(long websiteId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<Website> getWebsites(java.lang.String className, long classPK) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static Website updateWebsite(long websiteId, java.lang.String url, int typeId, boolean primary) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WebsiteService getService()
public void setService(WebsiteService service)