/**
*
* @author ilya portnyagin iportnyagin@gmail.com
*/
package ru.portnyagin.helpdeskru.controller.customer;
import java.util.ArrayList;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import ru.portnyagin.helpdeskru.model.StateRequest;
@ManagedBean(name = "customerOpenRequests")
@ViewScoped
public class CustomerOpenRequestsController extends CustomerController{
public CustomerOpenRequestsController() {
actionString = "/customer/open_requests";
listStateRequest = new ArrayList<>();
listStateRequest.add(new StateRequest("OPENED"));
listStateRequest.add(new StateRequest("REOPENED"));
listStateRequest.add(new StateRequest("INPROGRESS"));
listStateRequest.add(new StateRequest("HOLDED"));
}
}