C# Class SilverlightMappingToolBasic.MappingService.DatabaseMappingService

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

Private Properties

Property Type Description
BuildNodeList List
CompleteRelationship void
OnAddNodeAsyncCompleted void
OnConnectNodesCompleted void
OnCreateNewDomainCompleted void
OnCreateNewMapCompleted void
OnDeleteMetadataCompleted void
OnDeleteNodeCompleted void
OnDeleteNodeTransclusionCompleted void
OnDeleteRelationshipCompleted void
OnGetAllSoapTypesAsyncCompleted void
OnGetContainerMapNodeIdCompleted void
OnGetDomainMapNodesCompleted void
OnGetDomainNodeIdCompleted void
OnGetDomainNodeIdsCompleted void
OnGetMapsNodesCompleted void
OnGetNodesCompleted void
OnGetRelatedNodesByIdAsyncCompleted void
OnPasteNodeCloneCompleted void
OnRenameNodeMetadataCompleted void
OnUpdateNodeMetadataCompleted void

Public Methods

Method Description
AddNode ( System.Guid domainId, INodeTypeProxy nodeType, string originalId, Point location ) : void
ConnectNodesAsync ( System.Guid domainId, Guid>.Dictionary nodes, IRelationshipTypeProxy relationshipType, Point location, string originalId ) : void
ConnectNodesAsync ( System.Guid domainId, Guid>.Dictionary nodes, IRelationshipTypeProxy relationshipType, string originalId ) : void
CreateNewDomain ( string domainName ) : void
CreateNewMap ( System.Guid domainId, string mapName ) : void
DatabaseMappingService ( ) : System
DatabaseMappingService ( string mappingToolSvcUrl ) : System
DeleteMetadata ( MetadataContext context ) : void
DeleteNode ( System.Guid domainId, System.Guid nodeIdToDelete ) : void
DeleteNodePromoteTransclusion ( System.Guid domainId, System.Guid currentMapId, INodeProxy originalNode ) : void
DeleteNodeTransclusion ( System.Guid domainId, System.Guid currentMapId, INodeProxy transcludedNode ) : void
DeleteRelationship ( System.Guid domainId, System.Guid relationshipId ) : void
GetAllSoapTypesAsync ( ) : void
GetContainerMapNodeId ( System.Guid domain, System.Guid nodeId ) : void
GetDomainMapNodes ( System.Guid domainId ) : void
GetDomainNodeIdAsync ( System.Guid domainId ) : void
GetDomainNodeIdsAsync ( ) : void
GetMapsNodes ( System.Guid domainId, System.Guid mapNodeId ) : void
GetNodeByIdAsync ( System.Guid nodeId, System.Guid mapId ) : void
GetRelatedNodesByIdAsync ( System.Guid domainId, System.Guid nodeId, int depth ) : void
PasteNodeClone ( System.Guid domainId, System.Guid copiedNodeId, Point location ) : void
RenameNodeMetadataAsync ( System.Guid domainId, System.Guid nodeId, System.Guid relationshipId, IDescriptorTypeProxy descriptorTypeProxy, string originalMetadataName, string newMetadataName ) : void
UpdateNodeMetadataAsync ( System.Guid domainId, System.Guid nodeId, System.Guid relationshipId, IDescriptorTypeProxy descriptorTypeProxy, string metadataName, string metadataValue, IMetadataTypeProxy metadataType ) : void

Private Methods

Method Description
BuildNodeList ( RelatedNodesSearchResult relatedNodesResult ) : List

Builds out the nodes and descriptors on the client side. Adds to a _cachedNodes list and keeps it updated.

CompleteRelationship ( IRelationshipProxy relationship ) : void
OnAddNodeAsyncCompleted ( object sender, AddNodeCompletedEventArgs e ) : void
OnConnectNodesCompleted ( object sender, ConnectNodesCompletedEventArgs e ) : void
OnCreateNewDomainCompleted ( object sender, CreateNewDomainCompletedEventArgs e ) : void
OnCreateNewMapCompleted ( object sender, CreateNewMapCompletedEventArgs e ) : void
OnDeleteMetadataCompleted ( object sender, DeleteMetadataCompletedEventArgs e ) : void
OnDeleteNodeCompleted ( object sender, DeleteNodeCompletedEventArgs e ) : void
OnDeleteNodeTransclusionCompleted ( object sender, DeleteNodeTransclusionCompletedEventArgs e ) : void
OnDeleteRelationshipCompleted ( object sender, DeleteRelationshipCompletedEventArgs e ) : void
OnGetAllSoapTypesAsyncCompleted ( object sender, GetAllSoapTypesCompletedEventArgs e ) : void
OnGetContainerMapNodeIdCompleted ( object sender, GetContainerMapNodeIdCompletedEventArgs e ) : void
OnGetDomainMapNodesCompleted ( object sender, GetDomainMapNodesCompletedEventArgs e ) : void
OnGetDomainNodeIdCompleted ( object sender, GetDomainNodeIdCompletedEventArgs e ) : void
OnGetDomainNodeIdsCompleted ( object sender, GetDomainNodeIdsCompletedEventArgs e ) : void
OnGetMapsNodesCompleted ( object sender, GetMapsNodesCompletedEventArgs e ) : void
OnGetNodesCompleted ( object sender, GetNodesCompletedEventArgs e ) : void
OnGetRelatedNodesByIdAsyncCompleted ( object sender, GetRelatedNodesCompletedEventArgs e ) : void
OnPasteNodeCloneCompleted ( object sender, PasteNodeCloneCompletedEventArgs e ) : void
OnRenameNodeMetadataCompleted ( object sender, RenameNodeMetadataCompletedEventArgs e ) : void
OnUpdateNodeMetadataCompleted ( object sender, UpdateNodeMetadataCompletedEventArgs e ) : void

Method Details

AddNode() public method

public AddNode ( System.Guid domainId, INodeTypeProxy nodeType, string originalId, Point location ) : void
domainId System.Guid
nodeType INodeTypeProxy
originalId string
location Point
return void

ConnectNodesAsync() public method

public ConnectNodesAsync ( System.Guid domainId, Guid>.Dictionary nodes, IRelationshipTypeProxy relationshipType, Point location, string originalId ) : void
domainId System.Guid
nodes Guid>.Dictionary
relationshipType IRelationshipTypeProxy
location Point
originalId string
return void

ConnectNodesAsync() public method

public ConnectNodesAsync ( System.Guid domainId, Guid>.Dictionary nodes, IRelationshipTypeProxy relationshipType, string originalId ) : void
domainId System.Guid
nodes Guid>.Dictionary
relationshipType IRelationshipTypeProxy
originalId string
return void

CreateNewDomain() public method

public CreateNewDomain ( string domainName ) : void
domainName string
return void

CreateNewMap() public method

public CreateNewMap ( System.Guid domainId, string mapName ) : void
domainId System.Guid
mapName string
return void

DatabaseMappingService() public method

public DatabaseMappingService ( ) : System
return System

DatabaseMappingService() public method

public DatabaseMappingService ( string mappingToolSvcUrl ) : System
mappingToolSvcUrl string
return System

DeleteMetadata() public method

public DeleteMetadata ( MetadataContext context ) : void
context MetadataContext
return void

DeleteNode() public method

public DeleteNode ( System.Guid domainId, System.Guid nodeIdToDelete ) : void
domainId System.Guid
nodeIdToDelete System.Guid
return void

DeleteNodePromoteTransclusion() public method

public DeleteNodePromoteTransclusion ( System.Guid domainId, System.Guid currentMapId, INodeProxy originalNode ) : void
domainId System.Guid
currentMapId System.Guid
originalNode INodeProxy
return void

DeleteNodeTransclusion() public method

public DeleteNodeTransclusion ( System.Guid domainId, System.Guid currentMapId, INodeProxy transcludedNode ) : void
domainId System.Guid
currentMapId System.Guid
transcludedNode INodeProxy
return void

DeleteRelationship() public method

public DeleteRelationship ( System.Guid domainId, System.Guid relationshipId ) : void
domainId System.Guid
relationshipId System.Guid
return void

GetAllSoapTypesAsync() public method

public GetAllSoapTypesAsync ( ) : void
return void

GetContainerMapNodeId() public method

public GetContainerMapNodeId ( System.Guid domain, System.Guid nodeId ) : void
domain System.Guid
nodeId System.Guid
return void

GetDomainMapNodes() public method

public GetDomainMapNodes ( System.Guid domainId ) : void
domainId System.Guid
return void

GetDomainNodeIdAsync() public method

public GetDomainNodeIdAsync ( System.Guid domainId ) : void
domainId System.Guid
return void

GetDomainNodeIdsAsync() public method

public GetDomainNodeIdsAsync ( ) : void
return void

GetMapsNodes() public method

public GetMapsNodes ( System.Guid domainId, System.Guid mapNodeId ) : void
domainId System.Guid
mapNodeId System.Guid
return void

GetNodeByIdAsync() public method

public GetNodeByIdAsync ( System.Guid nodeId, System.Guid mapId ) : void
nodeId System.Guid
mapId System.Guid
return void

GetRelatedNodesByIdAsync() public method

public GetRelatedNodesByIdAsync ( System.Guid domainId, System.Guid nodeId, int depth ) : void
domainId System.Guid
nodeId System.Guid
depth int
return void

PasteNodeClone() public method

public PasteNodeClone ( System.Guid domainId, System.Guid copiedNodeId, Point location ) : void
domainId System.Guid
copiedNodeId System.Guid
location Point
return void

RenameNodeMetadataAsync() public method

public RenameNodeMetadataAsync ( System.Guid domainId, System.Guid nodeId, System.Guid relationshipId, IDescriptorTypeProxy descriptorTypeProxy, string originalMetadataName, string newMetadataName ) : void
domainId System.Guid
nodeId System.Guid
relationshipId System.Guid
descriptorTypeProxy IDescriptorTypeProxy
originalMetadataName string
newMetadataName string
return void

UpdateNodeMetadataAsync() public method

public UpdateNodeMetadataAsync ( System.Guid domainId, System.Guid nodeId, System.Guid relationshipId, IDescriptorTypeProxy descriptorTypeProxy, string metadataName, string metadataValue, IMetadataTypeProxy metadataType ) : void
domainId System.Guid
nodeId System.Guid
relationshipId System.Guid
descriptorTypeProxy IDescriptorTypeProxy
metadataName string
metadataValue string
metadataType IMetadataTypeProxy
return void