Package ru.portnyagin.helpdeskru.controller.service

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

/**
*
* @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 = "serviceOpenRequests")
@ViewScoped
public class ServiceOpenRequestsController extends ServiceController {
   
    public ServiceOpenRequestsController() {
       
        showRequestOnlyForCurrentUser = false;
        actionString = "/service/opened_requests";
       
        listStateRequest = new ArrayList<>();
        listStateRequest.add(new StateRequest("OPENED"));
        listStateRequest.add(new StateRequest("REOPENED"));
               
    }
   
  
}
TOP

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

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.