@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 |
countByCredentialKeyHash(long credentialKeyHash)
Returns the number of mfafido2 credential entries where credentialKeyHash = ?.
|
int |
countByU_C(long userId,
long credentialKeyHash)
Returns the number of mfafido2 credential entries where userId = ? and credentialKeyHash = ?.
|
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 |
fetchByCredentialKeyHash_First(long credentialKeyHash,
com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
Returns the first mfafido2 credential entry in the ordered set where credentialKeyHash = ?.
|
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 = ?.
|
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,
long credentialKeyHash)
Returns the mfafido2 credential entry where userId = ? and credentialKeyHash = ? or returns
null if it could not be found. |
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. |
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 |
findByCredentialKeyHash_First(long credentialKeyHash,
com.liferay.portal.kernel.util.OrderByComparator<MFAFIDO2CredentialEntry> orderByComparator)
Returns the first mfafido2 credential entry in the ordered set where credentialKeyHash = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<MFAFIDO2CredentialEntry> |
findByCredentialKeyHash(long credentialKeyHash)
Returns all the mfafido2 credential entries where credentialKeyHash = ?.
|
java.util.List<MFAFIDO2CredentialEntry> |
findByCredentialKeyHash(long credentialKeyHash,
int start,
int end)
Returns a range of all the mfafido2 credential entries where credentialKeyHash = ?.
|
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 = ?.
|
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 = ?.
|
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,
long credentialKeyHash)
Returns the mfafido2 credential entry where userId = ? and credentialKeyHash = ? 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 |
removeByCredentialKeyHash(long credentialKeyHash)
Removes all the mfafido2 credential entries where credentialKeyHash = ? from the database.
|
MFAFIDO2CredentialEntry |
removeByU_C(long userId,
long credentialKeyHash)
Removes the mfafido2 credential entry where userId = ? and credentialKeyHash = ? 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, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.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> findByCredentialKeyHash(long credentialKeyHash)
credentialKeyHash
- the credential key hashjava.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)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
)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 cacheMFAFIDO2CredentialEntry 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 foundMFAFIDO2CredentialEntry 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 foundMFAFIDO2CredentialEntry 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 foundMFAFIDO2CredentialEntry 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 foundMFAFIDO2CredentialEntry[] 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 foundvoid removeByCredentialKeyHash(long credentialKeyHash)
credentialKeyHash
- the credential key hashint countByCredentialKeyHash(long credentialKeyHash)
credentialKeyHash
- the credential key hashMFAFIDO2CredentialEntry 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 foundMFAFIDO2CredentialEntry 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 foundMFAFIDO2CredentialEntry 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 foundMFAFIDO2CredentialEntry removeByU_C(long userId, long credentialKeyHash) throws NoSuchMFAFIDO2CredentialEntryException
userId
- the user IDcredentialKeyHash
- the credential key hashNoSuchMFAFIDO2CredentialEntryException
int countByU_C(long userId, long credentialKeyHash)
userId
- the user IDcredentialKeyHash
- the credential key hashvoid 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()