@ProviderType public interface MFAFIDO2CredentialEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<MFAFIDO2CredentialEntry>
Caching information and settings can be found in portal.properties
MFAFIDO2CredentialEntryUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(java.util.List<MFAFIDO2CredentialEntry> mfaFIDO2CredentialEntries)
Caches the mfafido2 credential entries in the entity cache if it is enabled.
|
void |
cacheResult(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry)
Caches the mfafido2 credential entry in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of mfafido2 credential entries.
|
int |
countByCredentialKey(java.lang.String credentialKey)
Returns the number of mfafido2 credential entries where credentialKey = ?.
|
int |
countByU_C(long userId,
java.lang.String credentialKey)
Returns the number of mfafido2 credential entries where userId = ? and credentialKey = ?.
|
int |
countByUserId(long userId)
Returns the number of mfafido2 credential entries where userId = ?.
|
MFAFIDO2CredentialEntry |
create(long mfaFIDO2CredentialEntryId)
Creates a new mfafido2 credential entry with the primary key.
|
MFAFIDO2CredentialEntry |
fetchByCredentialKey_First(java.lang.String credentialKey,
com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
Returns the first mfafido2 credential entry in the ordered set where credentialKey = ?.
|
MFAFIDO2CredentialEntry |
fetchByCredentialKey_Last(java.lang.String credentialKey,
com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
Returns the last mfafido2 credential entry in the ordered set where credentialKey = ?.
|
MFAFIDO2CredentialEntry |
fetchByPrimaryKey(long mfaFIDO2CredentialEntryId)
Returns the mfafido2 credential entry with the primary key or returns
null if it could not be found. |
MFAFIDO2CredentialEntry |
fetchByU_C(long userId,
java.lang.String credentialKey)
Returns the mfafido2 credential entry where userId = ? and credentialKey = ? or returns
null if it could not be found. |
MFAFIDO2CredentialEntry |
fetchByU_C(long userId,
java.lang.String credentialKey,
boolean useFinderCache)
Returns the mfafido2 credential entry where userId = ? and credentialKey = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
java.util.List<MFAFIDO2CredentialEntry> |
findAll()
Returns all the mfafido2 credential entries.
|
java.util.List<MFAFIDO2CredentialEntry> |
findAll(int start,
int end)
Returns a range of all the mfafido2 credential entries.
|
java.util.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.
|
java.util.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.
|
MFAFIDO2CredentialEntry |
findByCredentialKey_First(java.lang.String credentialKey,
com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
Returns the first mfafido2 credential entry in the ordered set where credentialKey = ?.
|
MFAFIDO2CredentialEntry |
findByCredentialKey_Last(java.lang.String credentialKey,
com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
Returns the last mfafido2 credential entry in the ordered set where credentialKey = ?.
|
MFAFIDO2CredentialEntry[] |
findByCredentialKey_PrevAndNext(long mfaFIDO2CredentialEntryId,
java.lang.String credentialKey,
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 credentialKey = ?.
|
java.util.List<MFAFIDO2CredentialEntry> |
findByCredentialKey(java.lang.String credentialKey)
Returns all the mfafido2 credential entries where credentialKey = ?.
|
java.util.List<MFAFIDO2CredentialEntry> |
findByCredentialKey(java.lang.String credentialKey,
int start,
int end)
Returns a range of all the mfafido2 credential entries where credentialKey = ?.
|
java.util.List<MFAFIDO2CredentialEntry> |
findByCredentialKey(java.lang.String credentialKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
Returns an ordered range of all the mfafido2 credential entries where credentialKey = ?.
|
java.util.List<MFAFIDO2CredentialEntry> |
findByCredentialKey(java.lang.String credentialKey,
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 credentialKey = ?.
|
MFAFIDO2CredentialEntry |
findByPrimaryKey(long mfaFIDO2CredentialEntryId)
Returns the mfafido2 credential entry with the primary key or throws a
NoSuchMFAFIDO2CredentialEntryException if it could not be found. |
MFAFIDO2CredentialEntry |
findByU_C(long userId,
java.lang.String credentialKey)
Returns the mfafido2 credential entry where userId = ? and credentialKey = ? or throws a
NoSuchMFAFIDO2CredentialEntryException if it could not be found. |
MFAFIDO2CredentialEntry |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
Returns the first mfafido2 credential entry in the ordered set where userId = ?.
|
MFAFIDO2CredentialEntry |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
Returns the last mfafido2 credential entry in the ordered set where userId = ?.
|
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 = ?.
|
java.util.List<MFAFIDO2CredentialEntry> |
findByUserId(long userId)
Returns all the mfafido2 credential entries where userId = ?.
|
java.util.List<MFAFIDO2CredentialEntry> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the mfafido2 credential entries where userId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
MFAFIDO2CredentialEntry |
remove(long mfaFIDO2CredentialEntryId)
Removes the mfafido2 credential entry with the primary key from the database.
|
void |
removeAll()
Removes all the mfafido2 credential entries from the database.
|
void |
removeByCredentialKey(java.lang.String credentialKey)
Removes all the mfafido2 credential entries where credentialKey = ? from the database.
|
MFAFIDO2CredentialEntry |
removeByU_C(long userId,
java.lang.String credentialKey)
Removes the mfafido2 credential entry where userId = ? and credentialKey = ? from the database.
|
void |
removeByUserId(long userId)
Removes all the mfafido2 credential entries where userId = ? from the database.
|
MFAFIDO2CredentialEntry |
updateImpl(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, updatejava.util.List<MFAFIDO2CredentialEntry> findByUserId(long userId)
userId - the user IDjava.util.List<MFAFIDO2CredentialEntry> findByUserId(long userId, int start, int end)
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.
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)java.util.List<MFAFIDO2CredentialEntry> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
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.
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 (optionally null)java.util.List<MFAFIDO2CredentialEntry> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator, boolean useFinderCache)
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.
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 (optionally null)useFinderCache - whether to use the finder cacheMFAFIDO2CredentialEntry findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) throws NoSuchMFAFIDO2CredentialEntryException
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)NoSuchMFAFIDO2CredentialEntryException - if a matching mfafido2 credential entry could not be foundMFAFIDO2CredentialEntry fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)null if a matching mfafido2 credential entry could not be foundMFAFIDO2CredentialEntry findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) throws NoSuchMFAFIDO2CredentialEntryException
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)NoSuchMFAFIDO2CredentialEntryException - if a matching mfafido2 credential entry could not be foundMFAFIDO2CredentialEntry fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)null if a matching mfafido2 credential entry could not be foundMFAFIDO2CredentialEntry[] findByUserId_PrevAndNext(long mfaFIDO2CredentialEntryId, long userId, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) throws NoSuchMFAFIDO2CredentialEntryException
mfaFIDO2CredentialEntryId - the primary key of the current mfafido2 credential entryuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)NoSuchMFAFIDO2CredentialEntryException - if a mfafido2 credential entry with the primary key could not be foundvoid removeByUserId(long userId)
userId - the user IDint countByUserId(long userId)
userId - the user IDjava.util.List<MFAFIDO2CredentialEntry> findByCredentialKey(java.lang.String credentialKey)
credentialKey - the credential keyjava.util.List<MFAFIDO2CredentialEntry> findByCredentialKey(java.lang.String credentialKey, int start, int end)
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.
credentialKey - the credential keystart - the lower bound of the range of mfafido2 credential entriesend - the upper bound of the range of mfafido2 credential entries (not inclusive)java.util.List<MFAFIDO2CredentialEntry> findByCredentialKey(java.lang.String credentialKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
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.
credentialKey - the credential keystart - 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 (optionally null)java.util.List<MFAFIDO2CredentialEntry> findByCredentialKey(java.lang.String credentialKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator, boolean useFinderCache)
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.
credentialKey - the credential keystart - 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 (optionally null)useFinderCache - whether to use the finder cacheMFAFIDO2CredentialEntry findByCredentialKey_First(java.lang.String credentialKey, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) throws NoSuchMFAFIDO2CredentialEntryException
credentialKey - the credential keyorderByComparator - the comparator to order the set by (optionally null)NoSuchMFAFIDO2CredentialEntryException - if a matching mfafido2 credential entry could not be foundMFAFIDO2CredentialEntry fetchByCredentialKey_First(java.lang.String credentialKey, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
credentialKey - the credential keyorderByComparator - the comparator to order the set by (optionally null)null if a matching mfafido2 credential entry could not be foundMFAFIDO2CredentialEntry findByCredentialKey_Last(java.lang.String credentialKey, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) throws NoSuchMFAFIDO2CredentialEntryException
credentialKey - the credential keyorderByComparator - the comparator to order the set by (optionally null)NoSuchMFAFIDO2CredentialEntryException - if a matching mfafido2 credential entry could not be foundMFAFIDO2CredentialEntry fetchByCredentialKey_Last(java.lang.String credentialKey, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
credentialKey - the credential keyorderByComparator - the comparator to order the set by (optionally null)null if a matching mfafido2 credential entry could not be foundMFAFIDO2CredentialEntry[] findByCredentialKey_PrevAndNext(long mfaFIDO2CredentialEntryId, java.lang.String credentialKey, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) throws NoSuchMFAFIDO2CredentialEntryException
mfaFIDO2CredentialEntryId - the primary key of the current mfafido2 credential entrycredentialKey - the credential keyorderByComparator - the comparator to order the set by (optionally null)NoSuchMFAFIDO2CredentialEntryException - if a mfafido2 credential entry with the primary key could not be foundvoid removeByCredentialKey(java.lang.String credentialKey)
credentialKey - the credential keyint countByCredentialKey(java.lang.String credentialKey)
credentialKey - the credential keyMFAFIDO2CredentialEntry findByU_C(long userId, java.lang.String credentialKey) throws NoSuchMFAFIDO2CredentialEntryException
NoSuchMFAFIDO2CredentialEntryException if it could not be found.userId - the user IDcredentialKey - the credential keyNoSuchMFAFIDO2CredentialEntryException - if a matching mfafido2 credential entry could not be foundMFAFIDO2CredentialEntry fetchByU_C(long userId, java.lang.String credentialKey)
null if it could not be found. Uses the finder cache.userId - the user IDcredentialKey - the credential keynull if a matching mfafido2 credential entry could not be foundMFAFIDO2CredentialEntry fetchByU_C(long userId, java.lang.String credentialKey, boolean useFinderCache)
null if it could not be found, optionally using the finder cache.userId - the user IDcredentialKey - the credential keyuseFinderCache - whether to use the finder cachenull if a matching mfafido2 credential entry could not be foundMFAFIDO2CredentialEntry removeByU_C(long userId, java.lang.String credentialKey) throws NoSuchMFAFIDO2CredentialEntryException
userId - the user IDcredentialKey - the credential keyNoSuchMFAFIDO2CredentialEntryExceptionint countByU_C(long userId,
java.lang.String credentialKey)
userId - the user IDcredentialKey - the credential keyvoid cacheResult(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry)
mfaFIDO2CredentialEntry - the mfafido2 credential entryvoid cacheResult(java.util.List<MFAFIDO2CredentialEntry> mfaFIDO2CredentialEntries)
mfaFIDO2CredentialEntries - the mfafido2 credential entriesMFAFIDO2CredentialEntry create(long mfaFIDO2CredentialEntryId)
mfaFIDO2CredentialEntryId - the primary key for the new mfafido2 credential entryMFAFIDO2CredentialEntry remove(long mfaFIDO2CredentialEntryId) throws NoSuchMFAFIDO2CredentialEntryException
mfaFIDO2CredentialEntryId - the primary key of the mfafido2 credential entryNoSuchMFAFIDO2CredentialEntryException - if a mfafido2 credential entry with the primary key could not be foundMFAFIDO2CredentialEntry updateImpl(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry)
MFAFIDO2CredentialEntry findByPrimaryKey(long mfaFIDO2CredentialEntryId) throws NoSuchMFAFIDO2CredentialEntryException
NoSuchMFAFIDO2CredentialEntryException if it could not be found.mfaFIDO2CredentialEntryId - the primary key of the mfafido2 credential entryNoSuchMFAFIDO2CredentialEntryException - if a mfafido2 credential entry with the primary key could not be foundMFAFIDO2CredentialEntry fetchByPrimaryKey(long mfaFIDO2CredentialEntryId)
null if it could not be found.mfaFIDO2CredentialEntryId - the primary key of the mfafido2 credential entrynull if a mfafido2 credential entry with the primary key could not be foundjava.util.List<MFAFIDO2CredentialEntry> findAll()
java.util.List<MFAFIDO2CredentialEntry> findAll(int start, int end)
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.
start - the lower bound of the range of mfafido2 credential entriesend - the upper bound of the range of mfafido2 credential entries (not inclusive)java.util.List<MFAFIDO2CredentialEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
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.
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 (optionally null)java.util.List<MFAFIDO2CredentialEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator, boolean useFinderCache)
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.
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 (optionally null)useFinderCache - whether to use the finder cachevoid removeAll()
int countAll()