com.liferay.portal.service
Interface WebsiteLocalService


public interface WebsiteLocalService

View Source

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

This interface defines the service. The default implementation is com.liferay.portal.service.impl.WebsiteLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
WebsiteServiceFactory, WebsiteServiceUtil

Method Summary
 Website addWebsite(long userId, java.lang.String className, long classPK, java.lang.String url, int typeId, boolean primary)
           
 Website addWebsite(Website model)
           
 void deleteWebsite(long websiteId)
           
 void deleteWebsites(long companyId, java.lang.String className, long classPK)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 Website getWebsite(long websiteId)
           
 java.util.List getWebsites()
           
 java.util.List getWebsites(long companyId, java.lang.String className, long classPK)
           
 Website updateWebsite(long websiteId, java.lang.String url, int typeId, boolean primary)
           
 Website updateWebsite(Website model)
           
 

Method Detail

addWebsite

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

dynamicQuery

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

dynamicQuery

public 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 Website updateWebsite(Website model)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addWebsite

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

deleteWebsite

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

deleteWebsites

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

getWebsite

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

getWebsites

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

getWebsites

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

updateWebsite

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