大家知道,Autodesk Vault 2014有幾個版本,依次為( Basic, Workgroup, Professional),不同版本的功能不相同,關於Vault產品功能的不同之處可以在Vault的產品主頁看到。但經常會有客戶問到Vault的API在不同版本下有什麼不同嗎? 或者要實現某個功能,在Vault Basic可以滿足需要嗎?畢竟大家都想盡可能的節約成本。
對於Vault API來說,各個版本的API功能區別主要體現在是否支援某些服務,這些服務的列表在Vault SDK的“Web Services”節中可以找到。為了方便,我總結了下面這個表格:
Vault Basic | Vault Workgroup | Vault Professional | |
AdminService Contains methods for manipulating users and groups. | ✓ | ✓ | ✓ |
AuthService | ✓ | ✓ | ✓ |
DocumentService Contains methods for manipulating files and folders within a vault. | ✓ | ✓ | ✓ |
FilestoreService A service for uploading and downloading binary file data. | ✓ | ✓ | ✓ |
FilestoreVaultService | ✓ | ✓ | ✓ |
KnowledgeVaultService | ✓ | ✓ | ✓ |
InformationService | ✓ | ✓ | ✓ |
IdentificationService | ✓ | ✓ | ✓ |
ItemService | ✓ | ✓ | ✓ |
BehaviorService | Limited | ✓ | ✓ |
CategoryService | Limited | ✓ | ✓ |
JobService | Limited | ✓ | ✓ |
LifeCycleService | Limited | ✓ | ✓ |
PropertyService | Limited | ✓ | ✓ |
ReplicationService | Limited | ✓ | ✓ |
RevisionService | Limited | ✓ | ✓ |
SecurityService | Limited | ✓ | ✓ |
ReplicationService | Limited | Limited | ✓ |
DocumentServiceExtensions | - | ✓ | ✓ |
ChangeOrderService | - | - | ✓ |
CustomEntityService | - | - | ✓ |
ForumService | - | - | ✓ |
ItemService | - | - | ✓ |
PackageService | - | - | ✓ |
WinAuthService | - | - | ✓ |
除此之外,Vault API還提供了方法來檢測你現在正在連線的vault伺服器的版本, Web Service API中的InformationService有GetSupportedProducts()方法可以用來判斷當前Vault伺服器所支援的Vault版本。另外,VDF還提供了一些有用的特性來檢查你是否正在使用適當的Vault版本,在VDF中的IVaultConnectManagerService,你可以使用SetProductRequirements()方法指定你的應用所需要的Vault版本,通過這樣的方法,你可以阻止應用連線到不支援的Vault版本。具體的用法,大家可以參考SDK中的線上幫助文件。