PlasticApiMock.cs 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131
  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using Codice.Client.BaseCommands;
  5. using Codice.Client.BaseCommands.Acl;
  6. using Codice.Client.BaseCommands.BranchExplorer.ExplorerTree;
  7. using Codice.Client.BaseCommands.BranchExplorer.Layout;
  8. using Codice.Client.Commands;
  9. using Codice.Client.Commands.CheckIn;
  10. using Codice.Client.Commands.Tree;
  11. using Codice.Client.Commands.WkTree;
  12. using Codice.Client.Commands.Xlinks;
  13. using Codice.Client.Common;
  14. using Codice.Client.Common.GameUI;
  15. using Codice.Client.Common.Xlinks;
  16. using Codice.Client.GameUI.Update;
  17. using Codice.Client.IssueTracker;
  18. using Codice.CM.Common;
  19. using Codice.CM.Common.Merge;
  20. using Codice.CM.Common.Replication;
  21. using Codice.CM.Common.Serialization;
  22. using Codice.CM.Common.Tree;
  23. using Codice.CM.WorkspaceServer.Tree.GameUI;
  24. using Codice.Utils;
  25. using GluonGui.WorkspaceWindow.Views.WorkspaceExplorer.Explorer;
  26. using PlasticGui;
  27. using PlasticGui.SwitcherWindow.Workspaces;
  28. using PlasticGui.WorkspaceWindow.BranchExplorer;
  29. using PlasticGui.WorkspaceWindow.Diff;
  30. namespace Unity.PlasticSCM.Tests.Editor.Mock
  31. {
  32. internal class PlasticApiMock : IPlasticAPI
  33. {
  34. internal void SetupGetWorkspaceTreeNode(string path, WorkspaceTreeNode wkTreeNode)
  35. {
  36. mWorkspaceTreeNodes.Add(path, wkTreeNode);
  37. }
  38. internal void SetupGetWorkingBranch(BranchInfo workingBranch)
  39. {
  40. mWorkingBranch = workingBranch;
  41. }
  42. WkAddResult IPlasticAPI.Add(string[] paths, AddOptions options, out IList checkouts)
  43. {
  44. throw new NotImplementedException();
  45. }
  46. void IPlasticAPI.AddLockRule(RepositorySpec repSpec, string newRule, bool bDryRun)
  47. {
  48. throw new NotImplementedException();
  49. }
  50. void IPlasticAPI.ApplyLabelToWorkspace(WorkspaceInfo wkInfo, RepositorySpec repSpec, MarkerInfo labelInfo)
  51. {
  52. throw new NotImplementedException();
  53. }
  54. DiffInfo IPlasticAPI.BuildDiffInfoForDiffWithPrevious(string revspec2, string symbolicName2, string defaultPath2, string fileExt, WorkspaceInfo currentWk)
  55. {
  56. throw new NotImplementedException();
  57. }
  58. OutOfDateItems IPlasticAPI.CalculateOutOfDateItems(WorkspaceInfo wkInfo)
  59. {
  60. throw new NotImplementedException();
  61. }
  62. EnumRevisionType IPlasticAPI.ChangeRevisionType(string path, EnumRevisionType type)
  63. {
  64. throw new NotImplementedException();
  65. }
  66. bool IPlasticAPI.CheckAttributeExists(RepositorySpec repSpec, string attributeName)
  67. {
  68. throw new NotImplementedException();
  69. }
  70. bool IPlasticAPI.CheckBranchExists(RepositorySpec repSpec, BranchInfo brInfo)
  71. {
  72. throw new NotImplementedException();
  73. }
  74. void IPlasticAPI.CheckCredentials(string server, SEIDWorkingMode mode, string user, string password)
  75. {
  76. throw new NotImplementedException();
  77. }
  78. bool IPlasticAPI.CheckLabelExists(RepositorySpec repSpec, MarkerInfo mkInfo)
  79. {
  80. throw new NotImplementedException();
  81. }
  82. void IPlasticAPI.Checkout(string[] paths)
  83. {
  84. throw new NotImplementedException();
  85. }
  86. void IPlasticAPI.Checkout(string[] paths, CheckoutModifiers options)
  87. {
  88. throw new NotImplementedException();
  89. }
  90. bool IPlasticAPI.CheckRepositoryExists(string repServer, string repName)
  91. {
  92. throw new NotImplementedException();
  93. }
  94. bool IPlasticAPI.CheckServerConnection(string repServer)
  95. {
  96. throw new NotImplementedException();
  97. }
  98. AttributeInfo IPlasticAPI.CreateAttribute(RepositorySpec repSpec, string attributeName, string attributeComment)
  99. {
  100. throw new NotImplementedException();
  101. }
  102. ICheckinOperation IPlasticAPI.CreateCheckInOperation()
  103. {
  104. throw new NotImplementedException();
  105. }
  106. BranchInfo IPlasticAPI.CreateChildBranch(WorkspaceInfo wkInfo, BranchInfo branchInfo, string title)
  107. {
  108. throw new NotImplementedException();
  109. }
  110. BranchInfo IPlasticAPI.CreateChildBranch(RepositorySpec repSpec, BranchInfo parentBranchInfo, string name, string comment)
  111. {
  112. throw new NotImplementedException();
  113. }
  114. BranchInfo IPlasticAPI.CreateChildBranchFromChangeset(RepositorySpec repSpec, BranchInfo parentBranchInfo, long changeset, string name)
  115. {
  116. throw new NotImplementedException();
  117. }
  118. BranchInfo IPlasticAPI.CreateChildBranchFromChangeset(RepositorySpec repSpec, BranchInfo parentBranchInfo, long changeset, string name, string comment)
  119. {
  120. throw new NotImplementedException();
  121. }
  122. void IPlasticAPI.CreateComment(RepositorySpec repSpec, long reviewId, CodeReviewCommentInfo comment)
  123. {
  124. throw new NotImplementedException();
  125. }
  126. RepositoryInfo IPlasticAPI.CreateRepository(string repServer, string repName)
  127. {
  128. throw new NotImplementedException();
  129. }
  130. ReviewInfo IPlasticAPI.CreateReview(RepositorySpec repSpec, ReviewInfo reviewInfo)
  131. {
  132. throw new NotImplementedException();
  133. }
  134. WorkspaceInfo IPlasticAPI.CreateWorkspace(string wkPath, string wkName, string repName)
  135. {
  136. throw new NotImplementedException();
  137. }
  138. void IPlasticAPI.DeleteAttributeFromObject(RepositorySpec repSpec, AttributeRealizationInfo attribute)
  139. {
  140. throw new NotImplementedException();
  141. }
  142. void IPlasticAPI.DeleteBranch(WorkspaceInfo wkInfo, RepositorySpec repSpec, BranchInfo branchInfo)
  143. {
  144. throw new NotImplementedException();
  145. }
  146. bool IPlasticAPI.DeleteChangeset(RepositorySpec repSpec, ChangesetInfo changesetInfo)
  147. {
  148. throw new NotImplementedException();
  149. }
  150. void IPlasticAPI.DeleteComment(RepositorySpec repSpec, long commentId)
  151. {
  152. throw new NotImplementedException();
  153. }
  154. void IPlasticAPI.DeleteControlled(string path, DeleteModifiers options)
  155. {
  156. throw new NotImplementedException();
  157. }
  158. void IPlasticAPI.DeleteLabel(RepositorySpec repSpec, MarkerInfo labelInfo)
  159. {
  160. throw new NotImplementedException();
  161. }
  162. void IPlasticAPI.DeleteReview(RepositorySpec repSpec, ReviewInfo reviewInfo)
  163. {
  164. throw new NotImplementedException();
  165. }
  166. IList IPlasticAPI.DoGetAllRepositories(string server, bool bFilterDeleted)
  167. {
  168. throw new NotImplementedException();
  169. }
  170. IList IPlasticAPI.FindAttributeTypes(RepositorySpec repSpec)
  171. {
  172. throw new NotImplementedException();
  173. }
  174. HashSet<Guid> IPlasticAPI.FindGuids(RepositorySpec repSpec, WorkspaceInfo wkInfo, string condition, ObjectType objectType)
  175. {
  176. throw new NotImplementedException();
  177. }
  178. QueryResult IPlasticAPI.FindQuery(WorkspaceInfo wkInfo, string query)
  179. {
  180. throw new NotImplementedException();
  181. }
  182. QueryResult IPlasticAPI.FindQuery(RepositoryInfo repInfo, string query)
  183. {
  184. throw new NotImplementedException();
  185. }
  186. QueryResult IPlasticAPI.FindQuery(RepositorySpec repSpec, string query)
  187. {
  188. throw new NotImplementedException();
  189. }
  190. DiffInfo IPlasticAPI.GetAddedDiffInfo(WorkspaceInfo wkInfo, MountPoint mount, DiffViewEntry entry, WorkspaceInfo currentWk)
  191. {
  192. throw new NotImplementedException();
  193. }
  194. IList IPlasticAPI.GetAllRepositories(bool bFilterDeleted)
  195. {
  196. throw new NotImplementedException();
  197. }
  198. IList IPlasticAPI.GetAllRepositories(string server, bool bFilterDeleted)
  199. {
  200. throw new NotImplementedException();
  201. }
  202. IList IPlasticAPI.GetAllRepositories(string server, bool bFilterDeleted, ServerProfile profile)
  203. {
  204. throw new NotImplementedException();
  205. }
  206. ServerProfile[] PlasticGui.IPlasticAPI.GetPersistentProfiles()
  207. {
  208. throw new NotImplementedException();
  209. }
  210. void PlasticGui.IPlasticAPI.EditProfile(ServerProfile serverProfile)
  211. {
  212. throw new NotImplementedException();
  213. }
  214. void PlasticGui.IPlasticAPI.RenameProfile(ServerProfile serverProfile, string userName)
  215. {
  216. throw new NotImplementedException();
  217. }
  218. List<WorkspaceGuiEntry> IPlasticAPI.GetAllWorkspaces()
  219. {
  220. throw new NotImplementedException();
  221. }
  222. WorkspaceInfo[] IPlasticAPI.GetAllWorkspacesArray()
  223. {
  224. throw new NotImplementedException();
  225. }
  226. List<AnnotatedLine> IPlasticAPI.GetAnnotations(RepositorySpec repSpec, RevisionInfo revInfo, string localPath, string comparisonMethod, string encoding)
  227. {
  228. throw new NotImplementedException();
  229. }
  230. AttributeInfo IPlasticAPI.GetAttribute(string server, RepId repId, string attributeName)
  231. {
  232. throw new NotImplementedException();
  233. }
  234. long IPlasticAPI.GetAttributeIdForRepository(RepositorySpec repSpec, string attributeName)
  235. {
  236. throw new NotImplementedException();
  237. }
  238. AttributeRealizationInfo[] IPlasticAPI.GetAttributeRealizations(RepositorySpec repSpec, long objId)
  239. {
  240. throw new NotImplementedException();
  241. }
  242. void IPlasticAPI.EditAttributeComment(RepositoryInfo repInfo, string attributeSpec, string newComment)
  243. {
  244. throw new NotImplementedException();
  245. }
  246. void IPlasticAPI.RenameAttribute(RepositoryInfo repInfo, long attId, string newName)
  247. {
  248. throw new NotImplementedException();
  249. }
  250. void IPlasticAPI.DeleteAttribute(RepositoryInfo repInfo, long attId)
  251. {
  252. throw new NotImplementedException();
  253. }
  254. List<ClientDiff> IPlasticAPI.GetBranchDifferences(RepositorySpec repSpec, BranchInfo brInfo)
  255. {
  256. throw new NotImplementedException();
  257. }
  258. BrExLayout IPlasticAPI.GetBranchExplorerLayout(WorkspaceInfo wkInfo, RepositorySpec repSpec, FilterCollection filters, DisplayOptions options, out BrExTree explorerTree)
  259. {
  260. throw new NotImplementedException();
  261. }
  262. BrExLayout IPlasticAPI.GetBranchExplorerLayout(WorkspaceInfo wkInfo, RepositoryExplainMergeData explainMergeData, DisplayOptions displayOptions, out BrExTree explorerTree)
  263. {
  264. throw new NotImplementedException();
  265. }
  266. BrExLayout IPlasticAPI.GetBranchExplorerLayout(RepositorySpec repSpec, BrExTree explorerTree, DisplayOptions options)
  267. {
  268. throw new NotImplementedException();
  269. }
  270. BranchInfo IPlasticAPI.GetBranchInfo(RepositorySpec repSpec, string fullBranchName)
  271. {
  272. throw new NotImplementedException();
  273. }
  274. BranchInfo IPlasticAPI.GetBranchInfo(RepositorySpec repSpec, Guid brGuid)
  275. {
  276. throw new NotImplementedException();
  277. }
  278. BranchInfo IPlasticAPI.GetBranchInfo(RepositoryInfo repInfo, long brId)
  279. {
  280. throw new NotImplementedException();
  281. }
  282. List<BranchInfo> IPlasticAPI.GetBranchInfos(RepositorySpec repSpec, List<long> ids)
  283. {
  284. throw new NotImplementedException();
  285. }
  286. List<BranchInfo> IPlasticAPI.GetBranchInfos(RepositoryInfo repInfo, List<long> ids)
  287. {
  288. throw new NotImplementedException();
  289. }
  290. Difference IPlasticAPI.GetChangedForMovedDifference(Difference diff)
  291. {
  292. throw new NotImplementedException();
  293. }
  294. TreeChangedNode IPlasticAPI.GetChangedNodeForPath(WorkspaceInfo wkInfo, string path)
  295. {
  296. throw new NotImplementedException();
  297. }
  298. IList<ChangeInfo> IPlasticAPI.GetChanges(WorkspaceInfo wkInfo, List<string> basePaths, WorkspaceStatusOptions options)
  299. {
  300. throw new NotImplementedException();
  301. }
  302. WorkspaceStatusResult IPlasticAPI.GetChanges(
  303. WorkspaceInfo wkInfo, WorkspaceStatusOptions options, MovedMatchingOptions matchingOptions)
  304. {
  305. throw new NotImplementedException();
  306. }
  307. List<ClientDiff> IPlasticAPI.GetChangesetDifferences(RepositorySpec repSpec, ChangesetInfo csetInfo)
  308. {
  309. throw new NotImplementedException();
  310. }
  311. List<ClientDiff> IPlasticAPI.GetChangesetDifferences(MountPointWithPath mount, ChangesetInfo csetInfo)
  312. {
  313. throw new NotImplementedException();
  314. }
  315. Guid IPlasticAPI.GetChangesetGuid(RepositorySpec repSpec, long changesetId)
  316. {
  317. throw new NotImplementedException();
  318. }
  319. ChangesetInfo IPlasticAPI.GetChangesetInfo(RepositorySpec repSpec, Guid csetGuid)
  320. {
  321. throw new NotImplementedException();
  322. }
  323. List<ChangesetInfo> IPlasticAPI.GetChangesetInfos(RepositorySpec repSpec, List<long> csetIds)
  324. {
  325. throw new NotImplementedException();
  326. }
  327. ChangesetInfo IPlasticAPI.GetChangesetInfoFromId(WorkspaceInfo wkInfo, long csId)
  328. {
  329. throw new NotImplementedException();
  330. }
  331. ChangesetInfo IPlasticAPI.GetChangesetInfoFromId(RepositorySpec repSpec, long csId)
  332. {
  333. throw new NotImplementedException();
  334. }
  335. ChangesetInfo IPlasticAPI.GetChangesetInfoFromId(RepositoryInfo repInfo, long csId)
  336. {
  337. throw new NotImplementedException();
  338. }
  339. List<ClientDiff> IPlasticAPI.GetChangesetsDifferences(RepositorySpec repSpec, ChangesetInfo sourceCsetInfo, ChangesetInfo destinationCsetInfo)
  340. {
  341. throw new NotImplementedException();
  342. }
  343. long IPlasticAPI.GetCurrentChangesetOnWorkspace(WorkspaceInfo wkInfo)
  344. {
  345. throw new NotImplementedException();
  346. }
  347. DiffInfo IPlasticAPI.GetDiffInfo(string revSpec, string symbolicName, string defaultPath, string fileExtension, WorkspaceInfo currrentWk)
  348. {
  349. throw new NotImplementedException();
  350. }
  351. DiffInfo IPlasticAPI.GetDiffInfo(string revspec1, string revspec2, string symbolicName1, string symbolicName2, string defaultPath1, string defaultPath2, string fileExtension, WorkspaceInfo currrentWk)
  352. {
  353. throw new NotImplementedException();
  354. }
  355. DiffInfo IPlasticAPI.GetDiffInfo(WorkspaceInfo wkInfo, ChangeInfo changeInfo)
  356. {
  357. throw new NotImplementedException();
  358. }
  359. DiffInfo IPlasticAPI.GetDiffInfo(WorkspaceInfo wkInfo, ChangeInfo changeInfo, ChangeInfo changedForMoved)
  360. {
  361. throw new NotImplementedException();
  362. }
  363. DiffInfo IPlasticAPI.GetDiffInfo(WorkspaceInfo wkInfo, MountPoint mount, Difference diff)
  364. {
  365. throw new NotImplementedException();
  366. }
  367. DiffInfo IPlasticAPI.GetDiffInfo(WorkspaceInfo wkInfo, RepositorySpec repSpec, RevisionInfo leftRev, RevisionInfo rightRev, string leftDefaultPath, string rightDefaultPath)
  368. {
  369. throw new NotImplementedException();
  370. }
  371. List<RepObjectInfo> IPlasticAPI.GetHistory(RepositorySpec repSpec, long itemId)
  372. {
  373. throw new NotImplementedException();
  374. }
  375. HumanReadableXlinkDataGenerator IPlasticAPI.GetHumanReadableXlinkDataGenerator()
  376. {
  377. throw new NotImplementedException();
  378. }
  379. IDictionary<MountPoint, PendingMergeLink> IPlasticAPI.GetInProgressMergeLinks(WorkspaceInfo wkInfo)
  380. {
  381. throw new NotImplementedException();
  382. }
  383. LicenseData IPlasticAPI.GetLicenseData(string server)
  384. {
  385. throw new NotImplementedException();
  386. }
  387. long IPlasticAPI.GetLoadedChangeset(WorkspaceInfo wkInfo)
  388. {
  389. throw new NotImplementedException();
  390. }
  391. long IPlasticAPI.GetLoadedRevisionId(WorkspaceInfo wkInfo, RepositorySpec repSpec, long itemId)
  392. {
  393. throw new NotImplementedException();
  394. }
  395. LockRule IPlasticAPI.GetLockRule(RepositorySpec repSpec)
  396. {
  397. throw new NotImplementedException();
  398. }
  399. BranchInfo IPlasticAPI.GetMainBranch(RepositorySpec repSpec)
  400. {
  401. throw new NotImplementedException();
  402. }
  403. MarkerInfo IPlasticAPI.GetMarkerInfo(RepositorySpec repSpec, long markerId)
  404. {
  405. throw new NotImplementedException();
  406. }
  407. MarkerInfo IPlasticAPI.GetMarkerInfoByName(RepositorySpec repSpec, string markerName)
  408. {
  409. throw new NotImplementedException();
  410. }
  411. Guid IPlasticAPI.GetObjectGuid(RepositorySpec repSpec, long objectId)
  412. {
  413. throw new NotImplementedException();
  414. }
  415. long IPlasticAPI.GetParentChangeset(RepositorySpec repSpec, long changesetId)
  416. {
  417. throw new NotImplementedException();
  418. }
  419. RevisionInfo IPlasticAPI.GetParentRevision(RepositorySpec repSpec, RevisionInfo revInfo)
  420. {
  421. throw new NotImplementedException();
  422. }
  423. IDictionary<MountPoint, IList<PendingMergeLink>> IPlasticAPI.GetPendingMergeLinks(WorkspaceInfo wkInfo)
  424. {
  425. throw new NotImplementedException();
  426. }
  427. IList<ReplicationSourceInfo> IPlasticAPI.GetReplicationSources(RepositorySpec repSpec, RepObjectInfo repObject)
  428. {
  429. throw new NotImplementedException();
  430. }
  431. RepositoryInfo IPlasticAPI.GetRepositoryInfo(RepositorySpec repSpec)
  432. {
  433. throw new NotImplementedException();
  434. }
  435. RepositorySpec IPlasticAPI.GetRepositorySpec(WorkspaceInfo wkInfo)
  436. {
  437. throw new NotImplementedException();
  438. }
  439. IList IPlasticAPI.GetReviewComments(RepositorySpec repSpec, long reviewId)
  440. {
  441. throw new NotImplementedException();
  442. }
  443. IList IPlasticAPI.GetReviewCommentsFromReviewIds(RepositorySpec repSpec, List<long> reviewIds)
  444. {
  445. throw new NotImplementedException();
  446. }
  447. RevisionInfo IPlasticAPI.GetRevisionAtChangeset(RepositorySpec repSpec, long itemId, long changesetId)
  448. {
  449. throw new NotImplementedException();
  450. }
  451. ChildItem[] IPlasticAPI.GetRevisionChildren(RepositorySpec repSpec, RevisionInfo revInfo)
  452. {
  453. throw new NotImplementedException();
  454. }
  455. void IPlasticAPI.GetRevisionDataToFile(RepositorySpec repSpec, HistoryRevision revision, string tmpFile)
  456. {
  457. throw new NotImplementedException();
  458. }
  459. void IPlasticAPI.GetRevisionDataToFile(RepositorySpec repSpec, RevisionInfo revInfo, string tmpFile)
  460. {
  461. throw new NotImplementedException();
  462. }
  463. RevisionInfo IPlasticAPI.GetRevisionInfo(RepositorySpec repSpec, long revisionId)
  464. {
  465. throw new NotImplementedException();
  466. }
  467. RepositoryInfo IPlasticAPI.GetRootRepositoryInfo(string clientPath)
  468. {
  469. throw new NotImplementedException();
  470. }
  471. SEID IPlasticAPI.GetSeidFromName(string server, string name, bool isGroup)
  472. {
  473. throw new NotImplementedException();
  474. }
  475. SelectorInformation IPlasticAPI.GetSelectorUserInformation(WorkspaceInfo wkInfo)
  476. {
  477. throw new NotImplementedException();
  478. }
  479. WebadminAddress IPlasticAPI.GetServerWebPortAndProtocol(string server)
  480. {
  481. throw new NotImplementedException();
  482. }
  483. ReplicationLogEntryInfo[] IPlasticAPI.GetSortedReplicationLogsFromBranch(RepositorySpec repSpec, BranchInfo branchInfo)
  484. {
  485. throw new NotImplementedException();
  486. }
  487. ReplicationLogEntryInfo[] IPlasticAPI.GetSortedReplicationLogsFromRepository(RepositorySpec repSpec)
  488. {
  489. throw new NotImplementedException();
  490. }
  491. TreeContent IPlasticAPI.GetTreeContent(RepositorySpec repSpec, string path, long changesetId, bool bRecurse)
  492. {
  493. throw new NotImplementedException();
  494. }
  495. TreeContent IPlasticAPI.GetTreeContent(RepositorySpec repSpec, string path, string branchName, bool bRecurse)
  496. {
  497. throw new NotImplementedException();
  498. }
  499. string IPlasticAPI.GetUserName(string server, SEID owner)
  500. {
  501. throw new NotImplementedException();
  502. }
  503. IList IPlasticAPI.GetValuesForAttribute(string server, RepId repId, string attributeName)
  504. {
  505. throw new NotImplementedException();
  506. }
  507. BranchInfo IPlasticAPI.GetWorkingBranch(WorkspaceInfo wkInfo)
  508. {
  509. return mWorkingBranch;
  510. }
  511. BranchInfo IPlasticAPI.GetCheckoutBranch(WorkspaceInfo wkInfo)
  512. {
  513. return mWorkingBranch;
  514. }
  515. long IPlasticAPI.GetWorkingChangeset(RepositorySpec repSpec, WorkspaceInfo wkInfo)
  516. {
  517. throw new NotImplementedException();
  518. }
  519. SEIDWorkingMode IPlasticAPI.GetWorkingMode(string server)
  520. {
  521. throw new NotImplementedException();
  522. }
  523. WorkspaceInfo IPlasticAPI.GetWorkspaceFromPath(string wkPath)
  524. {
  525. throw new NotImplementedException();
  526. }
  527. WorkspaceInfo IPlasticAPI.GetWorkspaceFromId(Guid guid)
  528. {
  529. throw new NotImplementedException();
  530. }
  531. WorkspaceTreeNode IPlasticAPI.GetWorkspaceTree(WorkspaceInfo wkInfo, string path)
  532. {
  533. throw new NotImplementedException();
  534. }
  535. WorkspaceTreeNode IPlasticAPI.GetWorkspaceTreeNode(string path)
  536. {
  537. if (!mWorkspaceTreeNodes.ContainsKey(path))
  538. return null;
  539. return mWorkspaceTreeNodes[path];
  540. }
  541. List<ClientXlink> IPlasticAPI.GetXLinksInChangesetTree(RepositorySpec repSpec, long changesetId)
  542. {
  543. throw new NotImplementedException();
  544. }
  545. string IPlasticAPI.GetXlinkTypeString(Xlink xlink)
  546. {
  547. throw new NotImplementedException();
  548. }
  549. bool IPlasticAPI.HasWorkspaceMergeChanges(WorkspaceInfo wkInfo)
  550. {
  551. throw new NotImplementedException();
  552. }
  553. bool IPlasticAPI.IsBranchEmpty(RepositorySpec repSpec, long branchId)
  554. {
  555. throw new NotImplementedException();
  556. }
  557. bool IPlasticAPI.IsCopied(string path, out bool bReplaced)
  558. {
  559. throw new NotImplementedException();
  560. }
  561. bool IPlasticAPI.IsFsReaderWatchLimitReached(WorkspaceInfo wkInfo)
  562. {
  563. throw new NotImplementedException();
  564. }
  565. bool IPlasticAPI.IsIncomingChangesInProgress(WorkspaceInfo wkInfo)
  566. {
  567. throw new NotImplementedException();
  568. }
  569. bool IPlasticAPI.IsMovedChangedDifference(Difference diff)
  570. {
  571. throw new NotImplementedException();
  572. }
  573. bool IPlasticAPI.IsOnChangedTree(WorkspaceInfo wkInfo, string path)
  574. {
  575. throw new NotImplementedException();
  576. }
  577. bool IPlasticAPI.IsReadOnlyFilesPreferenceEnabled()
  578. {
  579. throw new NotImplementedException();
  580. }
  581. bool IPlasticAPI.IsStackTraceEnabled()
  582. {
  583. throw new NotImplementedException();
  584. }
  585. bool IPlasticAPI.IsWorkingChangesetDeleted(WorkspaceInfo wkInfo)
  586. {
  587. throw new NotImplementedException();
  588. }
  589. void IPlasticAPI.LaunchDifferences(DiffInfo diffInfo, IToolLauncher xDiffLauncher)
  590. {
  591. throw new NotImplementedException();
  592. }
  593. List<PlasticTask> IPlasticAPI.LoadTasks(IPlasticIssueTrackerExtension extension, List<string> taskIds)
  594. {
  595. throw new NotImplementedException();
  596. }
  597. void IPlasticAPI.MarkTaskAsOpen(IPlasticIssueTrackerExtension extension, List<string> taskIds, string assignee)
  598. {
  599. throw new NotImplementedException();
  600. }
  601. BranchInfo IPlasticAPI.MkBranch(RepositorySpec repSpec, string fullBranchName, long changeset, string comment)
  602. {
  603. throw new NotImplementedException();
  604. }
  605. MarkerInfo IPlasticAPI.MkLabel(RepositorySpec repSpec, string labelName, long changeset, string comment)
  606. {
  607. throw new NotImplementedException();
  608. }
  609. IList IPlasticAPI.MkLabelInAllXlinkedRepositories(IList<ClientXlink> targetXlinks, string labelName, string comment)
  610. {
  611. throw new NotImplementedException();
  612. }
  613. void IPlasticAPI.Move(string source, string destination, MoveModifiers options)
  614. {
  615. throw new NotImplementedException();
  616. }
  617. void IPlasticAPI.MoveChangeset(RepositorySpec repSpec, ChangesetInfo csetInfo, BranchInfo dstBrInfo)
  618. {
  619. throw new NotImplementedException();
  620. }
  621. List<ErrorMessage> IPlasticAPI.PartialUpdate(WorkspaceInfo wkInfo, List<string> paths)
  622. {
  623. throw new NotImplementedException();
  624. }
  625. void IPlasticAPI.PerformUpdateMerge(WorkspaceInfo wkInfo, MergeSource mergeSource, MergeResult mergeResult, ICmdNotifier notifier)
  626. {
  627. throw new NotImplementedException();
  628. }
  629. void IPlasticAPI.RemoveRepository(RepositoryInfo repInfo)
  630. {
  631. throw new NotImplementedException();
  632. }
  633. void IPlasticAPI.RemoveWorkspace(WorkspaceInfo wkInfo)
  634. {
  635. throw new NotImplementedException();
  636. }
  637. BranchInfo IPlasticAPI.RenameBranch(WorkspaceInfo wkInfo, RepositorySpec repSpec, BranchInfo branchInfo, string newName)
  638. {
  639. throw new NotImplementedException();
  640. }
  641. MarkerInfo IPlasticAPI.RenameLabel(WorkspaceInfo wkInfo, RepositorySpec repSpec, MarkerInfo labelInfo, string newName)
  642. {
  643. throw new NotImplementedException();
  644. }
  645. RepositoryInfo IPlasticAPI.RenameRepository(RepositoryInfo repInfo, string newName)
  646. {
  647. throw new NotImplementedException();
  648. }
  649. WorkspaceInfo IPlasticAPI.RenameWorkspace(WorkspaceInfo wkInfo, string newName)
  650. {
  651. throw new NotImplementedException();
  652. }
  653. void IPlasticAPI.RevertToClientDiffRevisions(WorkspaceInfo wkInfo, ClientDiffInfo clientDiff, WorkspaceTreeNode wkNode, string workspacePath)
  654. {
  655. throw new NotImplementedException();
  656. }
  657. void IPlasticAPI.RevertToThisRevision(WorkspaceInfo wkInfo, RepositorySpec repSpec, HistoryRevision revision, string path)
  658. {
  659. throw new NotImplementedException();
  660. }
  661. List<ChangeInfo> IPlasticAPI.SearchMatches(WorkspaceInfo wkInfo, string path, double allowedChangesPerUnit)
  662. {
  663. throw new NotImplementedException();
  664. }
  665. IList IPlasticAPI.SelectiveUpdate(WorkspaceInfo wkInfo, UpdateFlags flags, IList dirs, IList files)
  666. {
  667. throw new NotImplementedException();
  668. }
  669. void IPlasticAPI.SetAttribute(RepositorySpec repSpec, long attId, long objId, string attributeValue)
  670. {
  671. throw new NotImplementedException();
  672. }
  673. void IPlasticAPI.SetReadonlyFilesPreference(bool value)
  674. {
  675. throw new NotImplementedException();
  676. }
  677. void IPlasticAPI.SetSelector(WorkspaceInfo wkInfo, string selector, SetSelectorFlags flags)
  678. {
  679. throw new NotImplementedException();
  680. }
  681. CheckinResult IPlasticAPI.ShelveChanges(string[] paths, string comment)
  682. {
  683. throw new NotImplementedException();
  684. }
  685. IUpdateResult IPlasticAPI.SwitchToBranch(WorkspaceInfo wkInfo, RepositorySpec repSpec, BranchInfo brInfo, IContinueWithPendingChangesQuestioner questioner, ICmdNotifier notifier)
  686. {
  687. throw new NotImplementedException();
  688. }
  689. void IPlasticAPI.SwitchToBranch(WorkspaceInfo wkInfo, BranchInfo branchInfo)
  690. {
  691. throw new NotImplementedException();
  692. }
  693. IUpdateResult IPlasticAPI.SwitchToChangeset(WorkspaceInfo wkInfo, RepositorySpec repSpec, BranchInfo brInfo, ChangesetInfo csInfo, IContinueWithPendingChangesQuestioner questioner, ICmdNotifier notifier)
  694. {
  695. throw new NotImplementedException();
  696. }
  697. IUpdateResult IPlasticAPI.SwitchToLabel(WorkspaceInfo wkInfo, RepositorySpec repSpec, MarkerInfo labelInfo, IContinueWithPendingChangesQuestioner questioner, ICmdNotifier notifier)
  698. {
  699. throw new NotImplementedException();
  700. }
  701. string IPlasticAPI.SwitchWorkspaceSelector(WorkspaceInfo wkInfo, SwitchToSelectorEntry[] entries)
  702. {
  703. throw new NotImplementedException();
  704. }
  705. void IPlasticAPI.UndeleteClientDiff(ClientDiffInfo diff, string restorePath)
  706. {
  707. throw new NotImplementedException();
  708. }
  709. void IPlasticAPI.UndeleteRepository(RepositoryInfo repInfo)
  710. {
  711. throw new NotImplementedException();
  712. }
  713. void IPlasticAPI.UndeleteRevision(RepositorySpec repSpec, RemovedRealizationInfo removed, string restorePath)
  714. {
  715. throw new NotImplementedException();
  716. }
  717. void IPlasticAPI.UndoCheckout(WorkspaceInfo wkInfo, string[] paths, ICmdNotifier notifier)
  718. {
  719. throw new NotImplementedException();
  720. }
  721. void IPlasticAPI.UndoCheckout(WorkspaceInfo wkInfo, IList<string> paths, IList<string> skippedLocks, bool bHandleDeletedChangeset)
  722. {
  723. throw new NotImplementedException();
  724. }
  725. void IPlasticAPI.UndoCheckout(WorkspaceInfo wkInfo, string[] paths, ICmdNotifier notifier, UndoCheckoutModifiers flags)
  726. {
  727. throw new NotImplementedException();
  728. }
  729. void IPlasticAPI.UndoShelvedChanges(WorkspaceInfo wkInfo, string[] paths)
  730. {
  731. throw new NotImplementedException();
  732. }
  733. List<string> IPlasticAPI.UndoUnchanged(WorkspaceInfo wkInfo, List<string> paths)
  734. {
  735. throw new NotImplementedException();
  736. }
  737. IUpdateResult IPlasticAPI.Update(string path, UpdateFlags flags, IRunMergeDuringUpdate mergeController, ICmdNotifier notifier)
  738. {
  739. throw new NotImplementedException();
  740. }
  741. void IPlasticAPI.UpdateBranchHead(RepositorySpec repSpec, long branchId, long changesetId)
  742. {
  743. throw new NotImplementedException();
  744. }
  745. void IPlasticAPI.UpdateCheckoutBranch(WorkspaceInfo wkInfo, BranchInfo branchInfo)
  746. {
  747. throw new NotImplementedException();
  748. }
  749. ReviewCommentInfo IPlasticAPI.UpdateComment(RepositorySpec repSpec, ReviewCommentInfo editedComment)
  750. {
  751. throw new NotImplementedException();
  752. }
  753. void IPlasticAPI.UpdateObjectComment(RepositorySpec repSpec, RepObjectInfo repObject, string newComment)
  754. {
  755. throw new NotImplementedException();
  756. }
  757. ReviewInfo IPlasticAPI.UpdateReview(RepositorySpec repSpec, ReviewInfo reviewInfo)
  758. {
  759. throw new NotImplementedException();
  760. }
  761. IUpdateResult IPlasticAPI.UpdateToLatest(WorkspaceInfo wkInfo, UpdateFlags flags, IRunMergeDuringUpdate mergeController, ICmdNotifier notifier)
  762. {
  763. throw new NotImplementedException();
  764. }
  765. SecurityMember[] IPlasticAPI.GetUsers(string server, string serverSideFilter)
  766. {
  767. throw new NotImplementedException();
  768. }
  769. SecurityMember[] IPlasticAPI.GetGroups(string server, string serverSideFilter)
  770. {
  771. throw new NotImplementedException();
  772. }
  773. SecurityMember[] IPlasticAPI.GetSecurityMembers(string server, string serverSideFilter)
  774. {
  775. throw new NotImplementedException();
  776. }
  777. SecurityMember IPlasticAPI.GetSecurityMemberFromName(string server, string name)
  778. {
  779. throw new NotImplementedException();
  780. }
  781. WorkspaceInfo IPlasticAPI.CreateDynamicWorkspace(string wkPath, string wkName, string repName)
  782. {
  783. throw new NotImplementedException();
  784. }
  785. RepositoryServerInfo IPlasticAPI.GetRepositoryServerInfo(string server)
  786. {
  787. throw new NotImplementedException();
  788. }
  789. void IPlasticAPI.UpdateSecuredPath(RepositorySpec repSpec, SecuredPathInfo secPathInfo, long[] newBrIds, AclParams aclParams)
  790. {
  791. throw new NotImplementedException();
  792. }
  793. SecuredPathInfo IPlasticAPI.CreateSecuredPath(RepositorySpec repSpec, string path, string tag, long[] brIds, AclParams aclParams)
  794. {
  795. throw new NotImplementedException();
  796. }
  797. void IPlasticAPI.DeleteSecuredPath(RepositorySpec repSpec, SecuredPathInfo secPathInfo)
  798. {
  799. throw new NotImplementedException();
  800. }
  801. void IPlasticAPI.CalculateAcl(string server, ObjectInfo obj, out AclInfo aclInfo, out AclEntry[] calculatedPermissions, out bool bIsOwner)
  802. {
  803. throw new NotImplementedException();
  804. }
  805. SEID IPlasticAPI.GetOwner(string server, ObjectInfo obj)
  806. {
  807. throw new NotImplementedException();
  808. }
  809. IList<SecuredPathInfo> IPlasticAPI.GetSecuredPaths(string server, RepId repId, string path, string tag, LongArray brIds)
  810. {
  811. throw new NotImplementedException();
  812. }
  813. void IPlasticAPI.SetPermissions(string server, ObjectInfo obj, SEID seid, Permissions granted, Permissions denied, Permissions overrideGranted, Permissions overrideDenied)
  814. {
  815. throw new NotImplementedException();
  816. }
  817. void IPlasticAPI.RemovePermissions(string server, ObjectInfo obj, SEID seid)
  818. {
  819. throw new NotImplementedException();
  820. }
  821. IList<SecuredPathInfo> IPlasticAPI.GetAllSecuredPaths(RepositorySpec repSpec)
  822. {
  823. throw new NotImplementedException();
  824. }
  825. IList<SecuredPathInfo> IPlasticAPI.GetSecuredPaths(RepositorySpec repSpec, string path)
  826. {
  827. throw new NotImplementedException();
  828. }
  829. void IPlasticAPI.DownloadFileFromPath(List<ConfiguredPath> filePaths, WorkspaceInfo wkInfo, UpdateProgress updateProgress)
  830. {
  831. throw new NotImplementedException();
  832. }
  833. string IPlasticAPI.BuildWebApiTokenForCloudEditionDefaultUser()
  834. {
  835. throw new NotImplementedException();
  836. }
  837. string IPlasticAPI.BuildWebApiTokenForCloudEditionForUser(
  838. string server, SEIDWorkingMode workingMode, string seecurityConfig)
  839. {
  840. throw new NotImplementedException();
  841. }
  842. void IPlasticAPI.SaveToken(string server, string user, string token)
  843. {
  844. throw new NotImplementedException();
  845. }
  846. ServerProfile IPlasticAPI.SaveProfile(
  847. string server, SEIDWorkingMode workingMode, string user, string password)
  848. {
  849. throw new NotImplementedException();
  850. }
  851. void IPlasticAPI.SaveProfile(
  852. ServerProfile profile)
  853. {
  854. throw new NotImplementedException();
  855. }
  856. void IPlasticAPI.DeleteProfiles(List<Codice.Client.Common.ServerProfile> profiles)
  857. {
  858. throw new NotImplementedException();
  859. }
  860. void IPlasticAPI.SetDefaultProfileForServer(string server, ServerProfile profile)
  861. {
  862. throw new NotImplementedException();
  863. }
  864. IList<ServerProfile> IPlasticAPI.GetProfilesForServer(string server)
  865. {
  866. throw new NotImplementedException();
  867. }
  868. SEID IPlasticAPI.GetSeidFromProfile(ServerProfile profile)
  869. {
  870. throw new NotImplementedException();
  871. }
  872. bool IPlasticAPI.IsAdmin(SEID seid, string server)
  873. {
  874. throw new NotImplementedException();
  875. }
  876. ReviewInfo IPlasticAPI.GetReview(RepositorySpec repSpec, long reviewId)
  877. {
  878. throw new NotImplementedException();
  879. }
  880. bool IPlasticAPI.IsGluonWorkspace(WorkspaceInfo wkInfo)
  881. {
  882. throw new NotImplementedException();
  883. }
  884. void IPlasticAPI.SetAsGluonWorkspace(WorkspaceInfo wkInfo)
  885. {
  886. throw new NotImplementedException();
  887. }
  888. ConfigurationTreeNode IPlasticAPI.GetConfigurationTree(WorkspaceInfo wkInfo)
  889. {
  890. throw new NotImplementedException();
  891. }
  892. List<ConfigurationTreeNode> IPlasticAPI.GetConfigurationTreeNodeChildren(
  893. WorkspaceInfo wkInfo, MountPoint mount, string path, bool bOnlyControlled, FsReader fsReader)
  894. {
  895. throw new NotImplementedException();
  896. }
  897. ConfigurationTreeNode IPlasticAPI.GetLocalConfigurationTree(WorkspaceInfo wkInfo)
  898. {
  899. throw new NotImplementedException();
  900. }
  901. StatusLoader.ICalculatedStatus IPlasticAPI.CalculateConfigurationTreeStatus(
  902. WorkspaceInfo wkInfo, bool bSkipPrivate, FsReader fsReader, CancelToken cancelToken)
  903. {
  904. throw new NotImplementedException();
  905. }
  906. BranchInfo mWorkingBranch;
  907. Dictionary<string, WorkspaceTreeNode> mWorkspaceTreeNodes =
  908. new Dictionary<string, WorkspaceTreeNode>();
  909. }
  910. }