Class LayoutSetPrototypeLocalServiceImpl

Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portal.service.base.LayoutSetPrototypeLocalServiceBaseImpl
com.liferay.portal.service.impl.LayoutSetPrototypeLocalServiceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.LayoutSetPrototypeLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService

public class LayoutSetPrototypeLocalServiceImpl extends LayoutSetPrototypeLocalServiceBaseImpl
Author:
Brian Wing Shun Chan, Ryan Park
  • Constructor Details

    • LayoutSetPrototypeLocalServiceImpl

      public LayoutSetPrototypeLocalServiceImpl()
  • Method Details

    • addLayoutSetPrototype

      public com.liferay.portal.kernel.model.LayoutSetPrototype addLayoutSetPrototype(long userId, long companyId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, boolean active, boolean layoutsUpdateable, boolean readyForPropagation, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addLayoutSetPrototype

      public com.liferay.portal.kernel.model.LayoutSetPrototype addLayoutSetPrototype(long userId, long companyId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, boolean active, boolean layoutsUpdateable, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteLayoutSetPrototype

      @SystemEvent(action=1, type=1) public com.liferay.portal.kernel.model.LayoutSetPrototype deleteLayoutSetPrototype(com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype) throws com.liferay.portal.kernel.exception.PortalException
      Description copied from class: LayoutSetPrototypeLocalServiceBaseImpl
      Deletes the layout set prototype from the database. Also notifies the appropriate model listeners.

      Important: Inspect LayoutSetPrototypeLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Specified by:
      deleteLayoutSetPrototype in interface com.liferay.portal.kernel.service.LayoutSetPrototypeLocalService
      Overrides:
      deleteLayoutSetPrototype in class LayoutSetPrototypeLocalServiceBaseImpl
      Parameters:
      layoutSetPrototype - the layout set prototype
      Returns:
      the layout set prototype that was removed
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteLayoutSetPrototype

      public com.liferay.portal.kernel.model.LayoutSetPrototype deleteLayoutSetPrototype(long layoutSetPrototypeId) throws com.liferay.portal.kernel.exception.PortalException
      Description copied from class: LayoutSetPrototypeLocalServiceBaseImpl
      Deletes the layout set prototype with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect LayoutSetPrototypeLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Specified by:
      deleteLayoutSetPrototype in interface com.liferay.portal.kernel.service.LayoutSetPrototypeLocalService
      Overrides:
      deleteLayoutSetPrototype in class LayoutSetPrototypeLocalServiceBaseImpl
      Parameters:
      layoutSetPrototypeId - the primary key of the layout set prototype
      Returns:
      the layout set prototype that was removed
      Throws:
      com.liferay.portal.kernel.exception.PortalException - if a layout set prototype with the primary key could not be found
    • deleteLayoutSetPrototypes

      public void deleteLayoutSetPrototypes() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteNondefaultLayoutSetPrototypes

      public void deleteNondefaultLayoutSetPrototypes(long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLayoutSetPrototypes

      public List<com.liferay.portal.kernel.model.LayoutSetPrototype> getLayoutSetPrototypes(long companyId)
    • search

      public List<com.liferay.portal.kernel.model.LayoutSetPrototype> search(long companyId, Boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
    • searchCount

      public int searchCount(long companyId, Boolean active)
    • updateLayoutSetPrototype

      public com.liferay.portal.kernel.model.LayoutSetPrototype updateLayoutSetPrototype(long layoutSetPrototypeId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, boolean active, boolean layoutsUpdateable, boolean readyForPropagation, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateLayoutSetPrototype

      public com.liferay.portal.kernel.model.LayoutSetPrototype updateLayoutSetPrototype(long layoutSetPrototypeId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, boolean active, boolean layoutsUpdateable, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateLayoutSetPrototype

      public com.liferay.portal.kernel.model.LayoutSetPrototype updateLayoutSetPrototype(long layoutSetPrototypeId, String settings) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException