Liferay 7.0-ce-b4

com.liferay.portal.service
Class WebsiteServiceUtil

java.lang.Object
  extended by com.liferay.portal.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, WebsiteServiceBaseImpl, com.liferay.portal.service.impl.WebsiteServiceImpl

Constructor Summary
WebsiteServiceUtil()
           
 
Method Summary
static Website addWebsite(String className, long classPK, String url, long typeId, boolean primary)
          Deprecated. As of 6.2.0, replaced by #addWebsite(String, long, String, int, boolean, ServiceContext)
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

@Deprecated
public static Website addWebsite(String className,
                                            long classPK,
                                            String url,
                                            long typeId,
                                            boolean primary)
                          throws PortalException
Deprecated. As of 6.2.0, replaced by #addWebsite(String, long, String, int, boolean, ServiceContext)

Throws:
PortalException

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()

Liferay 7.0-ce-b4