Examples of enableGC4LaunchButton()


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

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

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

            // 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;
        }

        if (hasSpecificRights || !readOnlySpecific) {
View Full Code Here

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

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

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

            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;
            }
        }
        return null;
View Full Code Here

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

            ProgramDTO programIdAndEnableGC4LaunchButton = new ProgramDTO();
            programIdAndEnableGC4LaunchButton.setId(programWithId.getId());

            if (isAdmin || (programWithId.getEcmManager() != null && programWithId.getEcmManager().getId() == user.getId())
                    || (programWithId.getProgramManager() != null && programWithId.getProgramManager().getId() == user.getId())) {
                programIdAndEnableGC4LaunchButton.enableGC4LaunchButton();
            }
            return programIdAndEnableGC4LaunchButton;
        }

        if (hasSpecificRights) {
View Full Code Here

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

                alertManagement.alert(user);
                ProgramDTO programIdAndEnableGC4LaunchButton = new ProgramDTO();
                programIdAndEnableGC4LaunchButton.setId(programWithId.getId());
                if (isAdmin || (programWithId.getEcmManager() != null && programWithId.getEcmManager().getId() == user.getId())
                        || (programWithId.getProgramManager() != null && programWithId.getProgramManager().getId() == user.getId())) {
                    programIdAndEnableGC4LaunchButton.enableGC4LaunchButton();
                }
                return programIdAndEnableGC4LaunchButton;
            }
        }
        return null;
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.