com.liferay.portal.service
Interface WebsiteLocalService

All Known Implementing Classes:
WebsiteLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
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:
WebsiteLocalServiceUtil
Generated:

Method Summary
 Website addWebsite(long userId, java.lang.String className, long classPK, java.lang.String url, int typeId, boolean primary)
           
 Website addWebsite(Website website)
           
 Website createWebsite(long websiteId)
           
 void deleteWebsite(long websiteId)
           
 void deleteWebsite(Website website)
           
 void deleteWebsites(long companyId, java.lang.String className, long classPK)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
 long dynamicQueryCount(DynamicQuery dynamicQuery)
           
 Website getWebsite(long websiteId)
           
 java.util.List<Website> getWebsites()
           
 java.util.List<Website> getWebsites(int start, int end)
           
 java.util.List<Website> getWebsites(long companyId, java.lang.String className, long classPK)
           
 int getWebsitesCount()
           
 Website updateWebsite(long websiteId, java.lang.String url, int typeId, boolean primary)
           
 Website updateWebsite(Website website)
           
 Website updateWebsite(Website website, boolean merge)
           
 

Method Detail

addWebsite

Website addWebsite(Website website)
                   throws SystemException
Throws:
SystemException

createWebsite

Website createWebsite(long websiteId)

deleteWebsite

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

deleteWebsite

void deleteWebsite(Website website)
                   throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end,
                            OrderByComparator orderByComparator)
                            throws SystemException
Throws:
SystemException

dynamicQueryCount

long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Throws:
SystemException

getWebsite

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Website getWebsite(long websiteId)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

getWebsites

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<Website> getWebsites(int start,
                                                                             int end)
                                    throws SystemException
Throws:
SystemException

getWebsitesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getWebsitesCount()
                     throws SystemException
Throws:
SystemException

updateWebsite

Website updateWebsite(Website website)
                      throws SystemException
Throws:
SystemException

updateWebsite

Website updateWebsite(Website website,
                      boolean merge)
                      throws SystemException
Throws:
SystemException

addWebsite

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

deleteWebsites

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

getWebsites

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<Website> getWebsites()
                                    throws SystemException
Throws:
SystemException

getWebsites

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<Website> getWebsites(long companyId,
                                                                             java.lang.String className,
                                                                             long classPK)
                                    throws SystemException
Throws:
SystemException

updateWebsite

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