Liferay 6.0.5

com.liferay.portal.service
Interface WebsiteService

All Known Implementing Classes:
WebsiteServiceBaseImpl, WebsiteServiceImpl, WebsiteServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface WebsiteService

The interface for the website remote service.

Never modify or reference this interface directly. Always use WebsiteServiceUtil to access the website remote service. Add custom service methods to WebsiteServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

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:
WebsiteServiceUtil, WebsiteServiceBaseImpl, WebsiteServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 Website addWebsite(String className, long classPK, String url, int typeId, boolean primary)
           
 void deleteWebsite(long websiteId)
           
 Website getWebsite(long websiteId)
           
 List<Website> getWebsites(String className, long classPK)
           
 Website updateWebsite(long websiteId, String url, int typeId, boolean primary)
           
 

Method Detail

addWebsite

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

deleteWebsite

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

getWebsite

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

getWebsites

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<Website> getWebsites(String className,
                                                                   long classPK)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

updateWebsite

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

Liferay 6.0.5