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; } }
public List<CodeTreeIdentificationInfo> getIdentifications() throws SdkFault { return ProtexSDKAPIManager.getIdentificationAPI() .getAppliedIdentifications(projectID, fileOnlyTree); }