EmailRecords¶
-
public class
EmailRecords
<T>¶ The
EmailRecords
class wraps theEmailRecord
list and stores the current item count.
Constructors¶
EmailRecords¶
-
public
EmailRecords
()¶ Creates a new instance of
EmailRecords
, which contains no records.
EmailRecords¶
-
public
EmailRecords
(Integer totalRecords, Integer page, Integer totalPages, List<T> allRecords)¶ Creates a new instance of
EmailRecords
, with all fields set to the values specified in the parameters. Thepage
andtotalPages
parameters are for the purposes of paginating the list of records in the UI.Parameters: - totalRecords – the total number of records
- page – the current page
- totalPages – the total number of pages
- allRecords – the list of records