Package ru.portnyagin.helpdeskru.controller.service

Source Code of ru.portnyagin.helpdeskru.controller.service.ServiceInProgressRequestsController

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

Related Classes of ru.portnyagin.helpdeskru.controller.service.ServiceInProgressRequestsController

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.