Liferay 6.0.4

com.liferay.portal.service
Class WebsiteServiceUtil

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

public class WebsiteServiceUtil
extends Object

This class provides static methods for the WebsiteService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

See Also:
WebsiteService
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.4