コード例 #1
0
 /**
  * DOC kpchen Comment method "refreshData".
  *
  * @param project
  * @param branch
  */
 public void refreshData(final Project project, String branch) {
   ProjectManager projectManager = ProjectManagerFactory.getProjectManager(project, branch);
   projectManager.refreshData();
 }
コード例 #2
0
 /**
  * DOC liuyu Comment method "refreshData".
  *
  * @param project
  * @param branch
  */
 public void deleteTempSVNData(final Project project, String branch) {
   ProjectManager projectManager = ProjectManagerFactory.getProjectManager(project, branch);
   projectManager.deleteTempSVNData(null);
 }
コード例 #3
0
 /**
  * DOC kpchen Comment method "deleteProject".
  *
  * @param project
  * @param transactionHolder
  * @throws Exception
  */
 public void deleteProject(Project project, ITransactionHolder transactionHolder)
     throws BusinessException {
   ProjectManager projectManager = ProjectManagerFactory.getProjectManager(project);
   projectManager.deleteProject(transactionHolder);
   PersistenceUtil.getPersistenceAdapter().delete(project, transactionHolder);
 }