Class DcmSchemaManager
Represents class for the DCM schema manager.
Inheritance
System.Object
DcmSchemaManager
Implements
Inherited Members
SchemaManager<DcmSchema>.SaveSchema(ISchemaManagerItem<DcmSchema>, UserConnection, Boolean, Boolean)
SchemaManager<DcmSchema>.GetReadableSchemaMetaDataText(MetaSchema, UserConnection, Boolean, Boolean)
Manager<ISchemaManagerItem<DcmSchema>, DcmSchema>.FindItem(Predicate<ISchemaManagerItem<DcmSchema>>)
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.DcmProcess
Assembly: Terrasoft.Core.dll
Syntax
public class DcmSchemaManager : BaseProcessSchemaManager<DcmSchema>, IManager<ISchemaManagerItem<DcmSchema>, DcmSchema>, ISourceCodeSchemaManager, IBaseProcessSchemaManager, ISchemaManager, IManager
Properties
CanUseUserProperties
Gets a value indicating whether this instance can use user properties.
Declaration
protected override bool CanUseUserProperties { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Terrasoft.Core.SchemaManager<Terrasoft.Core.DcmProcess.DcmSchema>.CanUseUserProperties
ItemCaption
Gets item caption.
Declaration
public override string ItemCaption { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Terrasoft.Core.SchemaManager<Terrasoft.Core.DcmProcess.DcmSchema>.ItemCaption
ItemTypeName
Gets item name.
Declaration
protected override string ItemTypeName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Terrasoft.Core.SchemaManager<Terrasoft.Core.DcmProcess.DcmSchema>.ItemTypeName
ResourceManagerName
Gets the name of the resource manager.
Declaration
public override string ResourceManagerName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Terrasoft.Core.FileSystemEnabledSchemaManager<Terrasoft.Core.DcmProcess.DcmSchema>.ResourceManagerName
SysSchemaUserPropertyRightsOperations
Declaration
protected override string[] SysSchemaUserPropertyRightsOperations { get; }
Property Value
Type | Description |
---|---|
System.String[] |
Overrides
Terrasoft.Core.SchemaManager<Terrasoft.Core.DcmProcess.DcmSchema>.SysSchemaUserPropertyRightsOperations
Methods
CheckOperationUserRights(UserConnection)
Checks user rights for manage schema.
Declaration
protected override bool CheckOperationUserRights(UserConnection userConnection)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection | The user connection. |
Returns
Type | Description |
---|---|
System.Boolean | Flag that indicates if user have rights |
Overrides
Terrasoft.Core.SchemaManager<Terrasoft.Core.DcmProcess.DcmSchema>.CheckOperationUserRights(Terrasoft.Core.UserConnection)
CreateInterpretationValidator(UserConnection)
Gets the interpretation validator for process schema.
Declaration
protected override IInterpretationValidator<DcmSchema> CreateInterpretationValidator(UserConnection userConnection)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection | The user connection. |
Returns
Type | Description |
---|---|
IInterpretationValidator<DcmSchema> | Interpretation validator instance. |
Overrides
Terrasoft.Core.Process.BaseProcessSchemaManager<Terrasoft.Core.DcmProcess.DcmSchema>.CreateInterpretationValidator(Terrasoft.Core.UserConnection)
Exceptions
Type | Condition |
---|---|
System.NotImplementedException |
CreateItem()
Creates the item.
Declaration
protected override ISchemaManagerItem<DcmSchema> CreateItem()
Returns
Type | Description |
---|---|
ISchemaManagerItem<DcmSchema> | Item instance. |
Overrides
Terrasoft.Core.Process.BaseProcessSchemaManager<Terrasoft.Core.DcmProcess.DcmSchema>.CreateItem()
GetGenerator(UserConnection)
The method is not implemented.
Declaration
public override SchemaCodeGenerator<DcmSchema> GetGenerator(UserConnection userConnection)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection |
Returns
Type | Description |
---|---|
SchemaCodeGenerator<DcmSchema> |
Overrides
Terrasoft.Core.SchemaManager<Terrasoft.Core.DcmProcess.DcmSchema>.GetGenerator(Terrasoft.Core.UserConnection)
GetSchemaSources(DcmSchema, Guid, UserConnection)
Returns entity collection, which contains schema sources. Since the dcm schema has no sources it will return an empty collection.
Declaration
protected override EntityCollection GetSchemaSources(DcmSchema schema, Guid schemaId, UserConnection userConnection)
Parameters
Type | Name | Description |
---|---|---|
DcmSchema | schema | The schema. |
System.Guid | schemaId | The schema Id. |
UserConnection | userConnection | The user connection. |
Returns
Type | Description |
---|---|
EntityCollection | Schema sources. |
Overrides
Terrasoft.Core.Process.BaseProcessSchemaManager<Terrasoft.Core.DcmProcess.DcmSchema>.GetSchemaSources(Terrasoft.Core.DcmProcess.DcmSchema, System.Guid, Terrasoft.Core.UserConnection)
InitializeDefSchema()
Initializes the schema which is used as default parent schema.
Declaration
protected override DcmSchema InitializeDefSchema()
Returns
Type | Description |
---|---|
DcmSchema | Default Dcm schema |
Overrides
Terrasoft.Core.SchemaManager<Terrasoft.Core.DcmProcess.DcmSchema>.InitializeDefSchema()