Package net.stinfoservices.pacifiq.shared.dto

Examples of net.stinfoservices.pacifiq.shared.dto.ProgramDTO.freeze()


            }
            return programDTO;
        } else if (hasRights && readOnly && readOnlySpecific) {
            // simple pure reader
            ProgramDTO programDTO = new ProgramDTO(programDAO.find(id), DTOPath.PROGRAM_DOC);
            programDTO.freeze();
            if (isAdmin || (programDTO.getEcmManager() != null && programDTO.getEcmManager().getId() == user.getId())
                    || (programDTO.getProgramManager() != null && programDTO.getProgramManager().getId() == user.getId())) {
                programDTO.enableGC4LaunchButton();
            }
            return programDTO;
View Full Code Here


                }
                return programDTO;
            }
            if (specProgramsConsultation.contains(id)) {
                ProgramDTO programDTO = new ProgramDTO(programDAO.find(id), DTOPath.PROGRAM_DOC);
                programDTO.freeze();
                if (isAdmin || (programDTO.getEcmManager() != null && programDTO.getEcmManager().getId() == user.getId())
                        || (programDTO.getProgramManager() != null && programDTO.getProgramManager().getId() == user.getId())) {
                    programDTO.enableGC4LaunchButton();
                }
                return programDTO;
View Full Code Here

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.