Interface MFAFIDO2CredentialEntryPersistence

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

@ProviderType public interface MFAFIDO2CredentialEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<MFAFIDO2CredentialEntry>
The persistence interface for the mfafido2 credential entry service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUserId

      List<MFAFIDO2CredentialEntry> findByUserId(long userId)
      Returns all the mfafido2 credential entries where userId = ?.
      Parameters:
      userId - the user ID
      Returns:
      the matching mfafido2 credential entries
    • findByUserId

      List<MFAFIDO2CredentialEntry> findByUserId(long userId, int start, int end)
      Returns a range of all the mfafido2 credential entries where userId = ?.

      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 MFAFIDO2CredentialEntryModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of mfafido2 credential entries
      end - the upper bound of the range of mfafido2 credential entries (not inclusive)
      Returns:
      the range of matching mfafido2 credential entries
    • findByUserId

      List<MFAFIDO2CredentialEntry> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
      Returns an ordered range of all the mfafido2 credential entries where userId = ?.

      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 MFAFIDO2CredentialEntryModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of mfafido2 credential entries
      end - the upper bound of the range of mfafido2 credential entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching mfafido2 credential entries
    • findByUserId

      List<MFAFIDO2CredentialEntry> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the mfafido2 credential entries where userId = ?.

      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 MFAFIDO2CredentialEntryModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of mfafido2 credential entries
      end - the upper bound of the range of mfafido2 credential entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching mfafido2 credential entries
    • findByUserId_First

      MFAFIDO2CredentialEntry findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) throws NoSuchMFAFIDO2CredentialEntryException
      Returns the first mfafido2 credential entry in the ordered set where userId = ?.
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching mfafido2 credential entry
      Throws:
      NoSuchMFAFIDO2CredentialEntryException - if a matching mfafido2 credential entry could not be found
    • fetchByUserId_First

      MFAFIDO2CredentialEntry fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
      Returns the first mfafido2 credential entry in the ordered set where userId = ?.
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching mfafido2 credential entry, or null if a matching mfafido2 credential entry could not be found
    • findByUserId_Last

      MFAFIDO2CredentialEntry findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) throws NoSuchMFAFIDO2CredentialEntryException
      Returns the last mfafido2 credential entry in the ordered set where userId = ?.
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching mfafido2 credential entry
      Throws:
      NoSuchMFAFIDO2CredentialEntryException - if a matching mfafido2 credential entry could not be found
    • fetchByUserId_Last

      MFAFIDO2CredentialEntry fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
      Returns the last mfafido2 credential entry in the ordered set where userId = ?.
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching mfafido2 credential entry, or null if a matching mfafido2 credential entry could not be found
    • findByUserId_PrevAndNext

      MFAFIDO2CredentialEntry[] findByUserId_PrevAndNext(long mfaFIDO2CredentialEntryId, long userId, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) throws NoSuchMFAFIDO2CredentialEntryException
      Returns the mfafido2 credential entries before and after the current mfafido2 credential entry in the ordered set where userId = ?.
      Parameters:
      mfaFIDO2CredentialEntryId - the primary key of the current mfafido2 credential entry
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next mfafido2 credential entry
      Throws:
      NoSuchMFAFIDO2CredentialEntryException - if a mfafido2 credential entry with the primary key could not be found
    • removeByUserId

      void removeByUserId(long userId)
      Removes all the mfafido2 credential entries where userId = ? from the database.
      Parameters:
      userId - the user ID
    • countByUserId

      int countByUserId(long userId)
      Returns the number of mfafido2 credential entries where userId = ?.
      Parameters:
      userId - the user ID
      Returns:
      the number of matching mfafido2 credential entries
    • findByCredentialKeyHash

      List<MFAFIDO2CredentialEntry> findByCredentialKeyHash(long credentialKeyHash)
      Returns all the mfafido2 credential entries where credentialKeyHash = ?.
      Parameters:
      credentialKeyHash - the credential key hash
      Returns:
      the matching mfafido2 credential entries
    • findByCredentialKeyHash

      List<MFAFIDO2CredentialEntry> findByCredentialKeyHash(long credentialKeyHash, int start, int end)
      Returns a range of all the mfafido2 credential entries where credentialKeyHash = ?.

      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 MFAFIDO2CredentialEntryModelImpl.

      Parameters:
      credentialKeyHash - the credential key hash
      start - the lower bound of the range of mfafido2 credential entries
      end - the upper bound of the range of mfafido2 credential entries (not inclusive)
      Returns:
      the range of matching mfafido2 credential entries
    • findByCredentialKeyHash

      List<MFAFIDO2CredentialEntry> findByCredentialKeyHash(long credentialKeyHash, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
      Returns an ordered range of all the mfafido2 credential entries where credentialKeyHash = ?.

      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 MFAFIDO2CredentialEntryModelImpl.

      Parameters:
      credentialKeyHash - the credential key hash
      start - the lower bound of the range of mfafido2 credential entries
      end - the upper bound of the range of mfafido2 credential entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching mfafido2 credential entries
    • findByCredentialKeyHash

      List<MFAFIDO2CredentialEntry> findByCredentialKeyHash(long credentialKeyHash, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the mfafido2 credential entries where credentialKeyHash = ?.

      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 MFAFIDO2CredentialEntryModelImpl.

      Parameters:
      credentialKeyHash - the credential key hash
      start - the lower bound of the range of mfafido2 credential entries
      end - the upper bound of the range of mfafido2 credential entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching mfafido2 credential entries
    • findByCredentialKeyHash_First

      MFAFIDO2CredentialEntry findByCredentialKeyHash_First(long credentialKeyHash, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) throws NoSuchMFAFIDO2CredentialEntryException
      Returns the first mfafido2 credential entry in the ordered set where credentialKeyHash = ?.
      Parameters:
      credentialKeyHash - the credential key hash
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching mfafido2 credential entry
      Throws:
      NoSuchMFAFIDO2CredentialEntryException - if a matching mfafido2 credential entry could not be found
    • fetchByCredentialKeyHash_First

      MFAFIDO2CredentialEntry fetchByCredentialKeyHash_First(long credentialKeyHash, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
      Returns the first mfafido2 credential entry in the ordered set where credentialKeyHash = ?.
      Parameters:
      credentialKeyHash - the credential key hash
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching mfafido2 credential entry, or null if a matching mfafido2 credential entry could not be found
    • findByCredentialKeyHash_Last

      MFAFIDO2CredentialEntry findByCredentialKeyHash_Last(long credentialKeyHash, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) throws NoSuchMFAFIDO2CredentialEntryException
      Returns the last mfafido2 credential entry in the ordered set where credentialKeyHash = ?.
      Parameters:
      credentialKeyHash - the credential key hash
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching mfafido2 credential entry
      Throws:
      NoSuchMFAFIDO2CredentialEntryException - if a matching mfafido2 credential entry could not be found
    • fetchByCredentialKeyHash_Last

      MFAFIDO2CredentialEntry fetchByCredentialKeyHash_Last(long credentialKeyHash, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
      Returns the last mfafido2 credential entry in the ordered set where credentialKeyHash = ?.
      Parameters:
      credentialKeyHash - the credential key hash
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching mfafido2 credential entry, or null if a matching mfafido2 credential entry could not be found
    • findByCredentialKeyHash_PrevAndNext

      MFAFIDO2CredentialEntry[] findByCredentialKeyHash_PrevAndNext(long mfaFIDO2CredentialEntryId, long credentialKeyHash, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) throws NoSuchMFAFIDO2CredentialEntryException
      Returns the mfafido2 credential entries before and after the current mfafido2 credential entry in the ordered set where credentialKeyHash = ?.
      Parameters:
      mfaFIDO2CredentialEntryId - the primary key of the current mfafido2 credential entry
      credentialKeyHash - the credential key hash
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next mfafido2 credential entry
      Throws:
      NoSuchMFAFIDO2CredentialEntryException - if a mfafido2 credential entry with the primary key could not be found
    • removeByCredentialKeyHash

      void removeByCredentialKeyHash(long credentialKeyHash)
      Removes all the mfafido2 credential entries where credentialKeyHash = ? from the database.
      Parameters:
      credentialKeyHash - the credential key hash
    • countByCredentialKeyHash

      int countByCredentialKeyHash(long credentialKeyHash)
      Returns the number of mfafido2 credential entries where credentialKeyHash = ?.
      Parameters:
      credentialKeyHash - the credential key hash
      Returns:
      the number of matching mfafido2 credential entries
    • findByU_C

      MFAFIDO2CredentialEntry findByU_C(long userId, long credentialKeyHash) throws NoSuchMFAFIDO2CredentialEntryException
      Returns the mfafido2 credential entry where userId = ? and credentialKeyHash = ? or throws a NoSuchMFAFIDO2CredentialEntryException if it could not be found.
      Parameters:
      userId - the user ID
      credentialKeyHash - the credential key hash
      Returns:
      the matching mfafido2 credential entry
      Throws:
      NoSuchMFAFIDO2CredentialEntryException - if a matching mfafido2 credential entry could not be found
    • fetchByU_C

      MFAFIDO2CredentialEntry fetchByU_C(long userId, long credentialKeyHash)
      Returns the mfafido2 credential entry where userId = ? and credentialKeyHash = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      userId - the user ID
      credentialKeyHash - the credential key hash
      Returns:
      the matching mfafido2 credential entry, or null if a matching mfafido2 credential entry could not be found
    • fetchByU_C

      MFAFIDO2CredentialEntry fetchByU_C(long userId, long credentialKeyHash, boolean useFinderCache)
      Returns the mfafido2 credential entry where userId = ? and credentialKeyHash = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      userId - the user ID
      credentialKeyHash - the credential key hash
      useFinderCache - whether to use the finder cache
      Returns:
      the matching mfafido2 credential entry, or null if a matching mfafido2 credential entry could not be found
    • removeByU_C

      MFAFIDO2CredentialEntry removeByU_C(long userId, long credentialKeyHash) throws NoSuchMFAFIDO2CredentialEntryException
      Removes the mfafido2 credential entry where userId = ? and credentialKeyHash = ? from the database.
      Parameters:
      userId - the user ID
      credentialKeyHash - the credential key hash
      Returns:
      the mfafido2 credential entry that was removed
      Throws:
      NoSuchMFAFIDO2CredentialEntryException
    • countByU_C

      int countByU_C(long userId, long credentialKeyHash)
      Returns the number of mfafido2 credential entries where userId = ? and credentialKeyHash = ?.
      Parameters:
      userId - the user ID
      credentialKeyHash - the credential key hash
      Returns:
      the number of matching mfafido2 credential entries
    • cacheResult

      void cacheResult(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry)
      Caches the mfafido2 credential entry in the entity cache if it is enabled.
      Parameters:
      mfaFIDO2CredentialEntry - the mfafido2 credential entry
    • cacheResult

      void cacheResult(List<MFAFIDO2CredentialEntry> mfaFIDO2CredentialEntries)
      Caches the mfafido2 credential entries in the entity cache if it is enabled.
      Parameters:
      mfaFIDO2CredentialEntries - the mfafido2 credential entries
    • create

      MFAFIDO2CredentialEntry create(long mfaFIDO2CredentialEntryId)
      Creates a new mfafido2 credential entry with the primary key. Does not add the mfafido2 credential entry to the database.
      Parameters:
      mfaFIDO2CredentialEntryId - the primary key for the new mfafido2 credential entry
      Returns:
      the new mfafido2 credential entry
    • remove

      MFAFIDO2CredentialEntry remove(long mfaFIDO2CredentialEntryId) throws NoSuchMFAFIDO2CredentialEntryException
      Removes the mfafido2 credential entry with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      mfaFIDO2CredentialEntryId - the primary key of the mfafido2 credential entry
      Returns:
      the mfafido2 credential entry that was removed
      Throws:
      NoSuchMFAFIDO2CredentialEntryException - if a mfafido2 credential entry with the primary key could not be found
    • updateImpl

      MFAFIDO2CredentialEntry updateImpl(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry)
    • findByPrimaryKey

      MFAFIDO2CredentialEntry findByPrimaryKey(long mfaFIDO2CredentialEntryId) throws NoSuchMFAFIDO2CredentialEntryException
      Returns the mfafido2 credential entry with the primary key or throws a NoSuchMFAFIDO2CredentialEntryException if it could not be found.
      Parameters:
      mfaFIDO2CredentialEntryId - the primary key of the mfafido2 credential entry
      Returns:
      the mfafido2 credential entry
      Throws:
      NoSuchMFAFIDO2CredentialEntryException - if a mfafido2 credential entry with the primary key could not be found
    • fetchByPrimaryKey

      MFAFIDO2CredentialEntry fetchByPrimaryKey(long mfaFIDO2CredentialEntryId)
      Returns the mfafido2 credential entry with the primary key or returns null if it could not be found.
      Parameters:
      mfaFIDO2CredentialEntryId - the primary key of the mfafido2 credential entry
      Returns:
      the mfafido2 credential entry, or null if a mfafido2 credential entry with the primary key could not be found
    • findAll

      Returns all the mfafido2 credential entries.
      Returns:
      the mfafido2 credential entries
    • findAll

      List<MFAFIDO2CredentialEntry> findAll(int start, int end)
      Returns a range of all the mfafido2 credential 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 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 MFAFIDO2CredentialEntryModelImpl.

      Parameters:
      start - the lower bound of the range of mfafido2 credential entries
      end - the upper bound of the range of mfafido2 credential entries (not inclusive)
      Returns:
      the range of mfafido2 credential entries
    • findAll

      List<MFAFIDO2CredentialEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
      Returns an ordered range of all the mfafido2 credential 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 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 MFAFIDO2CredentialEntryModelImpl.

      Parameters:
      start - the lower bound of the range of mfafido2 credential entries
      end - the upper bound of the range of mfafido2 credential entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of mfafido2 credential entries
    • findAll

      List<MFAFIDO2CredentialEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the mfafido2 credential 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 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 MFAFIDO2CredentialEntryModelImpl.

      Parameters:
      start - the lower bound of the range of mfafido2 credential entries
      end - the upper bound of the range of mfafido2 credential entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of mfafido2 credential entries
    • removeAll

      void removeAll()
      Removes all the mfafido2 credential entries from the database.
    • countAll

      int countAll()
      Returns the number of mfafido2 credential entries.
      Returns:
      the number of mfafido2 credential entries