Class DLOpenerFileEntryReferenceLocalServiceWrapper

java.lang.Object
com.liferay.document.library.opener.service.DLOpenerFileEntryReferenceLocalServiceWrapper
All Implemented Interfaces:
DLOpenerFileEntryReferenceLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<DLOpenerFileEntryReferenceLocalService>

public class DLOpenerFileEntryReferenceLocalServiceWrapper extends Object implements DLOpenerFileEntryReferenceLocalService, com.liferay.portal.kernel.service.ServiceWrapper<DLOpenerFileEntryReferenceLocalService>
See Also:
Generated:
  • Constructor Details

    • DLOpenerFileEntryReferenceLocalServiceWrapper

      public DLOpenerFileEntryReferenceLocalServiceWrapper()
    • DLOpenerFileEntryReferenceLocalServiceWrapper

      public DLOpenerFileEntryReferenceLocalServiceWrapper(DLOpenerFileEntryReferenceLocalService dlOpenerFileEntryReferenceLocalService)
  • Method Details

    • addDLOpenerFileEntryReference

      public DLOpenerFileEntryReference addDLOpenerFileEntryReference(DLOpenerFileEntryReference dlOpenerFileEntryReference)
      Adds the dl opener file entry reference to the database. Also notifies the appropriate model listeners.

      Important: Inspect DLOpenerFileEntryReferenceLocalServiceImpl 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:
      addDLOpenerFileEntryReference in interface DLOpenerFileEntryReferenceLocalService
      Parameters:
      dlOpenerFileEntryReference - the dl opener file entry reference
      Returns:
      the dl opener file entry reference that was added
    • addDLOpenerFileEntryReference

      @Deprecated public DLOpenerFileEntryReference addDLOpenerFileEntryReference(long userId, String referenceKey, com.liferay.portal.kernel.repository.model.FileEntry fileEntry, int type) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      Specified by:
      addDLOpenerFileEntryReference in interface DLOpenerFileEntryReferenceLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addDLOpenerFileEntryReference

      public DLOpenerFileEntryReference addDLOpenerFileEntryReference(long userId, String referenceKey, String referenceType, com.liferay.portal.kernel.repository.model.FileEntry fileEntry, int type) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addDLOpenerFileEntryReference in interface DLOpenerFileEntryReferenceLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addPlaceholderDLOpenerFileEntryReference

      @Deprecated public DLOpenerFileEntryReference addPlaceholderDLOpenerFileEntryReference(long userId, com.liferay.portal.kernel.repository.model.FileEntry fileEntry, int type) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      Specified by:
      addPlaceholderDLOpenerFileEntryReference in interface DLOpenerFileEntryReferenceLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addPlaceholderDLOpenerFileEntryReference

      public DLOpenerFileEntryReference addPlaceholderDLOpenerFileEntryReference(long userId, String referenceType, com.liferay.portal.kernel.repository.model.FileEntry fileEntry, int type) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addPlaceholderDLOpenerFileEntryReference in interface DLOpenerFileEntryReferenceLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createDLOpenerFileEntryReference

      public DLOpenerFileEntryReference createDLOpenerFileEntryReference(long dlOpenerFileEntryReferenceId)
      Creates a new dl opener file entry reference with the primary key. Does not add the dl opener file entry reference to the database.
      Specified by:
      createDLOpenerFileEntryReference in interface DLOpenerFileEntryReferenceLocalService
      Parameters:
      dlOpenerFileEntryReferenceId - the primary key for the new dl opener file entry reference
      Returns:
      the new dl opener file entry reference
    • createPersistedModel

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

      public DLOpenerFileEntryReference deleteDLOpenerFileEntryReference(DLOpenerFileEntryReference dlOpenerFileEntryReference)
      Deletes the dl opener file entry reference from the database. Also notifies the appropriate model listeners.

      Important: Inspect DLOpenerFileEntryReferenceLocalServiceImpl 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:
      deleteDLOpenerFileEntryReference in interface DLOpenerFileEntryReferenceLocalService
      Parameters:
      dlOpenerFileEntryReference - the dl opener file entry reference
      Returns:
      the dl opener file entry reference that was removed
    • deleteDLOpenerFileEntryReference

      @Deprecated public void deleteDLOpenerFileEntryReference(com.liferay.portal.kernel.repository.model.FileEntry fileEntry) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      As of Mueller (7.2.x), replaced by deleteDLOpenerFileEntryReference(String, FileEntry)
      Specified by:
      deleteDLOpenerFileEntryReference in interface DLOpenerFileEntryReferenceLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteDLOpenerFileEntryReference

      public DLOpenerFileEntryReference deleteDLOpenerFileEntryReference(long dlOpenerFileEntryReferenceId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the dl opener file entry reference with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect DLOpenerFileEntryReferenceLocalServiceImpl 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:
      deleteDLOpenerFileEntryReference in interface DLOpenerFileEntryReferenceLocalService
      Parameters:
      dlOpenerFileEntryReferenceId - the primary key of the dl opener file entry reference
      Returns:
      the dl opener file entry reference that was removed
      Throws:
      PortalException - if a dl opener file entry reference with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteDLOpenerFileEntryReference

      public void deleteDLOpenerFileEntryReference(String referenceType, com.liferay.portal.kernel.repository.model.FileEntry fileEntry) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteDLOpenerFileEntryReference in interface DLOpenerFileEntryReferenceLocalService
      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 DLOpenerFileEntryReferenceLocalService
      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 DLOpenerFileEntryReferenceLocalService
      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 DLOpenerFileEntryReferenceLocalService
      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 DLOpenerFileEntryReferenceLocalService
    • 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 DLOpenerFileEntryReferenceLocalService
      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.document.library.opener.model.impl.DLOpenerFileEntryReferenceModelImpl.

      Specified by:
      dynamicQuery in interface DLOpenerFileEntryReferenceLocalService
      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.document.library.opener.model.impl.DLOpenerFileEntryReferenceModelImpl.

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

      @Deprecated public DLOpenerFileEntryReference fetchDLOpenerFileEntryReference(com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
      Deprecated.
      As of Mueller (7.2.x), replaced by fetchDLOpenerFileEntryReference(String, FileEntry)
      Specified by:
      fetchDLOpenerFileEntryReference in interface DLOpenerFileEntryReferenceLocalService
    • fetchDLOpenerFileEntryReference

      public DLOpenerFileEntryReference fetchDLOpenerFileEntryReference(long dlOpenerFileEntryReferenceId)
      Specified by:
      fetchDLOpenerFileEntryReference in interface DLOpenerFileEntryReferenceLocalService
    • fetchDLOpenerFileEntryReference

      public DLOpenerFileEntryReference fetchDLOpenerFileEntryReference(String referenceKey, com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
      Specified by:
      fetchDLOpenerFileEntryReference in interface DLOpenerFileEntryReferenceLocalService
    • getActionableDynamicQuery

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

      @Deprecated public DLOpenerFileEntryReference getDLOpenerFileEntryReference(com.liferay.portal.kernel.repository.model.FileEntry fileEntry) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      As of Mueller (7.2.x), replaced by getDLOpenerFileEntryReference(String, FileEntry)
      Specified by:
      getDLOpenerFileEntryReference in interface DLOpenerFileEntryReferenceLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDLOpenerFileEntryReference

      public DLOpenerFileEntryReference getDLOpenerFileEntryReference(long dlOpenerFileEntryReferenceId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the dl opener file entry reference with the primary key.
      Specified by:
      getDLOpenerFileEntryReference in interface DLOpenerFileEntryReferenceLocalService
      Parameters:
      dlOpenerFileEntryReferenceId - the primary key of the dl opener file entry reference
      Returns:
      the dl opener file entry reference
      Throws:
      PortalException - if a dl opener file entry reference with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getDLOpenerFileEntryReference

      public DLOpenerFileEntryReference getDLOpenerFileEntryReference(String referenceType, com.liferay.portal.kernel.repository.model.FileEntry fileEntry) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getDLOpenerFileEntryReference in interface DLOpenerFileEntryReferenceLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDLOpenerFileEntryReferences

      public List<DLOpenerFileEntryReference> getDLOpenerFileEntryReferences(int start, int end)
      Returns a range of all the dl opener file entry references.

      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.document.library.opener.model.impl.DLOpenerFileEntryReferenceModelImpl.

      Specified by:
      getDLOpenerFileEntryReferences in interface DLOpenerFileEntryReferenceLocalService
      Parameters:
      start - the lower bound of the range of dl opener file entry references
      end - the upper bound of the range of dl opener file entry references (not inclusive)
      Returns:
      the range of dl opener file entry references
    • getDLOpenerFileEntryReferencesCount

      public int getDLOpenerFileEntryReferencesCount()
      Returns the number of dl opener file entry references.
      Specified by:
      getDLOpenerFileEntryReferencesCount in interface DLOpenerFileEntryReferenceLocalService
      Returns:
      the number of dl opener file entry references
    • getIndexableActionableDynamicQuery

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

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

      public DLOpenerFileEntryReference updateDLOpenerFileEntryReference(DLOpenerFileEntryReference dlOpenerFileEntryReference)
      Updates the dl opener file entry reference in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect DLOpenerFileEntryReferenceLocalServiceImpl 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:
      updateDLOpenerFileEntryReference in interface DLOpenerFileEntryReferenceLocalService
      Parameters:
      dlOpenerFileEntryReference - the dl opener file entry reference
      Returns:
      the dl opener file entry reference that was updated
    • updateDLOpenerFileEntryReference

      @Deprecated public DLOpenerFileEntryReference updateDLOpenerFileEntryReference(String referenceKey, com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
      Deprecated.
      Specified by:
      updateDLOpenerFileEntryReference in interface DLOpenerFileEntryReferenceLocalService
    • updateDLOpenerFileEntryReference

      public DLOpenerFileEntryReference updateDLOpenerFileEntryReference(String referenceKey, String referenceType, com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
      Specified by:
      updateDLOpenerFileEntryReference in interface DLOpenerFileEntryReferenceLocalService
    • getBasePersistence

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

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

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