Class WebsiteServiceImpl

Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portal.service.base.WebsiteServiceBaseImpl
com.liferay.portal.service.impl.WebsiteServiceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseService, com.liferay.portal.kernel.service.WebsiteService

public class WebsiteServiceImpl extends WebsiteServiceBaseImpl
Author:
Brian Wing Shun Chan
  • Constructor Details

    • WebsiteServiceImpl

      public WebsiteServiceImpl()
  • Method Details

    • addWebsite

      public com.liferay.portal.kernel.model.Website addWebsite(String externalReferenceCode, String className, long classPK, String url, long typeId, boolean primary, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteWebsite

      public void deleteWebsite(long websiteId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchWebsiteByExternalReferenceCode

      public com.liferay.portal.kernel.model.Website fetchWebsiteByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getWebsite

      public com.liferay.portal.kernel.model.Website getWebsite(long websiteId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getWebsites

      public List<com.liferay.portal.kernel.model.Website> getWebsites(String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateWebsite

      public com.liferay.portal.kernel.model.Website updateWebsite(String externalReferenceCode, long websiteId, String url, long typeId, boolean primary) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException