Exemple #1
0
 public void updateComment() throws SdkFault {
   try {
     if (curFilePath.length() <= 0) {
       ProtexSDKAPIManager.getCodeTreeAPI().updateFileOrFolderComment(projectID, "/", comment);
     } else {
       ProtexSDKAPIManager.getCodeTreeAPI()
           .updateFileOrFolderComment(projectID, curFilePath, comment);
     }
   } catch (SdkFault e) {
     log.warn("[ERROR] Can't update comment");
     throw e;
   }
 }
Exemple #2
0
 public List<CodeTreeIdentificationInfo> getIdentifications() throws SdkFault {
   return ProtexSDKAPIManager.getIdentificationAPI()
       .getAppliedIdentifications(projectID, fileOnlyTree);
 }