Interface ICustomPlmMetadataService
Interface for retrieving metadata from an external system.
Supported operations:
- Read type identifiers Reads available type identifiers for a given base type from an external system
- Read types Reads types for a given list of type identifiers from an external system
Namespace: CustomPLMService.Contract
Assembly: CustomPLMService.Contract.dll
Syntax
public interface ICustomPlmMetadataService
Methods
ReadTypeIdentifiers(BaseType, CancellationToken)
Reads available type identifiers for the given baseType
from an external system
Declaration
Task<IEnumerable<TypeId>> ReadTypeIdentifiers(BaseType baseType, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
BaseType | baseType | Base object type |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<IEnumerable<TypeId>> | List of available type identifiers |
ReadTypes(IEnumerable<TypeId>, CancellationToken)
Reads types for the given typeId
from an external system
Declaration
Task<IEnumerable<Type>> ReadTypes(IEnumerable<TypeId> typeId, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<TypeId> | typeId | List of type identifiers |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<IEnumerable<Type>> | List of types |