C# Класс Glyma.NodeServiceApp.NodeServiceApplication

Наследование: SPIisWebServiceApplication, IGlymaNodeServiceApp
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
NodeServiceApplication Microsoft.SharePoint.Administration

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

Метод Описание
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
Create ( string name, NodeService service, SPIisWebServiceApplicationPool appPool ) : NodeServiceApplication
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
GetAllMapTypes ( GlymaSessionConfiguration configuration ) : TypeResponse
GetApplicationVersion ( ) : GlymaVersion
IsSessionCompleted ( GlymaSessionConfiguration configuration, System.Guid sessionId ) : bool
NodeServiceApplication ( ) : Microsoft.SharePoint.Administration
QueryDomains ( GlymaSessionConfiguration configuration ) : QueryResponse>.Dictionary
QueryMap ( GlymaSessionConfiguration configuration, System.Guid domainId, System.Guid nodeId, int maxDepth, EdgeConditions edgeConditions, FilterConditions filterConditions ) : QueryResponse
QueryMap ( GlymaSessionConfiguration configuration, System.Guid domainId, System.Guid nodeId, int maxDepth, bool isFullDomainSearch, EdgeConditions edgeConditions, FilterConditions filterConditions, int objectIndex ) : 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

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

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

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

Метод Описание
NodeServiceApplication ( string name, NodeService service, SPIisWebServiceApplicationPool appPool ) : Microsoft.SharePoint.Administration

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

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

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 MapParameter
rootMapId MapParameter
node MapParameter
relationship MapParameter
descriptorType TransactionalNodeService.Common.Model.DescriptorType
metadataType TransactionalNodeService.Common.Model.MetadataType
name string
value string
Результат MapParameter

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

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 MapParameter
rootMapId MapParameter
nodeType TransactionalNodeService.Common.Model.NodeType
originalId string
Результат MapParameter

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

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 MapParameter
rootMapId MapParameter
nodes MapParameter>.Dictionary
relationshipType TransactionalNodeService.Common.Model.RelationshipType
originalId string
Результат MapParameter

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

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 MapParameter
rootMapId MapParameter
node MapParameter
relationship MapParameter
descriptorType TransactionalNodeService.Common.Model.DescriptorType
metadataType TransactionalNodeService.Common.Model.MetadataType
name string
value string
Результат MapParameter

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

public AddNode ( GlymaSessionConfiguration configuration, System.Guid sessionId, MapParameter domainId, MapParameter rootMapId, NodeType nodeType, string originalId ) : MapParameter
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
sessionId System.Guid
domainId MapParameter
rootMapId MapParameter
nodeType TransactionalNodeService.Common.Model.NodeType
originalId string
Результат MapParameter

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

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 MapParameter
rootMapId MapParameter
nodes MapParameter>.Dictionary
relationshipType TransactionalNodeService.Common.Model.RelationshipType
originalId string
Результат MapParameter

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

public BeginTransaction ( GlymaSessionConfiguration configuration ) : System.Guid
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
Результат System.Guid

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

public CompleteTransaction ( GlymaSessionConfiguration configuration, System.Guid sessionId ) : MapResponse
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
sessionId System.Guid
Результат MapResponse

Create() публичный статический Метод

public static Create ( string name, NodeService service, SPIisWebServiceApplicationPool appPool ) : NodeServiceApplication
name string
service NodeService
appPool SPIisWebServiceApplicationPool
Результат NodeServiceApplication

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

public CreateDomain ( GlymaSessionConfiguration configuration, string name ) : MapResponse
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
name string
Результат MapResponse

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

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
Результат QueryResponse

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

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 MapParameter
metadata MapParameter
Результат MapParameter

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

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 MapParameter
nodeId MapParameter
Результат MapParameter

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

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 MapParameter
relationshipId MapParameter
Результат MapParameter

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

public DeleteDomain ( GlymaSessionConfiguration configuration, System.Guid domainId ) : int
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
domainId System.Guid
Результат int

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

public DeleteMetadata ( GlymaSessionConfiguration configuration, System.Guid sessionId, MapParameter domainId, MapParameter metadata ) : MapParameter
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
sessionId System.Guid
domainId MapParameter
metadata MapParameter
Результат MapParameter

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

public DeleteNode ( GlymaSessionConfiguration configuration, System.Guid sessionId, MapParameter domainId, MapParameter nodeId ) : MapParameter
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
sessionId System.Guid
domainId MapParameter
nodeId MapParameter
Результат MapParameter

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

public DeleteRelationship ( GlymaSessionConfiguration configuration, System.Guid sessionId, MapParameter domainId, MapParameter relationshipId ) : MapParameter
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
sessionId System.Guid
domainId MapParameter
relationshipId MapParameter
Результат MapParameter

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

public DeleteRootMap ( GlymaSessionConfiguration configuration, System.Guid domainId, System.Guid rootMapId ) : int
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
domainId System.Guid
rootMapId System.Guid
Результат int

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

public GetAllMapTypes ( GlymaSessionConfiguration configuration ) : TypeResponse
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
Результат TransactionalNodeService.Common.TypeResponse

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

public GetApplicationVersion ( ) : GlymaVersion
Результат TransactionalNodeService.Common.Model.GlymaVersion

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

public IsSessionCompleted ( GlymaSessionConfiguration configuration, System.Guid sessionId ) : bool
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
sessionId System.Guid
Результат bool

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

public NodeServiceApplication ( ) : Microsoft.SharePoint.Administration
Результат Microsoft.SharePoint.Administration

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

public QueryDomains ( GlymaSessionConfiguration configuration ) : QueryResponse>.Dictionary
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
Результат QueryResponse>.Dictionary

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

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
Результат QueryResponse

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

public QueryMap ( GlymaSessionConfiguration configuration, System.Guid domainId, System.Guid nodeId, int maxDepth, bool isFullDomainSearch, EdgeConditions edgeConditions, FilterConditions filterConditions, int objectIndex ) : QueryResponse
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
domainId System.Guid
nodeId System.Guid
maxDepth int
isFullDomainSearch bool
edgeConditions TransactionalNodeService.Common.EdgeConditions
filterConditions FilterConditions
objectIndex int
Результат QueryResponse

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

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
Результат QueryResponse

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

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
Результат QueryResponse

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

TODO: This method needs to be moved from here as it makes calls to schema specific methods.
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 SearchConditions
pageNumber int
pageSize int
Результат SearchMapResult

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

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 MapParameter
metadata MapParameter
name string
value string
Результат MapParameter

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

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 MapParameter
nodeId MapParameter
nodeType TransactionalNodeService.Common.Model.NodeType
Результат MapParameter

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

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 MapParameter
relationshipId MapParameter
nodes MapParameter>.Dictionary
relationshipType TransactionalNodeService.Common.Model.RelationshipType
Результат MapParameter

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

public UpdateMetadata ( GlymaSessionConfiguration configuration, System.Guid sessionId, MapParameter domainId, MapParameter metadata, string name, string value ) : MapParameter
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
sessionId System.Guid
domainId MapParameter
metadata MapParameter
name string
value string
Результат MapParameter

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

public UpdateNode ( GlymaSessionConfiguration configuration, System.Guid sessionId, MapParameter domainId, MapParameter nodeId, NodeType nodeType ) : MapParameter
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
sessionId System.Guid
domainId MapParameter
nodeId MapParameter
nodeType TransactionalNodeService.Common.Model.NodeType
Результат MapParameter

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

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 MapParameter
relationshipId MapParameter
nodes MapParameter>.Dictionary
relationshipType TransactionalNodeService.Common.Model.RelationshipType
Результат MapParameter