Package org.ogce.expbuilder.model

Examples of org.ogce.expbuilder.model.Project


              this.projectInfo = project;
            }
            option = new SelectItem(project.getName() , project.getName());
            options.add(option);   
          }if(options.size() == 0){
            Project project = new Project();
            project.setName("Default");
            super.getContext().getExpBuilderManager().createProject(project);
            projectList();
          }
        return options;
      } catch (Exception e) {
View Full Code Here


        throw e;
      }
    }
   
    public String addProject() throws Exception{
      Project project = new Project();
      project.setName(newProject);
      super.getContext().getExpBuilderManager().createProject(project);
       projectList();
        
      return ServiceConstants.SUCCESS_STATUS;
    }
View Full Code Here

      ArrayList<Project> projectsList = new ArrayList<Project>();
   
      DocData[] docType = context.getRegistryClient().findOGCEResource("",
          ResourceType.Project.toString(), null);
    for (DocData docData : docType) {
      Project project = new Project();
      if(docData.resourceID != null){
      project.setId(docData.resourceID.toString());
      }else{
        project.setId(docData.resourcename);
      }
      project.setName(docData.resourcename);
      project.setDescription(docData.resourcedesc);
      project.setCreationDate(docData.created.toString());
      projectsList.add(project);
    }
     
      if (projectsList.size() > 0) {
            projects = projectsList.toArray(new Project[0]);
View Full Code Here

TOP

Related Classes of org.ogce.expbuilder.model.Project

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.