Liferay 6.0.5

com.liferay.portal.service
Class WebsiteServiceUtil

java.lang.Object
  extended by com.liferay.portal.service.WebsiteServiceUtil

public class WebsiteServiceUtil
extends Object

The utility for the website remote service. This utility wraps WebsiteServiceImpl and is the primary access point for service operations in application layer code running on a remote server.

Never modify this class directly. Add custom service methods to WebsiteServiceImpl and rerun ServiceBuilder to regenerate this class.

This is a remote service. 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, WebsiteServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
WebsiteServiceUtil()
           
 
Method Summary
static Website addWebsite(String className, long classPK, String url, int typeId, boolean primary)
           
static void deleteWebsite(long websiteId)
           
static WebsiteService getService()
           
static Website getWebsite(long websiteId)
           
static List<Website> getWebsites(String className, long classPK)
           
 void setService(WebsiteService service)
           
static Website updateWebsite(long websiteId, String url, int 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,
                                 int typeId,
                                 boolean primary)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

deleteWebsite

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

getWebsite

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

getWebsites

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

updateWebsite

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

getService

public static WebsiteService getService()

setService

public void setService(WebsiteService service)

Liferay 6.0.5