Find all Credential object for the given customer.
Syntax
List< Credential >
findByCustomerId
(
final long
customerId
,
Integer
credentialType
,
boolean
onlyActive
,
int
count
,
Boolean
oldestFirst
)
Parameters
-
customerId –
the customer id
-
credentialType –
the credential type filter
-
count –
the number of credentials to be retrieved
-
oldestFirst –
the order in which the credentials are retrieved
Returns
the list of credentials
Usage
the list of credentials