com.liferay.portal.service
Class WebsiteLocalServiceUtil

java.lang.Object
  extended bycom.liferay.portal.service.WebsiteLocalServiceUtil

public class WebsiteLocalServiceUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class provides static methods for the com.liferay.portal.service.WebsiteLocalService 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.

com.liferay.portal.service.WebsiteLocalServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
WebsiteLocalService, WebsiteLocalServiceFactory

Constructor Summary
WebsiteLocalServiceUtil()
           
 
Method Summary
static Website addWebsite(long userId, java.lang.String className, long classPK, java.lang.String url, int typeId, boolean primary)
           
static Website addWebsite(Website model)
           
static void deleteWebsite(long websiteId)
           
static void deleteWebsites(long companyId, java.lang.String className, long classPK)
           
static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static Website getWebsite(long websiteId)
           
static java.util.List getWebsites()
           
static java.util.List getWebsites(long companyId, java.lang.String className, long classPK)
           
static Website updateWebsite(long websiteId, java.lang.String url, int typeId, boolean primary)
           
static Website updateWebsite(Website model)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebsiteLocalServiceUtil

public WebsiteLocalServiceUtil()
Method Detail

addWebsite

public static Website addWebsite(Website model)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                          int begin,
                                          int end)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateWebsite

public static Website updateWebsite(Website model)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addWebsite

public static Website addWebsite(long userId,
                                 java.lang.String className,
                                 long classPK,
                                 java.lang.String url,
                                 int typeId,
                                 boolean primary)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteWebsite

public static void deleteWebsite(long websiteId)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteWebsites

public static void deleteWebsites(long companyId,
                                  java.lang.String className,
                                  long classPK)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getWebsite

public static Website getWebsite(long websiteId)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getWebsites

public static java.util.List getWebsites()
                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getWebsites

public static java.util.List getWebsites(long companyId,
                                         java.lang.String className,
                                         long classPK)
                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateWebsite

public static Website updateWebsite(long websiteId,
                                    java.lang.String url,
                                    int typeId,
                                    boolean primary)
                             throws com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException