コード例 #1
0
  public static boolean deleteProject(String projectId) {
    TmpProject tmpProject = tmpProjectDAO.getTmpProjectById(Integer.parseInt(projectId));
    tmpProjectDAO.delete(tmpProject);

    return true;
  }
コード例 #2
0
 public static ProjectDTO getProjectById(String projectId) {
   ProjectDTO projectDTO =
       ProjectManager.generateProjectDTO(
           tmpProjectDAO.getTmpProjectById(Integer.parseInt(projectId)));
   return projectDTO;
 }