Class BaseProcessSchemaManagerService<TManager, TSchema>
The base class that provides common operations to manipulate with Process and Dcm schemas.
Inheritance
System.Object
BaseProcessSchemaManagerService<TManager, TSchema>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Core.ServiceModel
Assembly: Terrasoft.Core.ServiceModel.dll
Syntax
public abstract class BaseProcessSchemaManagerService<TManager, TSchema> : BaseSchemaService where TManager : BaseProcessSchemaManager<TSchema> where TSchema : BaseProcessSchema, ISchemaManagerSchema<TSchema>, IManagerItemInstance, ICloneable
Type Parameters
Name | Description |
---|---|
TManager | |
TSchema |
Properties
Manager
Declaration
protected abstract TManager Manager { get; }
Property Value
Type | Description |
---|---|
TManager |
Methods
GetActualVersionUId(String)
Gets unique identifier of process schema's actual version.
Declaration
public ActualVersionSchemaInfoResponse GetActualVersionUId(string schemaUId)
Parameters
Type | Name | Description |
---|---|---|
System.String | schemaUId | The schema UId. |
Returns
Type | Description |
---|---|
ActualVersionSchemaInfoResponse |
GetSchemaVersionInfo(String, String)
Returns schema version info.
Declaration
public SchemaVersionInfoResponse GetSchemaVersionInfo(string parentSchemaUId, string packageUId)
Parameters
Type | Name | Description |
---|---|---|
System.String | parentSchemaUId | The unique identifier of the parent schema. |
System.String | packageUId | The unique identifier of the package. |
Returns
Type | Description |
---|---|
SchemaVersionInfoResponse | String that contains the json object. |
SetIsActualVersion(String)
Sets schema as actual by UId.
Declaration
public BaseResponse SetIsActualVersion(string schemaUId)
Parameters
Type | Name | Description |
---|---|---|
System.String | schemaUId | The schema UId. |
Returns
Type | Description |
---|---|
BaseResponse |