Class MFAFIDO2CredentialEntryUtil
com.liferay.multi.factor.authentication.fido2.credential.service.persistence.impl.MFAFIDO2CredentialEntryPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry) Caches the mfafido2 credential entry in the entity cache if it is enabled.static voidcacheResult(List<MFAFIDO2CredentialEntry> mfaFIDO2CredentialEntries) Caches the mfafido2 credential entries in the entity cache if it is enabled.static voidstatic voidclearCache(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry) static intcountAll()Returns the number of mfafido2 credential entries.static intcountByCredentialKeyHash(long credentialKeyHash) Returns the number of mfafido2 credential entries where credentialKeyHash = ?.static intcountByU_C(long userId, long credentialKeyHash) Returns the number of mfafido2 credential entries where userId = ? and credentialKeyHash = ?.static intcountByUserId(long userId) Returns the number of mfafido2 credential entries where userId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static MFAFIDO2CredentialEntrycreate(long mfaFIDO2CredentialEntryId) Creates a new mfafido2 credential entry with the primary key.static MFAFIDO2CredentialEntryfetchByCredentialKeyHash_First(long credentialKeyHash, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) Returns the first mfafido2 credential entry in the ordered set where credentialKeyHash = ?.static MFAFIDO2CredentialEntryfetchByCredentialKeyHash_Last(long credentialKeyHash, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) Returns the last mfafido2 credential entry in the ordered set where credentialKeyHash = ?.static MFAFIDO2CredentialEntryfetchByPrimaryKey(long mfaFIDO2CredentialEntryId) Returns the mfafido2 credential entry with the primary key or returnsnullif it could not be found.static Map<Serializable,MFAFIDO2CredentialEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static MFAFIDO2CredentialEntryfetchByU_C(long userId, long credentialKeyHash) Returns the mfafido2 credential entry where userId = ? and credentialKeyHash = ? or returnsnullif it could not be found.static MFAFIDO2CredentialEntryfetchByU_C(long userId, long credentialKeyHash, boolean useFinderCache) Returns the mfafido2 credential entry where userId = ? and credentialKeyHash = ? or returnsnullif it could not be found, optionally using the finder cache.static MFAFIDO2CredentialEntryfetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) Returns the first mfafido2 credential entry in the ordered set where userId = ?.static MFAFIDO2CredentialEntryfetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) Returns the last mfafido2 credential entry in the ordered set where userId = ?.static List<MFAFIDO2CredentialEntry>findAll()Returns all the mfafido2 credential entries.static List<MFAFIDO2CredentialEntry>findAll(int start, int end) Returns a range of all the mfafido2 credential entries.static 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.static 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.static List<MFAFIDO2CredentialEntry>findByCredentialKeyHash(long credentialKeyHash) Returns all the mfafido2 credential entries where credentialKeyHash = ?.static List<MFAFIDO2CredentialEntry>findByCredentialKeyHash(long credentialKeyHash, int start, int end) Returns a range of all the mfafido2 credential entries where credentialKeyHash = ?.static 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 = ?.static 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 = ?.static MFAFIDO2CredentialEntryfindByCredentialKeyHash_First(long credentialKeyHash, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) Returns the first mfafido2 credential entry in the ordered set where credentialKeyHash = ?.static MFAFIDO2CredentialEntryfindByCredentialKeyHash_Last(long credentialKeyHash, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) Returns the last mfafido2 credential entry in the ordered set where credentialKeyHash = ?.static MFAFIDO2CredentialEntry[]findByCredentialKeyHash_PrevAndNext(long mfaFIDO2CredentialEntryId, long credentialKeyHash, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) Returns the mfafido2 credential entries before and after the current mfafido2 credential entry in the ordered set where credentialKeyHash = ?.static MFAFIDO2CredentialEntryfindByPrimaryKey(long mfaFIDO2CredentialEntryId) Returns the mfafido2 credential entry with the primary key or throws aNoSuchMFAFIDO2CredentialEntryExceptionif it could not be found.static MFAFIDO2CredentialEntryfindByU_C(long userId, long credentialKeyHash) Returns the mfafido2 credential entry where userId = ? and credentialKeyHash = ? or throws aNoSuchMFAFIDO2CredentialEntryExceptionif it could not be found.static List<MFAFIDO2CredentialEntry>findByUserId(long userId) Returns all the mfafido2 credential entries where userId = ?.static List<MFAFIDO2CredentialEntry>findByUserId(long userId, int start, int end) Returns a range of all the mfafido2 credential entries where userId = ?.static 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 = ?.static 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 = ?.static MFAFIDO2CredentialEntryfindByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) Returns the first mfafido2 credential entry in the ordered set where userId = ?.static MFAFIDO2CredentialEntryfindByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) Returns the last mfafido2 credential entry in the ordered set where userId = ?.static MFAFIDO2CredentialEntry[]findByUserId_PrevAndNext(long mfaFIDO2CredentialEntryId, long userId, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) Returns the mfafido2 credential entries before and after the current mfafido2 credential entry in the ordered set where userId = ?.static List<MFAFIDO2CredentialEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<MFAFIDO2CredentialEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<MFAFIDO2CredentialEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) static MFAFIDO2CredentialEntryremove(long mfaFIDO2CredentialEntryId) Removes the mfafido2 credential entry with the primary key from the database.static voidRemoves all the mfafido2 credential entries from the database.static voidremoveByCredentialKeyHash(long credentialKeyHash) Removes all the mfafido2 credential entries where credentialKeyHash = ? from the database.static MFAFIDO2CredentialEntryremoveByU_C(long userId, long credentialKeyHash) Removes the mfafido2 credential entry where userId = ? and credentialKeyHash = ? from the database.static voidremoveByUserId(long userId) Removes all the mfafido2 credential entries where userId = ? from the database.static voidsetPersistence(MFAFIDO2CredentialEntryPersistence persistence) static MFAFIDO2CredentialEntryupdate(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry) static MFAFIDO2CredentialEntryupdate(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static MFAFIDO2CredentialEntryupdateImpl(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry)
-
Constructor Details
-
MFAFIDO2CredentialEntryUtil
public MFAFIDO2CredentialEntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,MFAFIDO2CredentialEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<MFAFIDO2CredentialEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<MFAFIDO2CredentialEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<MFAFIDO2CredentialEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static MFAFIDO2CredentialEntry update(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUserId
Returns all the mfafido2 credential entries where userId = ?.- Parameters:
userId- the user ID- Returns:
- the matching mfafido2 credential entries
-
findByUserId
Returns a range of all the mfafido2 credential entries where userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromMFAFIDO2CredentialEntryModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of mfafido2 credential entriesend- the upper bound of the range of mfafido2 credential entries (not inclusive)- Returns:
- the range of matching mfafido2 credential entries
-
findByUserId
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromMFAFIDO2CredentialEntryModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of mfafido2 credential entriesend- the upper bound of the range of mfafido2 credential entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching mfafido2 credential entries
-
findByUserId
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromMFAFIDO2CredentialEntryModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of mfafido2 credential entriesend- the upper bound of the range of mfafido2 credential entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching mfafido2 credential entries
-
findByUserId_First
public static 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching mfafido2 credential entry
- Throws:
NoSuchMFAFIDO2CredentialEntryException- if a matching mfafido2 credential entry could not be foundNoSuchMFAFIDO2CredentialEntryException
-
fetchByUserId_First
public static 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching mfafido2 credential entry, or
nullif a matching mfafido2 credential entry could not be found
-
findByUserId_Last
public static 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching mfafido2 credential entry
- Throws:
NoSuchMFAFIDO2CredentialEntryException- if a matching mfafido2 credential entry could not be foundNoSuchMFAFIDO2CredentialEntryException
-
fetchByUserId_Last
public static 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching mfafido2 credential entry, or
nullif a matching mfafido2 credential entry could not be found
-
findByUserId_PrevAndNext
public static 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 entryuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next mfafido2 credential entry
- Throws:
NoSuchMFAFIDO2CredentialEntryException- if a mfafido2 credential entry with the primary key could not be foundNoSuchMFAFIDO2CredentialEntryException
-
removeByUserId
public static void removeByUserId(long userId) Removes all the mfafido2 credential entries where userId = ? from the database.- Parameters:
userId- the user ID
-
countByUserId
public static 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
Returns all the mfafido2 credential entries where credentialKeyHash = ?.- Parameters:
credentialKeyHash- the credential key hash- Returns:
- the matching mfafido2 credential entries
-
findByCredentialKeyHash
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromMFAFIDO2CredentialEntryModelImpl.- Parameters:
credentialKeyHash- the credential key hashstart- the lower bound of the range of mfafido2 credential entriesend- the upper bound of the range of mfafido2 credential entries (not inclusive)- Returns:
- the range of matching mfafido2 credential entries
-
findByCredentialKeyHash
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromMFAFIDO2CredentialEntryModelImpl.- Parameters:
credentialKeyHash- the credential key hashstart- the lower bound of the range of mfafido2 credential entriesend- the upper bound of the range of mfafido2 credential entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching mfafido2 credential entries
-
findByCredentialKeyHash
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromMFAFIDO2CredentialEntryModelImpl.- Parameters:
credentialKeyHash- the credential key hashstart- the lower bound of the range of mfafido2 credential entriesend- the upper bound of the range of mfafido2 credential entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching mfafido2 credential entries
-
findByCredentialKeyHash_First
public static 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 hashorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching mfafido2 credential entry
- Throws:
NoSuchMFAFIDO2CredentialEntryException- if a matching mfafido2 credential entry could not be foundNoSuchMFAFIDO2CredentialEntryException
-
fetchByCredentialKeyHash_First
public static 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 hashorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching mfafido2 credential entry, or
nullif a matching mfafido2 credential entry could not be found
-
findByCredentialKeyHash_Last
public static 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 hashorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching mfafido2 credential entry
- Throws:
NoSuchMFAFIDO2CredentialEntryException- if a matching mfafido2 credential entry could not be foundNoSuchMFAFIDO2CredentialEntryException
-
fetchByCredentialKeyHash_Last
public static 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 hashorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching mfafido2 credential entry, or
nullif a matching mfafido2 credential entry could not be found
-
findByCredentialKeyHash_PrevAndNext
public static 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 entrycredentialKeyHash- the credential key hashorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next mfafido2 credential entry
- Throws:
NoSuchMFAFIDO2CredentialEntryException- if a mfafido2 credential entry with the primary key could not be foundNoSuchMFAFIDO2CredentialEntryException
-
removeByCredentialKeyHash
public static void removeByCredentialKeyHash(long credentialKeyHash) Removes all the mfafido2 credential entries where credentialKeyHash = ? from the database.- Parameters:
credentialKeyHash- the credential key hash
-
countByCredentialKeyHash
public static 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
public static MFAFIDO2CredentialEntry findByU_C(long userId, long credentialKeyHash) throws NoSuchMFAFIDO2CredentialEntryException Returns the mfafido2 credential entry where userId = ? and credentialKeyHash = ? or throws aNoSuchMFAFIDO2CredentialEntryExceptionif it could not be found.- Parameters:
userId- the user IDcredentialKeyHash- the credential key hash- Returns:
- the matching mfafido2 credential entry
- Throws:
NoSuchMFAFIDO2CredentialEntryException- if a matching mfafido2 credential entry could not be foundNoSuchMFAFIDO2CredentialEntryException
-
fetchByU_C
Returns the mfafido2 credential entry where userId = ? and credentialKeyHash = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
userId- the user IDcredentialKeyHash- the credential key hash- Returns:
- the matching mfafido2 credential entry, or
nullif a matching mfafido2 credential entry could not be found
-
fetchByU_C
public static MFAFIDO2CredentialEntry fetchByU_C(long userId, long credentialKeyHash, boolean useFinderCache) Returns the mfafido2 credential entry where userId = ? and credentialKeyHash = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
userId- the user IDcredentialKeyHash- the credential key hashuseFinderCache- whether to use the finder cache- Returns:
- the matching mfafido2 credential entry, or
nullif a matching mfafido2 credential entry could not be found
-
removeByU_C
public static 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 IDcredentialKeyHash- the credential key hash- Returns:
- the mfafido2 credential entry that was removed
- Throws:
NoSuchMFAFIDO2CredentialEntryException
-
countByU_C
public static int countByU_C(long userId, long credentialKeyHash) Returns the number of mfafido2 credential entries where userId = ? and credentialKeyHash = ?.- Parameters:
userId- the user IDcredentialKeyHash- the credential key hash- Returns:
- the number of matching mfafido2 credential entries
-
cacheResult
Caches the mfafido2 credential entry in the entity cache if it is enabled.- Parameters:
mfaFIDO2CredentialEntry- the mfafido2 credential entry
-
cacheResult
Caches the mfafido2 credential entries in the entity cache if it is enabled.- Parameters:
mfaFIDO2CredentialEntries- the mfafido2 credential entries
-
create
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
public static 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 foundNoSuchMFAFIDO2CredentialEntryException
-
updateImpl
-
findByPrimaryKey
public static MFAFIDO2CredentialEntry findByPrimaryKey(long mfaFIDO2CredentialEntryId) throws NoSuchMFAFIDO2CredentialEntryException Returns the mfafido2 credential entry with the primary key or throws aNoSuchMFAFIDO2CredentialEntryExceptionif 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 foundNoSuchMFAFIDO2CredentialEntryException
-
fetchByPrimaryKey
Returns the mfafido2 credential entry with the primary key or returnsnullif it could not be found.- Parameters:
mfaFIDO2CredentialEntryId- the primary key of the mfafido2 credential entry- Returns:
- the mfafido2 credential entry, or
nullif 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
Returns a range of all the mfafido2 credential entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromMFAFIDO2CredentialEntryModelImpl.- Parameters:
start- the lower bound of the range of mfafido2 credential entriesend- the upper bound of the range of mfafido2 credential entries (not inclusive)- Returns:
- the range of mfafido2 credential entries
-
findAll
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromMFAFIDO2CredentialEntryModelImpl.- Parameters:
start- the lower bound of the range of mfafido2 credential entriesend- the upper bound of the range of mfafido2 credential entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of mfafido2 credential entries
-
findAll
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromMFAFIDO2CredentialEntryModelImpl.- Parameters:
start- the lower bound of the range of mfafido2 credential entriesend- the upper bound of the range of mfafido2 credential entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of mfafido2 credential entries
-
removeAll
public static void removeAll()Removes all the mfafido2 credential entries from the database. -
countAll
public static int countAll()Returns the number of mfafido2 credential entries.- Returns:
- the number of mfafido2 credential entries
-
getPersistence
-
setPersistence
-