C# Класс NodeService.MappingToolService

Наследование: IMappingToolService
Показать файл Открыть проект

Открытые методы

Метод Описание
AddNode ( System.Guid domainId, SoapNodeType nodeType, string originalId ) : SoapNode
ConnectNodes ( System.Guid domainId, Guid>.Dictionary nodes, SoapRelationshipType relationshipType, string originalId ) : ConnectedNodesResult
CreateNewDomain ( string domainName ) : SoapNode
CreateNewMap ( System.Guid domainId, string mapName ) : System.Guid
DeleteMetadata ( MetadataContext context ) : DeleteResult
DeleteNode ( System.Guid domainId, System.Guid nodeId ) : DeleteResult
DeleteNodePromoteTransclusion ( System.Guid domainId, System.Guid mapIdToDeleteFrom, System.Guid nodeIdToDelete ) : DeleteResult
DeleteNodeTransclusion ( System.Guid domainId, System.Guid mapIdToDeleteFrom, System.Guid nodeIdToDelete ) : DeleteResult
DeleteRelationship ( System.Guid domainId, System.Guid relationshipId ) : DeleteResult
GetAllNodes ( System.Guid domainId ) : SoapNode>.Dictionary
GetAllSoapTypes ( ) : List
GetContainerMapNodeId ( System.Guid domainId, System.Guid nodeId ) : System.Guid
GetDomainMapNodes ( System.Guid domainId ) : RelatedNodesSearchResult
GetDomainMapNodes ( System.Guid domainId, int page, int pageSize ) : RelatedNodesSearchResult
GetDomainNodeId ( System.Guid domainId ) : System.Guid
GetDomainNodeIds ( ) : Guid>.Dictionary
GetMapsNodes ( System.Guid domainId, System.Guid mapNodeId ) : RelatedNodesSearchResult
GetNodes ( Guid>.Dictionary nodeIds ) : SoapNode>.Dictionary
GetNodesWithConditions ( System.Guid domainId, System.Guid nodeId, int maxDepth, List conditions ) : RelatedNodesSearchResult
GetNodesXmlQuery ( string graphQueryXml ) : RelatedNodesSearchResult
GetRelatedNodes ( System.Guid domainId, System.Guid nodeId, int depth ) : RelatedNodesSearchResult
InsertNodes ( System.Guid domainId, System.Guid mapId, string siteUrl, byte userToken, System.Guid webId, System.Guid listId, int itemId ) : void
MappingToolService ( ) : System
PasteNodeClone ( System.Guid domainId, System.Guid copiedNodeId ) : SoapNode
RenameNodeMetadata ( System.Guid domainId, System.Guid soapNodeId, System.Guid soapRelationshipId, SoapDescriptorType soapDescriptorType, string originalMetadataName, string newMetadataName ) : bool
UpdateNodeMetadata ( System.Guid domainId, System.Guid soapNodeId, System.Guid soapRelationshipId, SoapDescriptorType soapDescriptorType, string metadataName, string metadataValue, SoapMetadataType soapMetadataType ) : SoapNode

Приватные методы

Метод Описание
AddAllNodes ( INode nodes, SoapNodeType>.Dictionary soapNodeTypes, SoapMetadataType>.Dictionary soapMetaTypes, System.Guid domainUid, SoapNode>.Dictionary addedNodes ) : void
ConnectNodes ( INode nodes, SoapRelationshipType>.Dictionary soapRelTypes, SoapDescriptorType>.Dictionary soapDescTypes, System.Guid domainUid, SoapNode>.Dictionary addedNodes, SoapRelationship>.Dictionary addedRelationships, bool isDomainNodeMapNode ) : void
ConnectToMap ( System.Guid domainId, System.Guid mapId, System.Guid nodeId, SoapDescriptorType>.Dictionary soapDescTypes, SoapRelationshipType>.Dictionary soapRelTypes ) : ConnectedNodesResult
ContainsMetadataKeyName ( SoapNode soapNode, string keyName ) : bool

Tests for the existence of the metadata key name in all the metadata for a node. This is useful to work out if a node has any coordinates stored in the metadata for the context it is in.

CreateNode ( System.Guid nodeTypeId, string originalId ) : System.Data.Node
DeleteMetadata ( MetadataContext context, DeleteResult result, MappingToolDatabaseDataContext mappingDb, IQueryable deleteMetadatas ) : void
GetSoapTypes ( SoapNodeType>.Dictionary &soapNodeTypes, SoapRelationshipType>.Dictionary &soapRelTypes, SoapMetadataType>.Dictionary &soapMetaTypes, SoapDescriptorType>.Dictionary &soapDescTypes ) : void
IsNodeInMap ( System.Guid domainId, System.Guid mapId, System.Guid nodeId ) : bool
RecurseThroughGraph ( GraphQuery graphQuery, System.Data.Node currentNode, int currentDepth ) : List
RecurseThroughLevels ( SoapNode>.Dictionary nodes, System.Guid domainId, System.Data.Node currentNode, System.Data.Node initialSearchNode, int depth, List conditions ) : void
SetMetadata ( INode nodes, SoapRelationshipType>.Dictionary soapNodeTypes, SoapMetadataType>.Dictionary soapMetaTypes, SoapDescriptorType>.Dictionary soapDescTypes, System.Guid domainUid, SoapNode>.Dictionary addedNodes, SoapRelationship>.Dictionary addedRelationships, bool isDomainNodeRoot ) : void
UpdateMetadata ( MappingToolDatabaseDataContext mappingDb, System.Guid soapNodeId, System.Guid soapRelationshipId, SoapDescriptorType soapDescriptorType, string metadataName, string metadataValue, SoapMetadataType soapMetadataType, System.Data.Node node ) : SoapMetadata

Описание методов

AddNode() публичный Метод

public AddNode ( System.Guid domainId, SoapNodeType nodeType, string originalId ) : SoapNode
domainId System.Guid
nodeType SoapNodeType
originalId string
Результат SoapNode

ConnectNodes() публичный Метод

public ConnectNodes ( System.Guid domainId, Guid>.Dictionary nodes, SoapRelationshipType relationshipType, string originalId ) : ConnectedNodesResult
domainId System.Guid
nodes Guid>.Dictionary
relationshipType SoapRelationshipType
originalId string
Результат ConnectedNodesResult

CreateNewDomain() публичный Метод

public CreateNewDomain ( string domainName ) : SoapNode
domainName string
Результат SoapNode

CreateNewMap() публичный Метод

public CreateNewMap ( System.Guid domainId, string mapName ) : System.Guid
domainId System.Guid
mapName string
Результат System.Guid

DeleteMetadata() публичный Метод

public DeleteMetadata ( MetadataContext context ) : DeleteResult
context MetadataContext
Результат DeleteResult

DeleteNode() публичный Метод

public DeleteNode ( System.Guid domainId, System.Guid nodeId ) : DeleteResult
domainId System.Guid
nodeId System.Guid
Результат DeleteResult

DeleteNodePromoteTransclusion() публичный Метод

public DeleteNodePromoteTransclusion ( System.Guid domainId, System.Guid mapIdToDeleteFrom, System.Guid nodeIdToDelete ) : DeleteResult
domainId System.Guid
mapIdToDeleteFrom System.Guid
nodeIdToDelete System.Guid
Результат DeleteResult

DeleteNodeTransclusion() публичный Метод

public DeleteNodeTransclusion ( System.Guid domainId, System.Guid mapIdToDeleteFrom, System.Guid nodeIdToDelete ) : DeleteResult
domainId System.Guid
mapIdToDeleteFrom System.Guid
nodeIdToDelete System.Guid
Результат DeleteResult

DeleteRelationship() публичный Метод

public DeleteRelationship ( System.Guid domainId, System.Guid relationshipId ) : DeleteResult
domainId System.Guid
relationshipId System.Guid
Результат DeleteResult

GetAllNodes() публичный Метод

public GetAllNodes ( System.Guid domainId ) : SoapNode>.Dictionary
domainId System.Guid
Результат SoapNode>.Dictionary

GetAllSoapTypes() публичный Метод

public GetAllSoapTypes ( ) : List
Результат List

GetContainerMapNodeId() публичный Метод

public GetContainerMapNodeId ( System.Guid domainId, System.Guid nodeId ) : System.Guid
domainId System.Guid
nodeId System.Guid
Результат System.Guid

GetDomainMapNodes() публичный Метод

public GetDomainMapNodes ( System.Guid domainId ) : RelatedNodesSearchResult
domainId System.Guid
Результат RelatedNodesSearchResult

GetDomainMapNodes() публичный Метод

public GetDomainMapNodes ( System.Guid domainId, int page, int pageSize ) : RelatedNodesSearchResult
domainId System.Guid
page int
pageSize int
Результат RelatedNodesSearchResult

GetDomainNodeId() публичный Метод

public GetDomainNodeId ( System.Guid domainId ) : System.Guid
domainId System.Guid
Результат System.Guid

GetDomainNodeIds() публичный Метод

public GetDomainNodeIds ( ) : Guid>.Dictionary
Результат Guid>.Dictionary

GetMapsNodes() публичный Метод

public GetMapsNodes ( System.Guid domainId, System.Guid mapNodeId ) : RelatedNodesSearchResult
domainId System.Guid
mapNodeId System.Guid
Результат RelatedNodesSearchResult

GetNodes() публичный Метод

public GetNodes ( Guid>.Dictionary nodeIds ) : SoapNode>.Dictionary
nodeIds Guid>.Dictionary
Результат SoapNode>.Dictionary

GetNodesWithConditions() публичный Метод

public GetNodesWithConditions ( System.Guid domainId, System.Guid nodeId, int maxDepth, List conditions ) : RelatedNodesSearchResult
domainId System.Guid
nodeId System.Guid
maxDepth int
conditions List
Результат RelatedNodesSearchResult

GetNodesXmlQuery() публичный Метод

public GetNodesXmlQuery ( string graphQueryXml ) : RelatedNodesSearchResult
graphQueryXml string
Результат RelatedNodesSearchResult

GetRelatedNodes() публичный Метод

public GetRelatedNodes ( System.Guid domainId, System.Guid nodeId, int depth ) : RelatedNodesSearchResult
domainId System.Guid
nodeId System.Guid
depth int
Результат RelatedNodesSearchResult

InsertNodes() публичный Метод

public InsertNodes ( System.Guid domainId, System.Guid mapId, string siteUrl, byte userToken, System.Guid webId, System.Guid listId, int itemId ) : void
domainId System.Guid
mapId System.Guid
siteUrl string
userToken byte
webId System.Guid
listId System.Guid
itemId int
Результат void

MappingToolService() публичный Метод

public MappingToolService ( ) : System
Результат System

PasteNodeClone() публичный Метод

public PasteNodeClone ( System.Guid domainId, System.Guid copiedNodeId ) : SoapNode
domainId System.Guid
copiedNodeId System.Guid
Результат SoapNode

RenameNodeMetadata() публичный Метод

public RenameNodeMetadata ( System.Guid domainId, System.Guid soapNodeId, System.Guid soapRelationshipId, SoapDescriptorType soapDescriptorType, string originalMetadataName, string newMetadataName ) : bool
domainId System.Guid
soapNodeId System.Guid
soapRelationshipId System.Guid
soapDescriptorType SoapDescriptorType
originalMetadataName string
newMetadataName string
Результат bool

UpdateNodeMetadata() публичный Метод

public UpdateNodeMetadata ( System.Guid domainId, System.Guid soapNodeId, System.Guid soapRelationshipId, SoapDescriptorType soapDescriptorType, string metadataName, string metadataValue, SoapMetadataType soapMetadataType ) : SoapNode
domainId System.Guid
soapNodeId System.Guid
soapRelationshipId System.Guid
soapDescriptorType SoapDescriptorType
metadataName string
metadataValue string
soapMetadataType SoapMetadataType
Результат SoapNode