Liferay 7.0-ce-m6

com.liferay.portal.service
Interface WebsiteService

All Superinterfaces:
BaseService
All Known Implementing Classes:
WebsiteServiceWrapper

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

Provides the remote service interface for Website. 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, long typeId, boolean primary)
          Deprecated. As of 6.2.0, replaced by #addWebsite(String, long, String, int, boolean, ServiceContext)
 Website addWebsite(String className, long classPK, String url, long typeId, boolean primary, ServiceContext serviceContext)
           
 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, long typeId, boolean primary)
           
 

Method Detail

addWebsite

@Deprecated
Website addWebsite(String className,
                              long classPK,
                              String url,
                              long typeId,
                              boolean primary)
                   throws PortalException
Deprecated. As of 6.2.0, replaced by #addWebsite(String, long, String, int, boolean, ServiceContext)

Throws:
PortalException

addWebsite

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

deleteWebsite

void deleteWebsite(long websiteId)
                   throws PortalException
Throws:
PortalException

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

getWebsite

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

getWebsites

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

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

updateWebsite

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

Liferay 7.0-ce-m6