Liferay 6.1.2-ce-ga3

com.liferay.portal.service
Interface WebsiteService

All Superinterfaces:
BaseService
All Known Implementing Classes:
WebsiteServiceWrapper

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

The interface for the website remote service.

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, com.liferay.portal.service.impl.WebsiteServiceImpl

Method Summary
 Website addWebsite(String className, long classPK, String url, int typeId, boolean primary)
           
 void deleteWebsite(long websiteId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 Website getWebsite(long websiteId)
           
 List<Website> getWebsites(String className, long classPK)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 Website updateWebsite(long websiteId, String url, int typeId, boolean primary)
           
 

Method Detail

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

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.1.2-ce-ga3