Searches for Notes based on the given search criteria.
Syntax
List< Note >
getNotesByCustomer
(
final long
customerId
,
final Integer
noteType
,
final Integer
status
,
final Date
fromDate
,
final Date
toDate
,
final String
subject
,
final String
creator
,
final Integer
creatorIdentificationType
,
final long
callerId
) throws EntityNotFoundException
Parameters
-
customerId –
filter by customer id
-
noteType –
filter by note type
-
status –
filter by status
-
fromDate –
filter by creation date after this date
-
toDate –
filter by creation date before this date
-
subject –
filter by subject
-
creator –
filter by creator; in this case you must also define the identification type, otherwise the method does not filter by creator
-
creatorIdentificationType –
identification type of the passed creator identification
-
callerId –
filter by caller id
Returns
the list of matching Notes
Exceptions
-
EntityNotFoundException –
if filtering by a creator that does not exist
Usage
the list of matching Notes