Vault 不同版本的API的異同

峻祁連發表於2013-12-17

大家知道,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
A service for authenticating to the Vault server.

 DocumentService
Contains methods for manipulating files and folders within a vault.
 FilestoreService
A service for uploading and downloading binary file data.

FilestoreVaultService
Information on the Knowledge Vaults.

KnowledgeVaultService
Contains methods for getting information about the vaults and options settings.

InformationService
Contains methods to determine information about the server and supported products

IdentificationService
Provides the locations of the data server and the filestore server.

ItemService
Contains methods for manipulating items.

BehaviorService
Contains methods for manipulating behaviors on Entities.

Limited

CategoryService
Contains methods for manipulating categories.

Limited

JobService
Contains methods for manipulating the job queue.

Limited

LifeCycleService
Contains methods for manipulating lifecycles on Entities.

Limited

PropertyService
Contains methods for manipulating properties on Entities.

Limited

ReplicationService
Contains methods for transfering ownerhsip between workgroups.

Limited

RevisionService
Contains methods for manipulating revision values and schemes for Entities.

Limited

SecurityService
Contains methods for setting security on specific Entities.

Limited

ReplicationService
Contains methods for transfering ownerhsip between workgroups.

Limited Limited

DocumentServiceExtensions
Contains more methods for manipulating files and folders within a vault.

-

ChangeOrderService
Contains methods for creating and manipulating change orders.

- -
 

CustomEntityService
Contains methods for creating and manipulating custom entities.

- -

ForumService
Contains methods for posting messages.

- -

ItemService
Contains methods for manipulating items.

- -

PackageService
Contains methods for importing and exporting item data

- -

WinAuthService
Contains methods for logging into and out of vaults using Windows credentials.

- -

除此之外,Vault API還提供了方法來檢測你現在正在連線的vault伺服器的版本, Web Service API中的InformationService有GetSupportedProducts()方法可以用來判斷當前Vault伺服器所支援的Vault版本。另外,VDF還提供了一些有用的特性來檢查你是否正在使用適當的Vault版本,在VDF中的IVaultConnectManagerService,你可以使用SetProductRequirements()方法指定你的應用所需要的Vault版本,通過這樣的方法,你可以阻止應用連線到不支援的Vault版本。具體的用法,大家可以參考SDK中的線上幫助文件。

相關文章