Class AssetListEntryLocalServiceWrapper

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

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

    • AssetListEntryLocalServiceWrapper

      public AssetListEntryLocalServiceWrapper()
    • AssetListEntryLocalServiceWrapper

      public AssetListEntryLocalServiceWrapper(AssetListEntryLocalService assetListEntryLocalService)
  • Method Details

    • addAssetEntrySelection

      public void addAssetEntrySelection(long assetListEntryId, long assetEntryId, long segmentsEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addAssetEntrySelection in interface AssetListEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addAssetEntrySelections

      public void addAssetEntrySelections(long assetListEntryId, long[] assetEntryIds, long segmentsEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addAssetEntrySelections in interface AssetListEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addAssetListEntry

      public AssetListEntry addAssetListEntry(AssetListEntry assetListEntry)
      Adds the asset list entry to the database. Also notifies the appropriate model listeners.

      Important: Inspect AssetListEntryLocalServiceImpl 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:
      addAssetListEntry in interface AssetListEntryLocalService
      Parameters:
      assetListEntry - the asset list entry
      Returns:
      the asset list entry that was added
    • addAssetListEntry

      public AssetListEntry addAssetListEntry(String externalReferenceCode, long userId, long groupId, String title, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addAssetListEntry in interface AssetListEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addAssetListEntry

      public AssetListEntry addAssetListEntry(String externalReferenceCode, long userId, long groupId, String title, int type, String typeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addAssetListEntry in interface AssetListEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addDynamicAssetListEntry

      public AssetListEntry addDynamicAssetListEntry(String externalReferenceCode, long userId, long groupId, String title, String typeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addDynamicAssetListEntry in interface AssetListEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addManualAssetListEntry

      public AssetListEntry addManualAssetListEntry(String externalReferenceCode, long userId, long groupId, String title, long[] assetEntryIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addManualAssetListEntry in interface AssetListEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createAssetListEntry

      public AssetListEntry createAssetListEntry(long assetListEntryId)
      Creates a new asset list entry with the primary key. Does not add the asset list entry to the database.
      Specified by:
      createAssetListEntry in interface AssetListEntryLocalService
      Parameters:
      assetListEntryId - the primary key for the new asset list entry
      Returns:
      the new asset list entry
    • createPersistedModel

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

      public void deleteAssetEntrySelection(long assetListEntryId, long segmentsEntryId, int position) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteAssetEntrySelection in interface AssetListEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteAssetListEntry

      public AssetListEntry deleteAssetListEntry(AssetListEntry assetListEntry) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the asset list entry from the database. Also notifies the appropriate model listeners.

      Important: Inspect AssetListEntryLocalServiceImpl 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:
      deleteAssetListEntry in interface AssetListEntryLocalService
      Parameters:
      assetListEntry - the asset list entry
      Returns:
      the asset list entry that was removed
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteAssetListEntry

      public AssetListEntry deleteAssetListEntry(long assetListEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the asset list entry with the primary key from the database. Also notifies the appropriate model listeners.

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

      public AssetListEntry deleteAssetListEntry(long assetListEntryId, long segmentsEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteAssetListEntry in interface AssetListEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteAssetListEntry

      public AssetListEntry deleteAssetListEntry(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteAssetListEntry in interface AssetListEntryLocalService
      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 AssetListEntryLocalService
      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 AssetListEntryLocalService
      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 AssetListEntryLocalService
      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 AssetListEntryLocalService
    • 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 AssetListEntryLocalService
      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.AssetListEntryModelImpl.

      Specified by:
      dynamicQuery in interface AssetListEntryLocalService
      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.AssetListEntryModelImpl.

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

      public AssetListEntry fetchAssetListEntry(long assetListEntryId)
      Specified by:
      fetchAssetListEntry in interface AssetListEntryLocalService
    • fetchAssetListEntryByExternalReferenceCode

      public AssetListEntry fetchAssetListEntryByExternalReferenceCode(String externalReferenceCode, long groupId)
      Specified by:
      fetchAssetListEntryByExternalReferenceCode in interface AssetListEntryLocalService
    • fetchAssetListEntryByUuidAndGroupId

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

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

      public List<AssetListEntry> getAssetListEntries(int start, int end)
      Returns a range of all the asset list 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.list.model.impl.AssetListEntryModelImpl.

      Specified by:
      getAssetListEntries in interface AssetListEntryLocalService
      Parameters:
      start - the lower bound of the range of asset list entries
      end - the upper bound of the range of asset list entries (not inclusive)
      Returns:
      the range of asset list entries
    • getAssetListEntries

      public List<AssetListEntry> getAssetListEntries(long groupId)
      Specified by:
      getAssetListEntries in interface AssetListEntryLocalService
    • getAssetListEntriesByUuidAndCompanyId

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

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

      public int getAssetListEntriesCount()
      Returns the number of asset list entries.
      Specified by:
      getAssetListEntriesCount in interface AssetListEntryLocalService
      Returns:
      the number of asset list entries
    • getAssetListEntry

      public AssetListEntry getAssetListEntry(long assetListEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the asset list entry with the primary key.
      Specified by:
      getAssetListEntry in interface AssetListEntryLocalService
      Parameters:
      assetListEntryId - the primary key of the asset list entry
      Returns:
      the asset list entry
      Throws:
      PortalException - if a asset list entry with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getAssetListEntry

      public AssetListEntry getAssetListEntry(long groupId, String assetListEntryKey) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getAssetListEntry in interface AssetListEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAssetListEntryByExternalReferenceCode

      public AssetListEntry getAssetListEntryByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getAssetListEntryByExternalReferenceCode in interface AssetListEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAssetListEntryByUuidAndGroupId

      public AssetListEntry getAssetListEntryByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the asset list entry matching the UUID and group.
      Specified by:
      getAssetListEntryByUuidAndGroupId in interface AssetListEntryLocalService
      Parameters:
      uuid - the asset list entry's UUID
      groupId - the primary key of the group
      Returns:
      the matching asset list entry
      Throws:
      PortalException - if a matching asset list 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 AssetListEntryLocalService
    • getIndexableActionableDynamicQuery

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

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

      public void moveAssetEntrySelection(long assetListEntryId, long segmentsEntryId, int position, int newPosition) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      moveAssetEntrySelection in interface AssetListEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateAssetListEntry

      public AssetListEntry updateAssetListEntry(AssetListEntry assetListEntry)
      Updates the asset list entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect AssetListEntryLocalServiceImpl 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:
      updateAssetListEntry in interface AssetListEntryLocalService
      Parameters:
      assetListEntry - the asset list entry
      Returns:
      the asset list entry that was updated
    • updateAssetListEntry

      public AssetListEntry updateAssetListEntry(long assetListEntryId, long segmentsEntryId, String typeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateAssetListEntry in interface AssetListEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateAssetListEntry

      public AssetListEntry updateAssetListEntry(long assetListEntryId, String title) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateAssetListEntry in interface AssetListEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateAssetListEntryTypeSettings

      public void updateAssetListEntryTypeSettings(long assetListEntryId, long segmentsEntryId, String typeSettings) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateAssetListEntryTypeSettings in interface AssetListEntryLocalService
      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<AssetListEntry> getCTPersistence()
      Specified by:
      getCTPersistence in interface AssetListEntryLocalService
      Specified by:
      getCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<AssetListEntry>
    • getModelClass

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

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

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

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