com.liferay.portal.kernel.service
Class WebsiteServiceUtil
java.lang.Object
com.liferay.portal.kernel.service.WebsiteServiceUtil
@ProviderType
public class WebsiteServiceUtil
- extends Object
Provides the remote service utility for Website. This utility wraps
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.
- See Also:
WebsiteService,
com.liferay.portal.service.base.WebsiteServiceBaseImpl,
com.liferay.portal.service.impl.WebsiteServiceImpl- {$generated.description}
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebsiteServiceUtil
public WebsiteServiceUtil()
addWebsite
public static Website addWebsite(String className,
long classPK,
String url,
long typeId,
boolean primary,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
deleteWebsite
public static void deleteWebsite(long websiteId)
throws PortalException
- Throws:
PortalException
getOSGiServiceIdentifier
public static String getOSGiServiceIdentifier()
- Returns the OSGi service identifier.
- Returns:
- the OSGi service identifier
getWebsite
public static Website getWebsite(long websiteId)
throws PortalException
- Throws:
PortalException
getWebsites
public static List<Website> getWebsites(String className,
long classPK)
throws PortalException
- Throws:
PortalException
updateWebsite
public static Website updateWebsite(long websiteId,
String url,
long typeId,
boolean primary)
throws PortalException
- Throws:
PortalException
getService
public static WebsiteService getService()