Class AssetDisplayPageEntryLocalServiceWrapper

java.lang.Object
com.liferay.asset.display.page.service.AssetDisplayPageEntryLocalServiceWrapper
All Implemented Interfaces:
AssetDisplayPageEntryLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.change.tracking.CTService<AssetDisplayPageEntry>, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<AssetDisplayPageEntryLocalService>

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

    • AssetDisplayPageEntryLocalServiceWrapper

      public AssetDisplayPageEntryLocalServiceWrapper()
    • AssetDisplayPageEntryLocalServiceWrapper

      public AssetDisplayPageEntryLocalServiceWrapper(AssetDisplayPageEntryLocalService assetDisplayPageEntryLocalService)
  • Method Details

    • addAssetDisplayPageEntry

      public AssetDisplayPageEntry addAssetDisplayPageEntry(AssetDisplayPageEntry assetDisplayPageEntry)
      Adds the asset display page entry to the database. Also notifies the appropriate model listeners.

      Important: Inspect AssetDisplayPageEntryLocalServiceImpl 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:
      addAssetDisplayPageEntry in interface AssetDisplayPageEntryLocalService
      Parameters:
      assetDisplayPageEntry - the asset display page entry
      Returns:
      the asset display page entry that was added
    • addAssetDisplayPageEntry

      public AssetDisplayPageEntry addAssetDisplayPageEntry(long userId, long groupId, long classNameId, long classPK, long layoutPageTemplateEntryId, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addAssetDisplayPageEntry in interface AssetDisplayPageEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addAssetDisplayPageEntry

      public AssetDisplayPageEntry addAssetDisplayPageEntry(long userId, long groupId, long classNameId, long classPK, long layoutPageTemplateEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addAssetDisplayPageEntry in interface AssetDisplayPageEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createAssetDisplayPageEntry

      public AssetDisplayPageEntry createAssetDisplayPageEntry(long assetDisplayPageEntryId)
      Creates a new asset display page entry with the primary key. Does not add the asset display page entry to the database.
      Specified by:
      createAssetDisplayPageEntry in interface AssetDisplayPageEntryLocalService
      Parameters:
      assetDisplayPageEntryId - the primary key for the new asset display page entry
      Returns:
      the new asset display page entry
    • createPersistedModel

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

      public AssetDisplayPageEntry deleteAssetDisplayPageEntry(AssetDisplayPageEntry assetDisplayPageEntry)
      Deletes the asset display page entry from the database. Also notifies the appropriate model listeners.

      Important: Inspect AssetDisplayPageEntryLocalServiceImpl 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:
      deleteAssetDisplayPageEntry in interface AssetDisplayPageEntryLocalService
      Parameters:
      assetDisplayPageEntry - the asset display page entry
      Returns:
      the asset display page entry that was removed
    • deleteAssetDisplayPageEntry

      public AssetDisplayPageEntry deleteAssetDisplayPageEntry(long assetDisplayPageEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the asset display page entry with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect AssetDisplayPageEntryLocalServiceImpl 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:
      deleteAssetDisplayPageEntry in interface AssetDisplayPageEntryLocalService
      Parameters:
      assetDisplayPageEntryId - the primary key of the asset display page entry
      Returns:
      the asset display page entry that was removed
      Throws:
      PortalException - if a asset display page entry with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteAssetDisplayPageEntry

      public void deleteAssetDisplayPageEntry(long groupId, long classNameId, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteAssetDisplayPageEntry in interface AssetDisplayPageEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • 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 AssetDisplayPageEntryLocalService
      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 AssetDisplayPageEntryLocalService
      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 AssetDisplayPageEntryLocalService
      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 AssetDisplayPageEntryLocalService
    • 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 AssetDisplayPageEntryLocalService
      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.asset.display.page.model.impl.AssetDisplayPageEntryModelImpl.

      Specified by:
      dynamicQuery in interface AssetDisplayPageEntryLocalService
      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.asset.display.page.model.impl.AssetDisplayPageEntryModelImpl.

      Specified by:
      dynamicQuery in interface AssetDisplayPageEntryLocalService
      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 AssetDisplayPageEntryLocalService
      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 AssetDisplayPageEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchAssetDisplayPageEntry

      public AssetDisplayPageEntry fetchAssetDisplayPageEntry(long assetDisplayPageEntryId)
      Specified by:
      fetchAssetDisplayPageEntry in interface AssetDisplayPageEntryLocalService
    • fetchAssetDisplayPageEntry

      public AssetDisplayPageEntry fetchAssetDisplayPageEntry(long groupId, long classNameId, long classPK)
      Specified by:
      fetchAssetDisplayPageEntry in interface AssetDisplayPageEntryLocalService
    • fetchAssetDisplayPageEntryByUuidAndGroupId

      public AssetDisplayPageEntry fetchAssetDisplayPageEntryByUuidAndGroupId(String uuid, long groupId)
      Returns the asset display page entry matching the UUID and group.
      Specified by:
      fetchAssetDisplayPageEntryByUuidAndGroupId in interface AssetDisplayPageEntryLocalService
      Parameters:
      uuid - the asset display page entry's UUID
      groupId - the primary key of the group
      Returns:
      the matching asset display page entry, or null if a matching asset display page entry could not be found
    • getActionableDynamicQuery

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

      public List<AssetDisplayPageEntry> getAssetDisplayPageEntries(int start, int end)
      Returns a range of all the asset display page 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.asset.display.page.model.impl.AssetDisplayPageEntryModelImpl.

      Specified by:
      getAssetDisplayPageEntries in interface AssetDisplayPageEntryLocalService
      Parameters:
      start - the lower bound of the range of asset display page entries
      end - the upper bound of the range of asset display page entries (not inclusive)
      Returns:
      the range of asset display page entries
    • getAssetDisplayPageEntries

      public List<AssetDisplayPageEntry> getAssetDisplayPageEntries(long classNameId, long classTypeId, long layoutPageTemplateEntryId, boolean defaultTemplate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
      Specified by:
      getAssetDisplayPageEntries in interface AssetDisplayPageEntryLocalService
    • getAssetDisplayPageEntriesByLayoutPageTemplateEntryId

      public List<AssetDisplayPageEntry> getAssetDisplayPageEntriesByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId)
      Specified by:
      getAssetDisplayPageEntriesByLayoutPageTemplateEntryId in interface AssetDisplayPageEntryLocalService
    • getAssetDisplayPageEntriesByLayoutPageTemplateEntryId

      public List<AssetDisplayPageEntry> getAssetDisplayPageEntriesByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
      Specified by:
      getAssetDisplayPageEntriesByLayoutPageTemplateEntryId in interface AssetDisplayPageEntryLocalService
    • getAssetDisplayPageEntriesByUuidAndCompanyId

      public List<AssetDisplayPageEntry> getAssetDisplayPageEntriesByUuidAndCompanyId(String uuid, long companyId)
      Returns all the asset display page entries matching the UUID and company.
      Specified by:
      getAssetDisplayPageEntriesByUuidAndCompanyId in interface AssetDisplayPageEntryLocalService
      Parameters:
      uuid - the UUID of the asset display page entries
      companyId - the primary key of the company
      Returns:
      the matching asset display page entries, or an empty list if no matches were found
    • getAssetDisplayPageEntriesByUuidAndCompanyId

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

      public int getAssetDisplayPageEntriesCount()
      Returns the number of asset display page entries.
      Specified by:
      getAssetDisplayPageEntriesCount in interface AssetDisplayPageEntryLocalService
      Returns:
      the number of asset display page entries
    • getAssetDisplayPageEntriesCount

      public int getAssetDisplayPageEntriesCount(long classNameId, long classTypeId, long layoutPageTemplateEntryId, boolean defaultTemplate)
      Specified by:
      getAssetDisplayPageEntriesCount in interface AssetDisplayPageEntryLocalService
    • getAssetDisplayPageEntriesCountByLayoutPageTemplateEntryId

      public int getAssetDisplayPageEntriesCountByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId)
      Specified by:
      getAssetDisplayPageEntriesCountByLayoutPageTemplateEntryId in interface AssetDisplayPageEntryLocalService
    • getAssetDisplayPageEntry

      public AssetDisplayPageEntry getAssetDisplayPageEntry(long assetDisplayPageEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the asset display page entry with the primary key.
      Specified by:
      getAssetDisplayPageEntry in interface AssetDisplayPageEntryLocalService
      Parameters:
      assetDisplayPageEntryId - the primary key of the asset display page entry
      Returns:
      the asset display page entry
      Throws:
      PortalException - if a asset display page entry with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getAssetDisplayPageEntryByUuidAndGroupId

      public AssetDisplayPageEntry getAssetDisplayPageEntryByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the asset display page entry matching the UUID and group.
      Specified by:
      getAssetDisplayPageEntryByUuidAndGroupId in interface AssetDisplayPageEntryLocalService
      Parameters:
      uuid - the asset display page entry's UUID
      groupId - the primary key of the group
      Returns:
      the matching asset display page entry
      Throws:
      PortalException - if a matching asset display page entry could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getExportActionableDynamicQuery

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

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

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface AssetDisplayPageEntryLocalService
      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 AssetDisplayPageEntryLocalService
      Specified by:
      getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • updateAssetDisplayPageEntry

      public AssetDisplayPageEntry updateAssetDisplayPageEntry(AssetDisplayPageEntry assetDisplayPageEntry)
      Updates the asset display page entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect AssetDisplayPageEntryLocalServiceImpl 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:
      updateAssetDisplayPageEntry in interface AssetDisplayPageEntryLocalService
      Parameters:
      assetDisplayPageEntry - the asset display page entry
      Returns:
      the asset display page entry that was updated
    • updateAssetDisplayPageEntry

      public AssetDisplayPageEntry updateAssetDisplayPageEntry(long assetDisplayPageEntryId, long layoutPageTemplateEntryId, int type) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateAssetDisplayPageEntry in interface AssetDisplayPageEntryLocalService
      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<AssetDisplayPageEntry> getCTPersistence()
      Specified by:
      getCTPersistence in interface AssetDisplayPageEntryLocalService
      Specified by:
      getCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<AssetDisplayPageEntry>
    • getModelClass

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

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

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

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