Interface DLOpenerFileEntryReferencePersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<DLOpenerFileEntryReference>

@ProviderType public interface DLOpenerFileEntryReferencePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DLOpenerFileEntryReference>
The persistence interface for the dl opener file entry reference service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(DLOpenerFileEntryReference dlOpenerFileEntryReference)
    Caches the dl opener file entry reference in the entity cache if it is enabled.
    void
    cacheResult(List<DLOpenerFileEntryReference> dlOpenerFileEntryReferences)
    Caches the dl opener file entry references in the entity cache if it is enabled.
    int
    Returns the number of dl opener file entry references.
    int
    countByFileEntryId(long fileEntryId)
    Returns the number of dl opener file entry references where fileEntryId = ?.
    int
    countByR_F(String referenceType, long fileEntryId)
    Returns the number of dl opener file entry references where referenceType = ? and fileEntryId = ?.
    create(long dlOpenerFileEntryReferenceId)
    Creates a new dl opener file entry reference with the primary key.
    fetchByFileEntryId(long fileEntryId)
    Returns the dl opener file entry reference where fileEntryId = ? or returns null if it could not be found.
    fetchByFileEntryId(long fileEntryId, boolean useFinderCache)
    Returns the dl opener file entry reference where fileEntryId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long dlOpenerFileEntryReferenceId)
    Returns the dl opener file entry reference with the primary key or returns null if it could not be found.
    fetchByR_F(String referenceType, long fileEntryId)
    Returns the dl opener file entry reference where referenceType = ? and fileEntryId = ? or returns null if it could not be found.
    fetchByR_F(String referenceType, long fileEntryId, boolean useFinderCache)
    Returns the dl opener file entry reference where referenceType = ? and fileEntryId = ? or returns null if it could not be found, optionally using the finder cache.
    Returns all the dl opener file entry references.
    findAll(int start, int end)
    Returns a range of all the dl opener file entry references.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLOpenerFileEntryReference> orderByComparator)
    Returns an ordered range of all the dl opener file entry references.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLOpenerFileEntryReference> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the dl opener file entry references.
    findByFileEntryId(long fileEntryId)
    Returns the dl opener file entry reference where fileEntryId = ? or throws a NoSuchFileEntryReferenceException if it could not be found.
    findByPrimaryKey(long dlOpenerFileEntryReferenceId)
    Returns the dl opener file entry reference with the primary key or throws a NoSuchFileEntryReferenceException if it could not be found.
    findByR_F(String referenceType, long fileEntryId)
    Returns the dl opener file entry reference where referenceType = ? and fileEntryId = ? or throws a NoSuchFileEntryReferenceException if it could not be found.
    remove(long dlOpenerFileEntryReferenceId)
    Removes the dl opener file entry reference with the primary key from the database.
    void
    Removes all the dl opener file entry references from the database.
    removeByFileEntryId(long fileEntryId)
    Removes the dl opener file entry reference where fileEntryId = ? from the database.
    removeByR_F(String referenceType, long fileEntryId)
    Removes the dl opener file entry reference where referenceType = ? and fileEntryId = ? from the database.
    updateImpl(DLOpenerFileEntryReference dlOpenerFileEntryReference)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
  • Method Details

    • findByFileEntryId

      DLOpenerFileEntryReference findByFileEntryId(long fileEntryId) throws NoSuchFileEntryReferenceException
      Returns the dl opener file entry reference where fileEntryId = ? or throws a NoSuchFileEntryReferenceException if it could not be found.
      Parameters:
      fileEntryId - the file entry ID
      Returns:
      the matching dl opener file entry reference
      Throws:
      NoSuchFileEntryReferenceException - if a matching dl opener file entry reference could not be found
    • fetchByFileEntryId

      DLOpenerFileEntryReference fetchByFileEntryId(long fileEntryId)
      Returns the dl opener file entry reference where fileEntryId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      fileEntryId - the file entry ID
      Returns:
      the matching dl opener file entry reference, or null if a matching dl opener file entry reference could not be found
    • fetchByFileEntryId

      DLOpenerFileEntryReference fetchByFileEntryId(long fileEntryId, boolean useFinderCache)
      Returns the dl opener file entry reference where fileEntryId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      fileEntryId - the file entry ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching dl opener file entry reference, or null if a matching dl opener file entry reference could not be found
    • removeByFileEntryId

      DLOpenerFileEntryReference removeByFileEntryId(long fileEntryId) throws NoSuchFileEntryReferenceException
      Removes the dl opener file entry reference where fileEntryId = ? from the database.
      Parameters:
      fileEntryId - the file entry ID
      Returns:
      the dl opener file entry reference that was removed
      Throws:
      NoSuchFileEntryReferenceException
    • countByFileEntryId

      int countByFileEntryId(long fileEntryId)
      Returns the number of dl opener file entry references where fileEntryId = ?.
      Parameters:
      fileEntryId - the file entry ID
      Returns:
      the number of matching dl opener file entry references
    • findByR_F

      DLOpenerFileEntryReference findByR_F(String referenceType, long fileEntryId) throws NoSuchFileEntryReferenceException
      Returns the dl opener file entry reference where referenceType = ? and fileEntryId = ? or throws a NoSuchFileEntryReferenceException if it could not be found.
      Parameters:
      referenceType - the reference type
      fileEntryId - the file entry ID
      Returns:
      the matching dl opener file entry reference
      Throws:
      NoSuchFileEntryReferenceException - if a matching dl opener file entry reference could not be found
    • fetchByR_F

      DLOpenerFileEntryReference fetchByR_F(String referenceType, long fileEntryId)
      Returns the dl opener file entry reference where referenceType = ? and fileEntryId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      referenceType - the reference type
      fileEntryId - the file entry ID
      Returns:
      the matching dl opener file entry reference, or null if a matching dl opener file entry reference could not be found
    • fetchByR_F

      DLOpenerFileEntryReference fetchByR_F(String referenceType, long fileEntryId, boolean useFinderCache)
      Returns the dl opener file entry reference where referenceType = ? and fileEntryId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      referenceType - the reference type
      fileEntryId - the file entry ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching dl opener file entry reference, or null if a matching dl opener file entry reference could not be found
    • removeByR_F

      DLOpenerFileEntryReference removeByR_F(String referenceType, long fileEntryId) throws NoSuchFileEntryReferenceException
      Removes the dl opener file entry reference where referenceType = ? and fileEntryId = ? from the database.
      Parameters:
      referenceType - the reference type
      fileEntryId - the file entry ID
      Returns:
      the dl opener file entry reference that was removed
      Throws:
      NoSuchFileEntryReferenceException
    • countByR_F

      int countByR_F(String referenceType, long fileEntryId)
      Returns the number of dl opener file entry references where referenceType = ? and fileEntryId = ?.
      Parameters:
      referenceType - the reference type
      fileEntryId - the file entry ID
      Returns:
      the number of matching dl opener file entry references
    • cacheResult

      void cacheResult(DLOpenerFileEntryReference dlOpenerFileEntryReference)
      Caches the dl opener file entry reference in the entity cache if it is enabled.
      Parameters:
      dlOpenerFileEntryReference - the dl opener file entry reference
    • cacheResult

      void cacheResult(List<DLOpenerFileEntryReference> dlOpenerFileEntryReferences)
      Caches the dl opener file entry references in the entity cache if it is enabled.
      Parameters:
      dlOpenerFileEntryReferences - the dl opener file entry references
    • create

      DLOpenerFileEntryReference create(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.
      Parameters:
      dlOpenerFileEntryReferenceId - the primary key for the new dl opener file entry reference
      Returns:
      the new dl opener file entry reference
    • remove

      DLOpenerFileEntryReference remove(long dlOpenerFileEntryReferenceId) throws NoSuchFileEntryReferenceException
      Removes the dl opener file entry reference with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      dlOpenerFileEntryReferenceId - the primary key of the dl opener file entry reference
      Returns:
      the dl opener file entry reference that was removed
      Throws:
      NoSuchFileEntryReferenceException - if a dl opener file entry reference with the primary key could not be found
    • updateImpl

      DLOpenerFileEntryReference updateImpl(DLOpenerFileEntryReference dlOpenerFileEntryReference)
    • findByPrimaryKey

      DLOpenerFileEntryReference findByPrimaryKey(long dlOpenerFileEntryReferenceId) throws NoSuchFileEntryReferenceException
      Returns the dl opener file entry reference with the primary key or throws a NoSuchFileEntryReferenceException if it could not be found.
      Parameters:
      dlOpenerFileEntryReferenceId - the primary key of the dl opener file entry reference
      Returns:
      the dl opener file entry reference
      Throws:
      NoSuchFileEntryReferenceException - if a dl opener file entry reference with the primary key could not be found
    • fetchByPrimaryKey

      DLOpenerFileEntryReference fetchByPrimaryKey(long dlOpenerFileEntryReferenceId)
      Returns the dl opener file entry reference with the primary key or returns null if it could not be found.
      Parameters:
      dlOpenerFileEntryReferenceId - the primary key of the dl opener file entry reference
      Returns:
      the dl opener file entry reference, or null if a dl opener file entry reference with the primary key could not be found
    • findAll

      Returns all the dl opener file entry references.
      Returns:
      the dl opener file entry references
    • findAll

      List<DLOpenerFileEntryReference> findAll(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 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 DLOpenerFileEntryReferenceModelImpl.

      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
    • findAll

      List<DLOpenerFileEntryReference> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLOpenerFileEntryReference> orderByComparator)
      Returns an ordered 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 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 DLOpenerFileEntryReferenceModelImpl.

      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)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of dl opener file entry references
    • findAll

      List<DLOpenerFileEntryReference> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLOpenerFileEntryReference> orderByComparator, boolean useFinderCache)
      Returns an ordered 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 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 DLOpenerFileEntryReferenceModelImpl.

      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)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of dl opener file entry references
    • removeAll

      void removeAll()
      Removes all the dl opener file entry references from the database.
    • countAll

      int countAll()
      Returns the number of dl opener file entry references.
      Returns:
      the number of dl opener file entry references