public PaymentList() {
setSortColumn("id"); // sets the default sort column
}
public String execute() {
PaymentStatus status = stStatus != null ? PaymentStatus.valueOf(stStatus) : null;
payments = sort(paymentManager.findPayments(id, description, date, company, null, status));
return "list";
}