public class MFAFIDO2CredentialEntryUtil
extends java.lang.Object
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
MFAFIDO2CredentialEntryPersistence
Constructor and Description |
---|
MFAFIDO2CredentialEntryUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<MFAFIDO2CredentialEntry> mfaFIDO2CredentialEntries)
Caches the mfafido2 credential entries in the entity cache if it is enabled.
|
static void |
cacheResult(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry)
Caches the mfafido2 credential entry in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry) |
static int |
countAll()
Returns the number of mfafido2 credential entries.
|
static int |
countByCredentialKeyHash(long credentialKeyHash)
Returns the number of mfafido2 credential entries where credentialKeyHash = ?.
|
static int |
countByU_C(long userId,
long credentialKeyHash)
Returns the number of mfafido2 credential entries where userId = ? and credentialKeyHash = ?.
|
static int |
countByUserId(long userId)
Returns the number of mfafido2 credential entries where userId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static MFAFIDO2CredentialEntry |
create(long mfaFIDO2CredentialEntryId)
Creates a new mfafido2 credential entry with the primary key.
|
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 = ?.
|
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 = ?.
|
static MFAFIDO2CredentialEntry |
fetchByPrimaryKey(long mfaFIDO2CredentialEntryId)
Returns the mfafido2 credential entry with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,MFAFIDO2CredentialEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static 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. |
static 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. |
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 = ?.
|
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 = ?.
|
static java.util.List<MFAFIDO2CredentialEntry> |
findAll()
Returns all the mfafido2 credential entries.
|
static java.util.List<MFAFIDO2CredentialEntry> |
findAll(int start,
int end)
Returns a range of all the mfafido2 credential entries.
|
static 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.
|
static 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.
|
static MFAFIDO2CredentialEntry |
findByCredentialKeyHash_First(long credentialKeyHash,
com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
Returns the first mfafido2 credential entry in the ordered set where credentialKeyHash = ?.
|
static MFAFIDO2CredentialEntry |
findByCredentialKeyHash_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 java.util.List<MFAFIDO2CredentialEntry> |
findByCredentialKeyHash(long credentialKeyHash)
Returns all the mfafido2 credential entries where credentialKeyHash = ?.
|
static java.util.List<MFAFIDO2CredentialEntry> |
findByCredentialKeyHash(long credentialKeyHash,
int start,
int end)
Returns a range of all the mfafido2 credential entries where credentialKeyHash = ?.
|
static java.util.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 java.util.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 MFAFIDO2CredentialEntry |
findByPrimaryKey(long mfaFIDO2CredentialEntryId)
Returns the mfafido2 credential entry with the primary key or throws a
NoSuchMFAFIDO2CredentialEntryException if it could not be found. |
static MFAFIDO2CredentialEntry |
findByU_C(long userId,
long credentialKeyHash)
Returns the mfafido2 credential entry where userId = ? and credentialKeyHash = ? or throws a
NoSuchMFAFIDO2CredentialEntryException if it could not be found. |
static 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 = ?.
|
static 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 = ?.
|
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 java.util.List<MFAFIDO2CredentialEntry> |
findByUserId(long userId)
Returns all the mfafido2 credential entries where userId = ?.
|
static java.util.List<MFAFIDO2CredentialEntry> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the mfafido2 credential entries where userId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<MFAFIDO2CredentialEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<MFAFIDO2CredentialEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<MFAFIDO2CredentialEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) |
static MFAFIDO2CredentialEntryPersistence |
getPersistence() |
static MFAFIDO2CredentialEntry |
remove(long mfaFIDO2CredentialEntryId)
Removes the mfafido2 credential entry with the primary key from the database.
|
static void |
removeAll()
Removes all the mfafido2 credential entries from the database.
|
static void |
removeByCredentialKeyHash(long credentialKeyHash)
Removes all the mfafido2 credential entries where credentialKeyHash = ? from the database.
|
static MFAFIDO2CredentialEntry |
removeByU_C(long userId,
long credentialKeyHash)
Removes the mfafido2 credential entry where userId = ? and credentialKeyHash = ? from the database.
|
static void |
removeByUserId(long userId)
Removes all the mfafido2 credential entries where userId = ? from the database.
|
static MFAFIDO2CredentialEntry |
update(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry) |
static MFAFIDO2CredentialEntry |
update(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static MFAFIDO2CredentialEntry |
updateImpl(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,MFAFIDO2CredentialEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<MFAFIDO2CredentialEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<MFAFIDO2CredentialEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<MFAFIDO2CredentialEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static MFAFIDO2CredentialEntry update(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static MFAFIDO2CredentialEntry update(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<MFAFIDO2CredentialEntry> findByUserId(long userId)
userId
- the user IDpublic static java.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)public static 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
)public static 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 cachepublic static MFAFIDO2CredentialEntry 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 foundpublic static MFAFIDO2CredentialEntry 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 foundpublic static MFAFIDO2CredentialEntry 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 foundpublic static MFAFIDO2CredentialEntry 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 foundpublic static MFAFIDO2CredentialEntry[] 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 foundpublic static void removeByUserId(long userId)
userId
- the user IDpublic static int countByUserId(long userId)
userId
- the user IDpublic static java.util.List<MFAFIDO2CredentialEntry> findByCredentialKeyHash(long credentialKeyHash)
credentialKeyHash
- the credential key hashpublic static java.util.List<MFAFIDO2CredentialEntry> findByCredentialKeyHash(long credentialKeyHash, 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
.
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)public static java.util.List<MFAFIDO2CredentialEntry> findByCredentialKeyHash(long credentialKeyHash, 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
.
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 (optionally null
)public static java.util.List<MFAFIDO2CredentialEntry> findByCredentialKeyHash(long credentialKeyHash, 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
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static MFAFIDO2CredentialEntry findByCredentialKeyHash_First(long credentialKeyHash, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) throws NoSuchMFAFIDO2CredentialEntryException
credentialKeyHash
- the credential key hashorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMFAFIDO2CredentialEntryException
- if a matching mfafido2 credential entry could not be foundpublic static MFAFIDO2CredentialEntry fetchByCredentialKeyHash_First(long credentialKeyHash, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
credentialKeyHash
- the credential key hashorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching mfafido2 credential entry could not be foundpublic static MFAFIDO2CredentialEntry findByCredentialKeyHash_Last(long credentialKeyHash, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) throws NoSuchMFAFIDO2CredentialEntryException
credentialKeyHash
- the credential key hashorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMFAFIDO2CredentialEntryException
- if a matching mfafido2 credential entry could not be foundpublic static MFAFIDO2CredentialEntry fetchByCredentialKeyHash_Last(long credentialKeyHash, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
credentialKeyHash
- the credential key hashorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching mfafido2 credential entry could not be foundpublic static MFAFIDO2CredentialEntry[] findByCredentialKeyHash_PrevAndNext(long mfaFIDO2CredentialEntryId, long credentialKeyHash, com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator) throws NoSuchMFAFIDO2CredentialEntryException
mfaFIDO2CredentialEntryId
- the primary key of the current mfafido2 credential entrycredentialKeyHash
- the credential key hashorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMFAFIDO2CredentialEntryException
- if a mfafido2 credential entry with the primary key could not be foundpublic static void removeByCredentialKeyHash(long credentialKeyHash)
credentialKeyHash
- the credential key hashpublic static int countByCredentialKeyHash(long credentialKeyHash)
credentialKeyHash
- the credential key hashpublic static MFAFIDO2CredentialEntry findByU_C(long userId, long credentialKeyHash) throws NoSuchMFAFIDO2CredentialEntryException
NoSuchMFAFIDO2CredentialEntryException
if it could not be found.userId
- the user IDcredentialKeyHash
- the credential key hashNoSuchMFAFIDO2CredentialEntryException
- if a matching mfafido2 credential entry could not be foundpublic static MFAFIDO2CredentialEntry fetchByU_C(long userId, long credentialKeyHash)
null
if it could not be found. Uses the finder cache.userId
- the user IDcredentialKeyHash
- the credential key hashnull
if a matching mfafido2 credential entry could not be foundpublic static MFAFIDO2CredentialEntry fetchByU_C(long userId, long credentialKeyHash, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.userId
- the user IDcredentialKeyHash
- the credential key hashuseFinderCache
- whether to use the finder cachenull
if a matching mfafido2 credential entry could not be foundpublic static MFAFIDO2CredentialEntry removeByU_C(long userId, long credentialKeyHash) throws NoSuchMFAFIDO2CredentialEntryException
userId
- the user IDcredentialKeyHash
- the credential key hashNoSuchMFAFIDO2CredentialEntryException
public static int countByU_C(long userId, long credentialKeyHash)
userId
- the user IDcredentialKeyHash
- the credential key hashpublic static void cacheResult(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry)
mfaFIDO2CredentialEntry
- the mfafido2 credential entrypublic static void cacheResult(java.util.List<MFAFIDO2CredentialEntry> mfaFIDO2CredentialEntries)
mfaFIDO2CredentialEntries
- the mfafido2 credential entriespublic static MFAFIDO2CredentialEntry create(long mfaFIDO2CredentialEntryId)
mfaFIDO2CredentialEntryId
- the primary key for the new mfafido2 credential entrypublic static MFAFIDO2CredentialEntry 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 foundpublic static MFAFIDO2CredentialEntry updateImpl(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry)
public static 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 foundpublic static MFAFIDO2CredentialEntry 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 foundpublic static java.util.List<MFAFIDO2CredentialEntry> findAll()
public static 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)public static 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
)public static 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 cachepublic static void removeAll()
public static int countAll()
public static MFAFIDO2CredentialEntryPersistence getPersistence()