Package ru.portnyagin.helpdeskru.model

Examples of ru.portnyagin.helpdeskru.model.Priority


    public Object getAsObject(FacesContext context, UIComponent component, String value) {
        if (value == null || value.length() == 0){
            return null;
        }

        Priority priority = priorityService.find(value);

        if (priority == null) {
            throw new ConverterException(new FacesMessage("Unknown Priority ID: " + value));
        }
View Full Code Here


            enableAddFile = true;
           
//            current.setStateRequest(new StateRequest("OPENED")); // взять из базы, т.к. в данном случае не будет названия до сохранения
            current.setStateRequest(stateRequestBean.getMapStateRequest().get("OPENED"));
            current.setCreatedBy(curUser);
            current.setPriority(new Priority("MIDDLE"));
           
        } else { // не новая
       
            String stateRequest = current.getStateRequest().getId();
       
View Full Code Here

TOP

Related Classes of ru.portnyagin.helpdeskru.model.Priority

Copyright © 2018 www.massapicom. 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.