Class AssetListEntryUsageLocalServiceWrapper

java.lang.Object
com.liferay.asset.list.service.AssetListEntryUsageLocalServiceWrapper
All Implemented Interfaces:
AssetListEntryUsageLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.change.tracking.CTService<AssetListEntryUsage>, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<AssetListEntryUsageLocalService>

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

    • AssetListEntryUsageLocalServiceWrapper

      public AssetListEntryUsageLocalServiceWrapper()
    • AssetListEntryUsageLocalServiceWrapper

      public AssetListEntryUsageLocalServiceWrapper(AssetListEntryUsageLocalService assetListEntryUsageLocalService)
  • Method Details

    • addAssetListEntryUsage

      public AssetListEntryUsage addAssetListEntryUsage(AssetListEntryUsage assetListEntryUsage)
      Adds the asset list entry usage to the database. Also notifies the appropriate model listeners.

      Important: Inspect AssetListEntryUsageLocalServiceImpl 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:
      addAssetListEntryUsage in interface AssetListEntryUsageLocalService
      Parameters:
      assetListEntryUsage - the asset list entry usage
      Returns:
      the asset list entry usage that was added
    • addAssetListEntryUsage

      public AssetListEntryUsage addAssetListEntryUsage(long userId, long groupId, long classNameId, String containerKey, long containerType, String key, long plid, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addAssetListEntryUsage in interface AssetListEntryUsageLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createAssetListEntryUsage

      public AssetListEntryUsage createAssetListEntryUsage(long assetListEntryUsageId)
      Creates a new asset list entry usage with the primary key. Does not add the asset list entry usage to the database.
      Specified by:
      createAssetListEntryUsage in interface AssetListEntryUsageLocalService
      Parameters:
      assetListEntryUsageId - the primary key for the new asset list entry usage
      Returns:
      the new asset list entry usage
    • createPersistedModel

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

      public AssetListEntryUsage deleteAssetListEntryUsage(AssetListEntryUsage assetListEntryUsage)
      Deletes the asset list entry usage from the database. Also notifies the appropriate model listeners.

      Important: Inspect AssetListEntryUsageLocalServiceImpl 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:
      deleteAssetListEntryUsage in interface AssetListEntryUsageLocalService
      Parameters:
      assetListEntryUsage - the asset list entry usage
      Returns:
      the asset list entry usage that was removed
    • deleteAssetListEntryUsage

      public AssetListEntryUsage deleteAssetListEntryUsage(long assetListEntryUsageId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the asset list entry usage with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect AssetListEntryUsageLocalServiceImpl 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:
      deleteAssetListEntryUsage in interface AssetListEntryUsageLocalService
      Parameters:
      assetListEntryUsageId - the primary key of the asset list entry usage
      Returns:
      the asset list entry usage that was removed
      Throws:
      PortalException - if a asset list entry usage with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteAssetListEntryUsages

      public void deleteAssetListEntryUsages(long containerType, long plid)
      Specified by:
      deleteAssetListEntryUsages in interface AssetListEntryUsageLocalService
    • deleteAssetListEntryUsages

      public void deleteAssetListEntryUsages(String containerKey, long containerType, long plid)
      Specified by:
      deleteAssetListEntryUsages in interface AssetListEntryUsageLocalService
    • 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 AssetListEntryUsageLocalService
      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 AssetListEntryUsageLocalService
      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 AssetListEntryUsageLocalService
      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 AssetListEntryUsageLocalService
    • 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 AssetListEntryUsageLocalService
      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.list.model.impl.AssetListEntryUsageModelImpl.

      Specified by:
      dynamicQuery in interface AssetListEntryUsageLocalService
      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.list.model.impl.AssetListEntryUsageModelImpl.

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

      public AssetListEntryUsage fetchAssetListEntryUsage(long assetListEntryUsageId)
      Specified by:
      fetchAssetListEntryUsage in interface AssetListEntryUsageLocalService
    • fetchAssetListEntryUsage

      public AssetListEntryUsage fetchAssetListEntryUsage(long groupId, long classNameId, String containerKey, long containerType, String key, long plid)
      Specified by:
      fetchAssetListEntryUsage in interface AssetListEntryUsageLocalService
    • fetchAssetListEntryUsageByUuidAndGroupId

      public AssetListEntryUsage fetchAssetListEntryUsageByUuidAndGroupId(String uuid, long groupId)
      Returns the asset list entry usage matching the UUID and group.
      Specified by:
      fetchAssetListEntryUsageByUuidAndGroupId in interface AssetListEntryUsageLocalService
      Parameters:
      uuid - the asset list entry usage's UUID
      groupId - the primary key of the group
      Returns:
      the matching asset list entry usage, or null if a matching asset list entry usage could not be found
    • getActionableDynamicQuery

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

      public List<AssetListEntryUsage> getAssetEntryListUsages(long containerType, long plid)
      Specified by:
      getAssetEntryListUsages in interface AssetListEntryUsageLocalService
    • getAssetEntryListUsagesByPlid

      public List<AssetListEntryUsage> getAssetEntryListUsagesByPlid(long plid)
      Specified by:
      getAssetEntryListUsagesByPlid in interface AssetListEntryUsageLocalService
    • getAssetListEntryUsage

      public AssetListEntryUsage getAssetListEntryUsage(long assetListEntryUsageId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the asset list entry usage with the primary key.
      Specified by:
      getAssetListEntryUsage in interface AssetListEntryUsageLocalService
      Parameters:
      assetListEntryUsageId - the primary key of the asset list entry usage
      Returns:
      the asset list entry usage
      Throws:
      PortalException - if a asset list entry usage with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getAssetListEntryUsageByUuidAndGroupId

      public AssetListEntryUsage getAssetListEntryUsageByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the asset list entry usage matching the UUID and group.
      Specified by:
      getAssetListEntryUsageByUuidAndGroupId in interface AssetListEntryUsageLocalService
      Parameters:
      uuid - the asset list entry usage's UUID
      groupId - the primary key of the group
      Returns:
      the matching asset list entry usage
      Throws:
      PortalException - if a matching asset list entry usage could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getAssetListEntryUsages

      public List<AssetListEntryUsage> getAssetListEntryUsages(int start, int end)
      Returns a range of all the asset list entry usages.

      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.list.model.impl.AssetListEntryUsageModelImpl.

      Specified by:
      getAssetListEntryUsages in interface AssetListEntryUsageLocalService
      Parameters:
      start - the lower bound of the range of asset list entry usages
      end - the upper bound of the range of asset list entry usages (not inclusive)
      Returns:
      the range of asset list entry usages
    • getAssetListEntryUsages

      public List<AssetListEntryUsage> getAssetListEntryUsages(long groupId, long classNameId, String key)
      Specified by:
      getAssetListEntryUsages in interface AssetListEntryUsageLocalService
    • getAssetListEntryUsages

      public List<AssetListEntryUsage> getAssetListEntryUsages(long groupId, long classNameId, String key, int type)
      Specified by:
      getAssetListEntryUsages in interface AssetListEntryUsageLocalService
    • getAssetListEntryUsages

      public List<AssetListEntryUsage> getAssetListEntryUsages(long groupId, long classNameId, String key, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
      Specified by:
      getAssetListEntryUsages in interface AssetListEntryUsageLocalService
    • getAssetListEntryUsages

      public List<AssetListEntryUsage> getAssetListEntryUsages(long groupId, long classNameId, String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetListEntryUsage> orderByComparator)
      Specified by:
      getAssetListEntryUsages in interface AssetListEntryUsageLocalService
    • getAssetListEntryUsages

      public List<AssetListEntryUsage> getAssetListEntryUsages(String containerKey, long containerType, long plid)
      Specified by:
      getAssetListEntryUsages in interface AssetListEntryUsageLocalService
    • getAssetListEntryUsagesByUuidAndCompanyId

      public List<AssetListEntryUsage> getAssetListEntryUsagesByUuidAndCompanyId(String uuid, long companyId)
      Returns all the asset list entry usages matching the UUID and company.
      Specified by:
      getAssetListEntryUsagesByUuidAndCompanyId in interface AssetListEntryUsageLocalService
      Parameters:
      uuid - the UUID of the asset list entry usages
      companyId - the primary key of the company
      Returns:
      the matching asset list entry usages, or an empty list if no matches were found
    • getAssetListEntryUsagesByUuidAndCompanyId

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

      public int getAssetListEntryUsagesCount()
      Returns the number of asset list entry usages.
      Specified by:
      getAssetListEntryUsagesCount in interface AssetListEntryUsageLocalService
      Returns:
      the number of asset list entry usages
    • getAssetListEntryUsagesCount

      public int getAssetListEntryUsagesCount(long groupId, long classNameId, String key)
      Specified by:
      getAssetListEntryUsagesCount in interface AssetListEntryUsageLocalService
    • getAssetListEntryUsagesCount

      public int getAssetListEntryUsagesCount(long groupId, long classNameId, String key, int type)
      Specified by:
      getAssetListEntryUsagesCount in interface AssetListEntryUsageLocalService
    • getCompanyAssetListEntryUsagesCount

      public int getCompanyAssetListEntryUsagesCount(long companyId, long classNameId, String key)
      Specified by:
      getCompanyAssetListEntryUsagesCount in interface AssetListEntryUsageLocalService
    • getExportActionableDynamicQuery

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

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

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

      public AssetListEntryUsage updateAssetListEntryUsage(AssetListEntryUsage assetListEntryUsage)
      Updates the asset list entry usage in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect AssetListEntryUsageLocalServiceImpl 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:
      updateAssetListEntryUsage in interface AssetListEntryUsageLocalService
      Parameters:
      assetListEntryUsage - the asset list entry usage
      Returns:
      the asset list entry usage that was updated
    • 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<AssetListEntryUsage> getCTPersistence()
      Specified by:
      getCTPersistence in interface AssetListEntryUsageLocalService
      Specified by:
      getCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<AssetListEntryUsage>
    • getModelClass

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

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

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

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