C# Class Glyma.NodeServiceApp.NodeServiceClient

Inheritance: IDisposable
Mostra file Open project: chris-tomich/Glyma Class Usage Examples

Public Methods

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

Method Details

AddBulkMetadata() public method

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

AddBulkNode() public method

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

AddBulkRelationship() public method

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

AddMetadata() public method

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

AddNode() public method

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

AddRelationship() public method

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

BeginTransaction() public method

public BeginTransaction ( GlymaSessionConfiguration configuration ) : System.Guid
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
return System.Guid

CompleteTransaction() public method

public CompleteTransaction ( GlymaSessionConfiguration configuration, System.Guid sessionId ) : MapResponse
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
sessionId System.Guid
return TransactionalNodeService.Common.MapResponse

CreateDomain() public method

public CreateDomain ( GlymaSessionConfiguration configuration, string name ) : MapResponse
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
name string
return TransactionalNodeService.Common.MapResponse

CreateRootMap() public method

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

DeleteBulkMetadata() public method

public DeleteBulkMetadata ( GlymaSessionConfiguration configuration, System.Guid sessionId, System.Guid responseParameter, MapParameter domainId, MapParameter metadata ) : MapParameter
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
sessionId System.Guid
responseParameter System.Guid
domainId TransactionalNodeService.Common.MapParameter
metadata TransactionalNodeService.Common.MapParameter
return TransactionalNodeService.Common.MapParameter

DeleteBulkNode() public method

public DeleteBulkNode ( GlymaSessionConfiguration configuration, System.Guid sessionId, System.Guid responseParameter, MapParameter domainId, MapParameter nodeId ) : MapParameter
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
sessionId System.Guid
responseParameter System.Guid
domainId TransactionalNodeService.Common.MapParameter
nodeId TransactionalNodeService.Common.MapParameter
return TransactionalNodeService.Common.MapParameter

DeleteBulkRelationship() public method

public DeleteBulkRelationship ( GlymaSessionConfiguration configuration, System.Guid sessionId, System.Guid responseParameter, MapParameter domainId, MapParameter relationshipId ) : MapParameter
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
sessionId System.Guid
responseParameter System.Guid
domainId TransactionalNodeService.Common.MapParameter
relationshipId TransactionalNodeService.Common.MapParameter
return TransactionalNodeService.Common.MapParameter

DeleteDomain() public method

public DeleteDomain ( GlymaSessionConfiguration configuration, System.Guid domainId ) : int
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
domainId System.Guid
return int

DeleteMetadata() public method

public DeleteMetadata ( GlymaSessionConfiguration configuration, System.Guid sessionId, MapParameter domainId, MapParameter metadata ) : MapParameter
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
sessionId System.Guid
domainId TransactionalNodeService.Common.MapParameter
metadata TransactionalNodeService.Common.MapParameter
return TransactionalNodeService.Common.MapParameter

DeleteNode() public method

public DeleteNode ( GlymaSessionConfiguration configuration, System.Guid sessionId, MapParameter domainId, MapParameter nodeId ) : MapParameter
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
sessionId System.Guid
domainId TransactionalNodeService.Common.MapParameter
nodeId TransactionalNodeService.Common.MapParameter
return TransactionalNodeService.Common.MapParameter

DeleteRelationship() public method

public DeleteRelationship ( GlymaSessionConfiguration configuration, System.Guid sessionId, MapParameter domainId, MapParameter relationshipId ) : MapParameter
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
sessionId System.Guid
domainId TransactionalNodeService.Common.MapParameter
relationshipId TransactionalNodeService.Common.MapParameter
return TransactionalNodeService.Common.MapParameter

DeleteRootMap() public method

public DeleteRootMap ( GlymaSessionConfiguration configuration, System.Guid domainId, System.Guid rootMapId ) : int
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
domainId System.Guid
rootMapId System.Guid
return int

Dispose() public method

public Dispose ( ) : void
return void

GetAllMapTypes() public method

public GetAllMapTypes ( GlymaSessionConfiguration configuration ) : TypeResponse
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
return TransactionalNodeService.Common.TypeResponse

GetApplicationVersion() public method

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

IsSessionCompleted() public method

public IsSessionCompleted ( GlymaSessionConfiguration configuration, System.Guid sessionId ) : bool
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
sessionId System.Guid
return bool

NodeServiceClient() public method

public NodeServiceClient ( string callingUrl ) : Microsoft.SharePoint
callingUrl string
return Microsoft.SharePoint

QueryDomains() public method

public QueryDomains ( GlymaSessionConfiguration configuration ) : QueryResponse>.Dictionary
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
return QueryResponse>.Dictionary

QueryMap() public method

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

QueryMapByDomain() public method

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

QueryMapPaged() public method

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

SearchMap() public method

public SearchMap ( GlymaSessionConfiguration configuration, System.Guid domainId, System.Guid rootMapUid, SearchConditions conditions, int pageNumber, int pageSize ) : SearchMapResult
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
domainId System.Guid
rootMapUid System.Guid
conditions TransactionalNodeService.Common.SearchConditions
pageNumber int
pageSize int
return TransactionalNodeService.Common.SearchMapResult

UpdateBulkMetadata() public method

public UpdateBulkMetadata ( GlymaSessionConfiguration configuration, System.Guid sessionId, System.Guid responseParameter, MapParameter domainId, MapParameter metadata, string name, string value ) : MapParameter
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
sessionId System.Guid
responseParameter System.Guid
domainId TransactionalNodeService.Common.MapParameter
metadata TransactionalNodeService.Common.MapParameter
name string
value string
return TransactionalNodeService.Common.MapParameter

UpdateBulkNode() public method

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

UpdateBulkRelationship() public method

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

UpdateMetadata() public method

public UpdateMetadata ( GlymaSessionConfiguration configuration, System.Guid sessionId, MapParameter domainId, MapParameter metadata, string name, string value ) : MapParameter
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
sessionId System.Guid
domainId TransactionalNodeService.Common.MapParameter
metadata TransactionalNodeService.Common.MapParameter
name string
value string
return TransactionalNodeService.Common.MapParameter

UpdateNode() public method

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

UpdateRelationship() public method

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