C# Class TransactionalNodeService.TransactionalMappingToolService

Inheritance: ITransactionalMappingToolService
Mostra file Open project: chris-tomich/Glyma

Private Properties

Property Type Description
CompressBulkOperationsResponse string
DecompressBulkOperations TransactionalNodeService.Common.NodeServiceOperations.Bulk.BulkOperations

Public Methods

Method Description
AddBulkMetadata ( string callingUrl, System.Guid sessionId, System.Guid responseParameter, MapParameter domainId, MapParameter rootMapId, MapParameter node, MapParameter relationship, DescriptorType descriptorType, MetadataType metadataType, string name, string value ) : MapParameter
AddBulkNode ( string callingUrl, System.Guid sessionId, System.Guid responseParameter, MapParameter domainId, MapParameter rootMapId, NodeType nodeType, string originalId ) : MapParameter
AddBulkRelationship ( string callingUrl, System.Guid sessionId, System.Guid responseParameter, MapParameter domainId, MapParameter rootMapId, MapParameter>.Dictionary nodes, RelationshipType relationshipType, string originalId ) : MapParameter
AddMetadata ( string callingUrl, System.Guid sessionId, MapParameter domainId, MapParameter rootMapId, MapParameter node, MapParameter relationship, DescriptorType descriptorType, MetadataType metadataType, string name, string value ) : MapParameter
AddNode ( string callingUrl, System.Guid sessionId, MapParameter domainId, MapParameter rootMapId, NodeType nodeType, string originalId ) : MapParameter
AddRelationship ( string callingUrl, System.Guid sessionId, MapParameter domainId, MapParameter rootMapId, MapParameter>.Dictionary nodes, RelationshipType relationshipType, string originalId ) : MapParameter
BeginTransaction ( string callingUrl ) : System.Guid
CompleteTransaction ( string callingUrl, System.Guid sessionId ) : MapResponse
CreateDomain ( string callingUrl, string name ) : MapResponse
CreateRootMap ( string callingUrl, System.Guid domainId, string name, NodeType nodeType, string originalId ) : QueryResponse
DeleteBulkMetadata ( string callingUrl, System.Guid sessionId, System.Guid responseParameter, MapParameter domainId, MapParameter metadata ) : MapParameter
DeleteBulkNode ( string callingUrl, System.Guid sessionId, System.Guid responseParameter, MapParameter domainId, MapParameter nodeId ) : MapParameter
DeleteBulkRelationship ( string callingUrl, System.Guid sessionId, System.Guid responseParameter, MapParameter domainId, MapParameter relationshipId ) : MapParameter
DeleteDomain ( string callingUrl, System.Guid domainId ) : int
DeleteMetadata ( string callingUrl, System.Guid sessionId, MapParameter domainId, MapParameter metadata ) : MapParameter
DeleteNode ( string callingUrl, System.Guid sessionId, MapParameter domainId, MapParameter nodeId ) : MapParameter
DeleteRelationship ( string callingUrl, System.Guid sessionId, MapParameter domainId, MapParameter relationshipId ) : MapParameter
DeleteRootMap ( string callingUrl, System.Guid domainId, System.Guid rootMapId ) : int
GetAllMapTypes ( string callingUrl ) : TypeResponse
GetApplicationVersion ( ) : GlymaVersion
IsSessionCompleted ( string callingUrl, System.Guid sessionId ) : bool
QueryDomains ( string callingUrl ) : QueryResponse>.Dictionary
QueryMap ( string callingUrl, System.Guid domainId, System.Guid nodeId, int maxDepth, EdgeConditions edgeConditions, FilterConditions filterConditions ) : QueryResponse
QueryMapByDomain ( string callingUrl, System.Guid domainId, int maxDepth, EdgeConditions edgeConditions, FilterConditions filterConditions ) : QueryResponse
QueryMapPaged ( string callingUrl, System.Guid domainId, System.Guid nodeId, int maxDepth, EdgeConditions edgeConditions, FilterConditions filterConditions, int objectIndex ) : QueryResponse
SearchMap ( string callingUrl, System.Guid domainId, System.Guid rootMapUid, SearchConditions conditions, int pageNumber = 1, int pageSize = 5 ) : SearchMapResult

TODO: This method needs to be moved from here as it makes calls to schema specific methods.

SubmitBulkOperations ( string callingUrl, System.Guid sessionId, BulkOperations operations ) : List
SubmitCompressedBulkOperations ( string callingUrl, System.Guid sessionId, string compressedOperations ) : string
UpdateBulkMetadata ( string callingUrl, System.Guid sessionId, System.Guid responseParameter, MapParameter domainId, MapParameter metadata, string name, string value ) : MapParameter
UpdateBulkNode ( string callingUrl, System.Guid sessionId, System.Guid responseParameter, MapParameter domainId, MapParameter nodeId, NodeType nodeType ) : MapParameter
UpdateBulkRelationship ( string callingUrl, System.Guid sessionId, System.Guid responseParameter, MapParameter domainId, MapParameter relationshipId, MapParameter>.Dictionary nodes, RelationshipType relationshipType ) : MapParameter
UpdateMetadata ( string callingUrl, System.Guid sessionId, MapParameter domainId, MapParameter metadata, string name, string value ) : MapParameter
UpdateNode ( string callingUrl, System.Guid sessionId, MapParameter domainId, MapParameter nodeId, NodeType nodeType ) : MapParameter
UpdateRelationship ( string callingUrl, System.Guid sessionId, MapParameter domainId, MapParameter relationshipId, MapParameter>.Dictionary nodes, RelationshipType relationshipType ) : MapParameter

Private Methods

Method Description
CompressBulkOperationsResponse ( List bulkOperationsResponses ) : string
DecompressBulkOperations ( string compressedOperations ) : BulkOperations

Method Details

AddBulkMetadata() public method

public AddBulkMetadata ( string callingUrl, System.Guid sessionId, System.Guid responseParameter, MapParameter domainId, MapParameter rootMapId, MapParameter node, MapParameter relationship, DescriptorType descriptorType, MetadataType metadataType, string name, string value ) : MapParameter
callingUrl string
sessionId System.Guid
responseParameter System.Guid
domainId MapParameter
rootMapId MapParameter
node MapParameter
relationship MapParameter
descriptorType TransactionalNodeService.Common.Model.DescriptorType
metadataType TransactionalNodeService.Common.Model.MetadataType
name string
value string
return MapParameter

AddBulkNode() public method

public AddBulkNode ( string callingUrl, System.Guid sessionId, System.Guid responseParameter, MapParameter domainId, MapParameter rootMapId, NodeType nodeType, string originalId ) : MapParameter
callingUrl string
sessionId System.Guid
responseParameter System.Guid
domainId MapParameter
rootMapId MapParameter
nodeType TransactionalNodeService.Common.Model.NodeType
originalId string
return MapParameter

AddBulkRelationship() public method

public AddBulkRelationship ( string callingUrl, System.Guid sessionId, System.Guid responseParameter, MapParameter domainId, MapParameter rootMapId, MapParameter>.Dictionary nodes, RelationshipType relationshipType, string originalId ) : MapParameter
callingUrl string
sessionId System.Guid
responseParameter System.Guid
domainId MapParameter
rootMapId MapParameter
nodes MapParameter>.Dictionary
relationshipType TransactionalNodeService.Common.Model.RelationshipType
originalId string
return MapParameter

AddMetadata() public method

public AddMetadata ( string callingUrl, System.Guid sessionId, MapParameter domainId, MapParameter rootMapId, MapParameter node, MapParameter relationship, DescriptorType descriptorType, MetadataType metadataType, string name, string value ) : MapParameter
callingUrl string
sessionId System.Guid
domainId MapParameter
rootMapId MapParameter
node MapParameter
relationship MapParameter
descriptorType TransactionalNodeService.Common.Model.DescriptorType
metadataType TransactionalNodeService.Common.Model.MetadataType
name string
value string
return MapParameter

AddNode() public method

public AddNode ( string callingUrl, System.Guid sessionId, MapParameter domainId, MapParameter rootMapId, NodeType nodeType, string originalId ) : MapParameter
callingUrl string
sessionId System.Guid
domainId MapParameter
rootMapId MapParameter
nodeType TransactionalNodeService.Common.Model.NodeType
originalId string
return MapParameter

AddRelationship() public method

public AddRelationship ( string callingUrl, System.Guid sessionId, MapParameter domainId, MapParameter rootMapId, MapParameter>.Dictionary nodes, RelationshipType relationshipType, string originalId ) : MapParameter
callingUrl string
sessionId System.Guid
domainId MapParameter
rootMapId MapParameter
nodes MapParameter>.Dictionary
relationshipType TransactionalNodeService.Common.Model.RelationshipType
originalId string
return MapParameter

BeginTransaction() public method

public BeginTransaction ( string callingUrl ) : System.Guid
callingUrl string
return System.Guid

CompleteTransaction() public method

public CompleteTransaction ( string callingUrl, System.Guid sessionId ) : MapResponse
callingUrl string
sessionId System.Guid
return MapResponse

CreateDomain() public method

public CreateDomain ( string callingUrl, string name ) : MapResponse
callingUrl string
name string
return MapResponse

CreateRootMap() public method

public CreateRootMap ( string callingUrl, System.Guid domainId, string name, NodeType nodeType, string originalId ) : QueryResponse
callingUrl string
domainId System.Guid
name string
nodeType TransactionalNodeService.Common.Model.NodeType
originalId string
return QueryResponse

DeleteBulkMetadata() public method

public DeleteBulkMetadata ( string callingUrl, System.Guid sessionId, System.Guid responseParameter, MapParameter domainId, MapParameter metadata ) : MapParameter
callingUrl string
sessionId System.Guid
responseParameter System.Guid
domainId MapParameter
metadata MapParameter
return MapParameter

DeleteBulkNode() public method

public DeleteBulkNode ( string callingUrl, System.Guid sessionId, System.Guid responseParameter, MapParameter domainId, MapParameter nodeId ) : MapParameter
callingUrl string
sessionId System.Guid
responseParameter System.Guid
domainId MapParameter
nodeId MapParameter
return MapParameter

DeleteBulkRelationship() public method

public DeleteBulkRelationship ( string callingUrl, System.Guid sessionId, System.Guid responseParameter, MapParameter domainId, MapParameter relationshipId ) : MapParameter
callingUrl string
sessionId System.Guid
responseParameter System.Guid
domainId MapParameter
relationshipId MapParameter
return MapParameter

DeleteDomain() public method

public DeleteDomain ( string callingUrl, System.Guid domainId ) : int
callingUrl string
domainId System.Guid
return int

DeleteMetadata() public method

public DeleteMetadata ( string callingUrl, System.Guid sessionId, MapParameter domainId, MapParameter metadata ) : MapParameter
callingUrl string
sessionId System.Guid
domainId MapParameter
metadata MapParameter
return MapParameter

DeleteNode() public method

public DeleteNode ( string callingUrl, System.Guid sessionId, MapParameter domainId, MapParameter nodeId ) : MapParameter
callingUrl string
sessionId System.Guid
domainId MapParameter
nodeId MapParameter
return MapParameter

DeleteRelationship() public method

public DeleteRelationship ( string callingUrl, System.Guid sessionId, MapParameter domainId, MapParameter relationshipId ) : MapParameter
callingUrl string
sessionId System.Guid
domainId MapParameter
relationshipId MapParameter
return MapParameter

DeleteRootMap() public method

public DeleteRootMap ( string callingUrl, System.Guid domainId, System.Guid rootMapId ) : int
callingUrl string
domainId System.Guid
rootMapId System.Guid
return int

GetAllMapTypes() public method

public GetAllMapTypes ( string callingUrl ) : TypeResponse
callingUrl string
return TransactionalNodeService.Common.TypeResponse

GetApplicationVersion() public method

public GetApplicationVersion ( ) : GlymaVersion
return TransactionalNodeService.Common.Model.GlymaVersion

IsSessionCompleted() public method

public IsSessionCompleted ( string callingUrl, System.Guid sessionId ) : bool
callingUrl string
sessionId System.Guid
return bool

QueryDomains() public method

public QueryDomains ( string callingUrl ) : QueryResponse>.Dictionary
callingUrl string
return QueryResponse>.Dictionary

QueryMap() public method

public QueryMap ( string callingUrl, System.Guid domainId, System.Guid nodeId, int maxDepth, EdgeConditions edgeConditions, FilterConditions filterConditions ) : QueryResponse
callingUrl string
domainId System.Guid
nodeId System.Guid
maxDepth int
edgeConditions TransactionalNodeService.Common.EdgeConditions
filterConditions FilterConditions
return QueryResponse

QueryMapByDomain() public method

public QueryMapByDomain ( string callingUrl, System.Guid domainId, int maxDepth, EdgeConditions edgeConditions, FilterConditions filterConditions ) : QueryResponse
callingUrl string
domainId System.Guid
maxDepth int
edgeConditions TransactionalNodeService.Common.EdgeConditions
filterConditions FilterConditions
return QueryResponse

QueryMapPaged() public method

public QueryMapPaged ( string callingUrl, System.Guid domainId, System.Guid nodeId, int maxDepth, EdgeConditions edgeConditions, FilterConditions filterConditions, int objectIndex ) : QueryResponse
callingUrl string
domainId System.Guid
nodeId System.Guid
maxDepth int
edgeConditions TransactionalNodeService.Common.EdgeConditions
filterConditions FilterConditions
objectIndex int
return QueryResponse

SearchMap() public method

TODO: This method needs to be moved from here as it makes calls to schema specific methods.
public SearchMap ( string callingUrl, System.Guid domainId, System.Guid rootMapUid, SearchConditions conditions, int pageNumber = 1, int pageSize = 5 ) : SearchMapResult
callingUrl string
domainId System.Guid
rootMapUid System.Guid
conditions SearchConditions
pageNumber int
pageSize int
return SearchMapResult

SubmitBulkOperations() public method

public SubmitBulkOperations ( string callingUrl, System.Guid sessionId, BulkOperations operations ) : List
callingUrl string
sessionId System.Guid
operations TransactionalNodeService.Common.NodeServiceOperations.Bulk.BulkOperations
return List

SubmitCompressedBulkOperations() public method

public SubmitCompressedBulkOperations ( string callingUrl, System.Guid sessionId, string compressedOperations ) : string
callingUrl string
sessionId System.Guid
compressedOperations string
return string

UpdateBulkMetadata() public method

public UpdateBulkMetadata ( string callingUrl, System.Guid sessionId, System.Guid responseParameter, MapParameter domainId, MapParameter metadata, string name, string value ) : MapParameter
callingUrl string
sessionId System.Guid
responseParameter System.Guid
domainId MapParameter
metadata MapParameter
name string
value string
return MapParameter

UpdateBulkNode() public method

public UpdateBulkNode ( string callingUrl, System.Guid sessionId, System.Guid responseParameter, MapParameter domainId, MapParameter nodeId, NodeType nodeType ) : MapParameter
callingUrl string
sessionId System.Guid
responseParameter System.Guid
domainId MapParameter
nodeId MapParameter
nodeType TransactionalNodeService.Common.Model.NodeType
return MapParameter

UpdateBulkRelationship() public method

public UpdateBulkRelationship ( string callingUrl, System.Guid sessionId, System.Guid responseParameter, MapParameter domainId, MapParameter relationshipId, MapParameter>.Dictionary nodes, RelationshipType relationshipType ) : MapParameter
callingUrl string
sessionId System.Guid
responseParameter System.Guid
domainId MapParameter
relationshipId MapParameter
nodes MapParameter>.Dictionary
relationshipType TransactionalNodeService.Common.Model.RelationshipType
return MapParameter

UpdateMetadata() public method

public UpdateMetadata ( string callingUrl, System.Guid sessionId, MapParameter domainId, MapParameter metadata, string name, string value ) : MapParameter
callingUrl string
sessionId System.Guid
domainId MapParameter
metadata MapParameter
name string
value string
return MapParameter

UpdateNode() public method

public UpdateNode ( string callingUrl, System.Guid sessionId, MapParameter domainId, MapParameter nodeId, NodeType nodeType ) : MapParameter
callingUrl string
sessionId System.Guid
domainId MapParameter
nodeId MapParameter
nodeType TransactionalNodeService.Common.Model.NodeType
return MapParameter

UpdateRelationship() public method

public UpdateRelationship ( string callingUrl, System.Guid sessionId, MapParameter domainId, MapParameter relationshipId, MapParameter>.Dictionary nodes, RelationshipType relationshipType ) : MapParameter
callingUrl string
sessionId System.Guid
domainId MapParameter
relationshipId MapParameter
nodes MapParameter>.Dictionary
relationshipType TransactionalNodeService.Common.Model.RelationshipType
return MapParameter