org.gnomekr.potron.service
Interface IProjectManager

All Known Implementing Classes:
ProjectManager

public interface IProjectManager

IProjectManager.java

Version:
$Revision 1.1 $ $Date: 2005/09/11 05:49:44 $
Author:
Xavier Cho

Method Summary
 long addLanguageTeam(LanguageTeam team)
           
 long addTemplate(String projectId, String name, String description, Reader content)
           
 void createProject(Project project)
           
 void deleteProject(String id)
           
 LanguageTeam getLanguageTeam(long id)
           
 List<LanguageTeam> getLanguageTeams()
           
 Project getProject(String id)
           
 List<Project> getProjects()
           
 Template getTemplate(long id)
           
 void removeLanguageTeam(long id)
           
 void removeTemplate(long id)
           
 void updateLanguageTeam(LanguageTeam team)
           
 void updateProject(Project project)
           
 void updateTemplate(long id, String name, String description, Reader content)
           
 void updateTemplate(long id, String name, String description, String comment)
           
 

Method Detail

createProject

void createProject(Project project)
                   throws ProjectExistsException
Throws:
ProjectExistsException

getProject

Project getProject(String id)

getProjects

List<Project> getProjects()

updateProject

void updateProject(Project project)

deleteProject

void deleteProject(String id)

addLanguageTeam

long addLanguageTeam(LanguageTeam team)

getLanguageTeam

LanguageTeam getLanguageTeam(long id)

getLanguageTeams

List<LanguageTeam> getLanguageTeams()

updateLanguageTeam

void updateLanguageTeam(LanguageTeam team)

removeLanguageTeam

void removeLanguageTeam(long id)

addTemplate

long addTemplate(String projectId,
                 String name,
                 String description,
                 Reader content)
                 throws ParseException,
                        IOException
Throws:
ParseException
IOException

getTemplate

Template getTemplate(long id)

updateTemplate

void updateTemplate(long id,
                    String name,
                    String description,
                    String comment)

updateTemplate

void updateTemplate(long id,
                    String name,
                    String description,
                    Reader content)
                    throws ParseException,
                           IOException
Throws:
ParseException
IOException

removeTemplate

void removeTemplate(long id)


Copyright © 2000-2005 Gnome Korea. All Rights Reserved.