Examples of ProjectBean


Examples of com.din.din.webapp.beans.ProjectBean

  public void doFilter(ServletRequest request, ServletResponse response,
      FilterChain chain) throws IOException, ServletException {

    HttpServletRequest httpRequest = (HttpServletRequest)request;
    ProjectBean bean = (ProjectBean) httpRequest.getSession().getAttribute("projectBean");
   
    String uri = httpRequest.getRequestURI();
    if(uri.indexOf("/auth/start.jsf") >= 0 && bean != null && bean.isProjectConfigured()) {
      // Project is configured and we're loading start -> perform redirect to build
      HttpServletResponse httpResponse = (HttpServletResponse)response;
      httpResponse.sendRedirect(httpRequest.getContextPath() + "/auth/build.jsf");   
//    } else if (uri.indexOf("/auth/start.jsf") < 0 && uri.indexOf("/auth/") >= 0 && (bean == null || !bean.isProjectConfigured())) {
//      // Project is *not* configured and we're visiting a page which is not start -> perform redirect to start
View Full Code Here

Examples of edu.monash.merc.dto.ProjectBean

        List<ProjectBean> projectsList = new ArrayList<ProjectBean>();

        while (projectsElements.hasNext()) {
            OMElement projElement = projectsElements.next();
            Iterator<OMElement> projit = projElement.getChildElements();
            ProjectBean projbean = new ProjectBean();

            while (projit.hasNext()) {
                OMElement pdetails = projit.next();

                String name = pdetails.getLocalName();
                String textValue = pdetails.getText();
                if (name.equals("projectId")) {
                    projbean.setActivityKey(textValue);
                }
                if (name.equals("projectTitle")) {
                    projbean.setTitle(textValue);
                }
                if (name.equals("grantorCode")) {
                    projbean.setGrantCode(textValue);
                }
                if (name.equals("projectDateApplied")) {
                    projbean.setAppliedDate(textValue);
                }
            }
            projectsList.add(projbean);
        }
        return projectsList;
View Full Code Here

Examples of net.sourceforge.cruisecontrol.monitoring.ProjectBean

    yIncrement = 3;

    setUI( new ProjectStatusPanel.StatusPanelUI() );
   
    for( int index = 0; index < projects.size(); index++ ) {
      ProjectBean project = (ProjectBean) projects.get( index );
     
      ProjectStatusPanel panel = new ProjectStatusPanel( project );
      addPanel( panel, 48 );
    }
  }
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.