IEntityOperationProvider Interface
Autodesk.DataManagement.Client.Framework.Vault›Autodesk.DataManagement.Client.Framework.Vault.Interfaces
This interface provides a set of operations that can be generically executed for any Autodesk.DataManagement.Client.Framework.Vault.Currency.Entities.IEntity. This allows for the writing of business logic that isn't file, or item, or folder specific. An implementation of this interface represents a particular Entity class
Syntax
public interface IEntityOperationProvider Public Interface IEntityOperationProvider Properties
| Name | Description |
|---|---|
| SupportedEntityClasses | Gets a list of Entity class IDs for the entity classes that are provided for by this Provider |
Methods
| Name | Description |
|---|---|
| CanBrowseChildren | Determines if the specified entity is browsable. This just means that it CAN have children, not that it necessarily does |
| CanDownloadOrCheckoutEntities | Determines if the list of entities are eligible for the Get/Checkout workflow. |
| ConvertEntInfosToEntities | Converts a list of PersistableIdEntInfo objects to the IEntity implementation of the entities that they represent |
| ConvertLinksToEntities | Converts a list of links to the entities that they point to |
| GetBrowseChildren | Gets all of the children for a specific entity for a browse workflow. A Browse Vault workflow is one where the user is presented with a list of entities, and they double click on the entity to drill down to it's children. A folder would return a list of child folders, files and links. An Assembly file may return a list of all parts for that assembly. |
| GetParent | Gets the parent of an entity. |
| GetSelectableRevisions | Gets a list of revisions that can be selected by a user for a given entity |