Class LayoutSEOEntryLocalServiceWrapper

java.lang.Object
com.liferay.layout.seo.service.LayoutSEOEntryLocalServiceWrapper
All Implemented Interfaces:
LayoutSEOEntryLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.change.tracking.CTService<LayoutSEOEntry>, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<LayoutSEOEntryLocalService>

public class LayoutSEOEntryLocalServiceWrapper extends Object implements LayoutSEOEntryLocalService, com.liferay.portal.kernel.service.ServiceWrapper<LayoutSEOEntryLocalService>
Provides a wrapper for LayoutSEOEntryLocalService.
See Also:
Generated:
  • Constructor Details

    • LayoutSEOEntryLocalServiceWrapper

      public LayoutSEOEntryLocalServiceWrapper()
    • LayoutSEOEntryLocalServiceWrapper

      public LayoutSEOEntryLocalServiceWrapper(LayoutSEOEntryLocalService layoutSEOEntryLocalService)
  • Method Details

    • addLayoutSEOEntry

      public LayoutSEOEntry addLayoutSEOEntry(LayoutSEOEntry layoutSEOEntry)
      Adds the layout seo entry to the database. Also notifies the appropriate model listeners.

      Important: Inspect LayoutSEOEntryLocalServiceImpl 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:
      addLayoutSEOEntry in interface LayoutSEOEntryLocalService
      Parameters:
      layoutSEOEntry - the layout seo entry
      Returns:
      the layout seo entry that was added
    • copyLayoutSEOEntry

      public LayoutSEOEntry copyLayoutSEOEntry(long userId, long groupId, boolean privateLayout, long sourceLayoutId, boolean canonicalURLEnabled, Map<Locale,String> canonicalURLMap, long copyDDMStorageId, boolean openGraphDescriptionEnabled, Map<Locale,String> openGraphDescriptionMap, Map<Locale,String> openGraphImageAltMap, long openGraphImageFileEntryId, boolean openGraphTitleEnabled, Map<Locale,String> openGraphTitleMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      copyLayoutSEOEntry in interface LayoutSEOEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createLayoutSEOEntry

      public LayoutSEOEntry createLayoutSEOEntry(long layoutSEOEntryId)
      Creates a new layout seo entry with the primary key. Does not add the layout seo entry to the database.
      Specified by:
      createLayoutSEOEntry in interface LayoutSEOEntryLocalService
      Parameters:
      layoutSEOEntryId - the primary key for the new layout seo entry
      Returns:
      the new layout seo entry
    • createPersistedModel

      public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      createPersistedModel in interface LayoutSEOEntryLocalService
      Specified by:
      createPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteLayoutSEOEntry

      public LayoutSEOEntry deleteLayoutSEOEntry(LayoutSEOEntry layoutSEOEntry)
      Deletes the layout seo entry from the database. Also notifies the appropriate model listeners.

      Important: Inspect LayoutSEOEntryLocalServiceImpl 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:
      deleteLayoutSEOEntry in interface LayoutSEOEntryLocalService
      Parameters:
      layoutSEOEntry - the layout seo entry
      Returns:
      the layout seo entry that was removed
    • deleteLayoutSEOEntry

      public LayoutSEOEntry deleteLayoutSEOEntry(long layoutSEOEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the layout seo entry with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect LayoutSEOEntryLocalServiceImpl 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:
      deleteLayoutSEOEntry in interface LayoutSEOEntryLocalService
      Parameters:
      layoutSEOEntryId - the primary key of the layout seo entry
      Returns:
      the layout seo entry that was removed
      Throws:
      PortalException - if a layout seo entry with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteLayoutSEOEntry

      public void deleteLayoutSEOEntry(long groupId, boolean privateLayout, long layoutId) throws NoSuchEntryException
      Specified by:
      deleteLayoutSEOEntry in interface LayoutSEOEntryLocalService
      Throws:
      NoSuchEntryException
    • deleteLayoutSEOEntry

      public void deleteLayoutSEOEntry(String uuid, long groupId) throws NoSuchEntryException
      Specified by:
      deleteLayoutSEOEntry in interface LayoutSEOEntryLocalService
      Throws:
      NoSuchEntryException
    • deletePersistedModel

      public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deletePersistedModel in interface LayoutSEOEntryLocalService
      Specified by:
      deletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • dslQuery

      public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQuery in interface LayoutSEOEntryLocalService
      Specified by:
      dslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dslQueryCount

      public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQueryCount in interface LayoutSEOEntryLocalService
      Specified by:
      dslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dynamicQuery

      public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
      Specified by:
      dynamicQuery in interface LayoutSEOEntryLocalService
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Performs a dynamic query on the database and returns the matching rows.
      Specified by:
      dynamicQuery in interface LayoutSEOEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      Returns:
      the matching rows
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      Performs a dynamic query on the database and returns a range of the matching rows.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.layout.seo.model.impl.LayoutSEOEntryModelImpl.

      Specified by:
      dynamicQuery in interface LayoutSEOEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      Returns:
      the range of matching rows
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
      Performs a dynamic query on the database and returns an ordered range of the matching rows.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.layout.seo.model.impl.LayoutSEOEntryModelImpl.

      Specified by:
      dynamicQuery in interface LayoutSEOEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching rows
    • dynamicQueryCount

      public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Returns the number of rows matching the dynamic query.
      Specified by:
      dynamicQueryCount in interface LayoutSEOEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      Returns:
      the number of rows matching the dynamic query
    • dynamicQueryCount

      public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
      Returns the number of rows matching the dynamic query.
      Specified by:
      dynamicQueryCount in interface LayoutSEOEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchLayoutSEOEntry

      public LayoutSEOEntry fetchLayoutSEOEntry(long layoutSEOEntryId)
      Specified by:
      fetchLayoutSEOEntry in interface LayoutSEOEntryLocalService
    • fetchLayoutSEOEntry

      public LayoutSEOEntry fetchLayoutSEOEntry(long groupId, boolean privateLayout, long layoutId)
      Specified by:
      fetchLayoutSEOEntry in interface LayoutSEOEntryLocalService
    • fetchLayoutSEOEntryByUuidAndGroupId

      public LayoutSEOEntry fetchLayoutSEOEntryByUuidAndGroupId(String uuid, long groupId)
      Returns the layout seo entry matching the UUID and group.
      Specified by:
      fetchLayoutSEOEntryByUuidAndGroupId in interface LayoutSEOEntryLocalService
      Parameters:
      uuid - the layout seo entry's UUID
      groupId - the primary key of the group
      Returns:
      the matching layout seo entry, or null if a matching layout seo entry could not be found
    • getActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
      Specified by:
      getActionableDynamicQuery in interface LayoutSEOEntryLocalService
    • getExportActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
      Specified by:
      getExportActionableDynamicQuery in interface LayoutSEOEntryLocalService
    • getIndexableActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
      Specified by:
      getIndexableActionableDynamicQuery in interface LayoutSEOEntryLocalService
    • getLayoutSEOEntries

      public List<LayoutSEOEntry> getLayoutSEOEntries(int start, int end)
      Returns a range of all the layout seo entries.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.layout.seo.model.impl.LayoutSEOEntryModelImpl.

      Specified by:
      getLayoutSEOEntries in interface LayoutSEOEntryLocalService
      Parameters:
      start - the lower bound of the range of layout seo entries
      end - the upper bound of the range of layout seo entries (not inclusive)
      Returns:
      the range of layout seo entries
    • getLayoutSEOEntriesByUuidAndCompanyId

      public List<LayoutSEOEntry> getLayoutSEOEntriesByUuidAndCompanyId(String uuid, long companyId)
      Returns all the layout seo entries matching the UUID and company.
      Specified by:
      getLayoutSEOEntriesByUuidAndCompanyId in interface LayoutSEOEntryLocalService
      Parameters:
      uuid - the UUID of the layout seo entries
      companyId - the primary key of the company
      Returns:
      the matching layout seo entries, or an empty list if no matches were found
    • getLayoutSEOEntriesByUuidAndCompanyId

      public List<LayoutSEOEntry> getLayoutSEOEntriesByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator)
      Returns a range of layout seo entries matching the UUID and company.
      Specified by:
      getLayoutSEOEntriesByUuidAndCompanyId in interface LayoutSEOEntryLocalService
      Parameters:
      uuid - the UUID of the layout seo entries
      companyId - the primary key of the company
      start - the lower bound of the range of layout seo entries
      end - the upper bound of the range of layout seo entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the range of matching layout seo entries, or an empty list if no matches were found
    • getLayoutSEOEntriesCount

      public int getLayoutSEOEntriesCount()
      Returns the number of layout seo entries.
      Specified by:
      getLayoutSEOEntriesCount in interface LayoutSEOEntryLocalService
      Returns:
      the number of layout seo entries
    • getLayoutSEOEntry

      public LayoutSEOEntry getLayoutSEOEntry(long layoutSEOEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the layout seo entry with the primary key.
      Specified by:
      getLayoutSEOEntry in interface LayoutSEOEntryLocalService
      Parameters:
      layoutSEOEntryId - the primary key of the layout seo entry
      Returns:
      the layout seo entry
      Throws:
      PortalException - if a layout seo entry with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getLayoutSEOEntryByUuidAndGroupId

      public LayoutSEOEntry getLayoutSEOEntryByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the layout seo entry matching the UUID and group.
      Specified by:
      getLayoutSEOEntryByUuidAndGroupId in interface LayoutSEOEntryLocalService
      Parameters:
      uuid - the layout seo entry's UUID
      groupId - the primary key of the group
      Returns:
      the matching layout seo entry
      Throws:
      PortalException - if a matching layout seo entry could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface LayoutSEOEntryLocalService
      Returns:
      the OSGi service identifier
    • getPersistedModel

      public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getPersistedModel in interface LayoutSEOEntryLocalService
      Specified by:
      getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • updateCustomMetaTags

      public LayoutSEOEntry updateCustomMetaTags(long userId, long groupId, boolean privateLayout, long layoutId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCustomMetaTags in interface LayoutSEOEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateLayoutSEOEntry

      public LayoutSEOEntry updateLayoutSEOEntry(LayoutSEOEntry layoutSEOEntry)
      Updates the layout seo entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect LayoutSEOEntryLocalServiceImpl 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:
      updateLayoutSEOEntry in interface LayoutSEOEntryLocalService
      Parameters:
      layoutSEOEntry - the layout seo entry
      Returns:
      the layout seo entry that was updated
    • updateLayoutSEOEntry

      public LayoutSEOEntry updateLayoutSEOEntry(long userId, long groupId, boolean privateLayout, long layoutId, boolean canonicalURLEnabled, Map<Locale,String> canonicalURLMap, boolean openGraphDescriptionEnabled, Map<Locale,String> openGraphDescriptionMap, Map<Locale,String> openGraphImageAltMap, long openGraphImageFileEntryId, boolean openGraphTitleEnabled, Map<Locale,String> openGraphTitleMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateLayoutSEOEntry in interface LayoutSEOEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateLayoutSEOEntry

      public LayoutSEOEntry updateLayoutSEOEntry(long userId, long groupId, boolean privateLayout, long layoutId, boolean openGraphDescriptionEnabled, Map<Locale,String> openGraphDescriptionMap, Map<Locale,String> openGraphImageAltMap, long openGraphImageFileEntryId, boolean openGraphTitleEnabled, Map<Locale,String> openGraphTitleMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateLayoutSEOEntry in interface LayoutSEOEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateLayoutSEOEntry

      public LayoutSEOEntry updateLayoutSEOEntry(long userId, long groupId, boolean privateLayout, long layoutId, boolean canonicalURLEnabled, Map<Locale,String> canonicalURLMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateLayoutSEOEntry in interface LayoutSEOEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getBasePersistence

      public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
      Specified by:
      getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • getCTPersistence

      public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutSEOEntry> getCTPersistence()
      Specified by:
      getCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<LayoutSEOEntry>
      Specified by:
      getCTPersistence in interface LayoutSEOEntryLocalService
    • getModelClass

      public Class<LayoutSEOEntry> getModelClass()
      Specified by:
      getModelClass in interface com.liferay.portal.kernel.service.change.tracking.CTService<LayoutSEOEntry>
      Specified by:
      getModelClass in interface LayoutSEOEntryLocalService
    • updateWithUnsafeFunction

      public <R, E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutSEOEntry>,R,E> updateUnsafeFunction) throws E
      Specified by:
      updateWithUnsafeFunction in interface com.liferay.portal.kernel.service.change.tracking.CTService<LayoutSEOEntry>
      Specified by:
      updateWithUnsafeFunction in interface LayoutSEOEntryLocalService
      Throws:
      E extends Throwable
    • getWrappedService

      public LayoutSEOEntryLocalService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<LayoutSEOEntryLocalService>
    • setWrappedService

      public void setWrappedService(LayoutSEOEntryLocalService layoutSEOEntryLocalService)
      Specified by:
      setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<LayoutSEOEntryLocalService>