Package ru.portnyagin.helpdeskru.controller.customer

Source Code of ru.portnyagin.helpdeskru.controller.customer.CustomerOpenRequestsController

/**
*
* @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"));
       
    }
   

       
}
TOP

Related Classes of ru.portnyagin.helpdeskru.controller.customer.CustomerOpenRequestsController

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.