Liferay 7.0-ga1 portal-kernel

com.liferay.portal.kernel.service
Class WebsiteServiceUtil

java.lang.Object
  extended by 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}

Constructor Summary
WebsiteServiceUtil()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebsiteServiceUtil

public WebsiteServiceUtil()
Method Detail

addWebsite

public static Website addWebsite(String className,
                                 long classPK,
                                 String url,
                                 long typeId,
                                 boolean primary,
                                 ServiceContext serviceContext)
                          throws PortalException
Throws:
PortalException

getWebsite

public static Website getWebsite(long websiteId)
                          throws PortalException
Throws:
PortalException

updateWebsite

public static Website updateWebsite(long websiteId,
                                    String url,
                                    long typeId,
                                    boolean primary)
                             throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

public static String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

getWebsites

public static List<Website> getWebsites(String className,
                                        long classPK)
                                 throws PortalException
Throws:
PortalException

deleteWebsite

public static void deleteWebsite(long websiteId)
                          throws PortalException
Throws:
PortalException

getService

public static WebsiteService getService()

Liferay 7.0-ga1 portal-kernel