/**
*
* @author ilya portnyagin iportnyagin@gmail.com
*/
package ru.portnyagin.helpdeskru.controller.service;
import java.util.ArrayList;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import ru.portnyagin.helpdeskru.model.StateRequest;
@ManagedBean(name = "inProgressOpenRequests")
@ViewScoped
public class ServiceInProgressRequestsController extends ServiceController {
public ServiceInProgressRequestsController() {
showRequestOnlyForCurrentUser = true;
actionString = "/service/inprogress_requests";
listStateRequest = new ArrayList<>();
listStateRequest.add(new StateRequest("OPENED"));
listStateRequest.add(new StateRequest("REOPENED"));
listStateRequest.add(new StateRequest("INPROGRESS"));
}
}