| java.lang.Object com.projity.pm.task.ProjectFactory
ProjectFactory | public class ProjectFactory (Code) | | |
Method Summary | |
public synchronized void | addClosingProject(long id) | public synchronized void | addClosingProjects(Collection ids) | public synchronized void | addLoadingProject(long id) | public void | addProject(Project project, boolean verify) | public void | addProject(Project project, boolean createJob, boolean verify) | public static ProjectFactory | createInstance() | public Project | createProject() | public Project | createProject(CreateOptions opt) | public void | doRemoveProject(Project project) | public Project | findFromId(long id) | public Job | getCloseProjectsOnServerJob(Project project) | public Job | getCloseProjectsOnServerJob(Collection projects) | public Collection | getDirtyProjectList() | public static ProjectFactory | getInstance() | public synchronized Set | getOpenOrLoadingProjects() | public Portfolio | getPortfolio() | public Job | getRemoveProjectJob(Project project, boolean allowCancel, boolean prompt) | public Job | getSaveProjectJob(Project project, SaveOptions opt) | final public String | getServer() | public Project | openProject(LoadOptions opt) | public Project | openSubproject(Project parent, Node subprojectNode, boolean creating) | public int | promptForSave(Project project, boolean allowCancel) | public synchronized void | removeClosingProject(long id) | public synchronized void | removeLoadingProject(long id) | public void | removeProject(Project project, boolean allowCancel, boolean prompt) | public void | saveProject(Project project, SaveOptions opt) | final public void | setServer(String server) |
closingProjects | protected Set closingProjects(Code) | | |
loadingProjects | protected Set loadingProjects(Code) | | |
addClosingProject | public synchronized void addClosingProject(long id)(Code) | | |
addClosingProjects | public synchronized void addClosingProjects(Collection ids)(Code) | | |
addLoadingProject | public synchronized void addLoadingProject(long id)(Code) | | |
addProject | public void addProject(Project project, boolean verify)(Code) | | |
addProject | public void addProject(Project project, boolean createJob, boolean verify)(Code) | | |
doRemoveProject | public void doRemoveProject(Project project)(Code) | | |
getCloseProjectsOnServerJob | public Job getCloseProjectsOnServerJob(Project project)(Code) | | |
getOpenOrLoadingProjects | public synchronized Set getOpenOrLoadingProjects()(Code) | | |
getRemoveProjectJob | public Job getRemoveProjectJob(Project project, boolean allowCancel, boolean prompt)(Code) | | Parameters: project - Parameters: allowCancel - Parameters: prompt - null if cancelled |
getServer | final public String getServer()(Code) | | Returns the server. |
promptForSave | public int promptForSave(Project project, boolean allowCancel)(Code) | | |
removeClosingProject | public synchronized void removeClosingProject(long id)(Code) | | |
removeLoadingProject | public synchronized void removeLoadingProject(long id)(Code) | | |
removeProject | public void removeProject(Project project, boolean allowCancel, boolean prompt)(Code) | | |
setServer | final public void setServer(String server)(Code) | | Parameters: server - The server to set. |
|
|