Ejemplo n.º 1
0
 public MapParameter DeleteBulkRelationship(GlymaSessionConfiguration configuration, Guid sessionId, Guid responseParameter, MapParameter domainId, MapParameter relationshipId)
 {
     using (IGlymaSession glymaSession = new SvcAppSPGlymaSession(configuration, sessionId))
     {
         return Base.DeleteBulkRelationship(glymaSession, sessionId, responseParameter, domainId, relationshipId);
     }
 }
Ejemplo n.º 2
0
 public MapParameter DeleteBulkMetadata(GlymaSessionConfiguration configuration, Guid sessionId, Guid responseParameter, MapParameter domainId, MapParameter metadata)
 {
     using (IGlymaSession glymaSession = new SvcAppSPGlymaSession(configuration, sessionId))
     {
         return Base.DeleteBulkMetadata(glymaSession, sessionId, responseParameter, domainId, metadata);
     }
 }
Ejemplo n.º 3
0
 public MapParameter AddBulkRelationship(GlymaSessionConfiguration configuration, Guid sessionId, Guid responseParameter, MapParameter domainId, MapParameter rootMapId, Dictionary<DescriptorType, MapParameter> nodes, RelationshipType relationshipType, string originalId)
 {
     using (IGlymaSession glymaSession = new SvcAppSPGlymaSession(configuration, sessionId))
     {
         return Base.AddBulkRelationship(glymaSession, sessionId, responseParameter, domainId, rootMapId, nodes, relationshipType, originalId);
     }
 }
Ejemplo n.º 4
0
 public MapParameter AddBulkMetadata(GlymaSessionConfiguration configuration, Guid sessionId, Guid responseParameter, MapParameter domainId, MapParameter rootMapId, MapParameter node, MapParameter relationship, DescriptorType descriptorType, MetadataType metadataType, string name, string value)
 {
     using (IGlymaSession glymaSession = new SvcAppSPGlymaSession(configuration, sessionId))
     {
         return Base.AddBulkMetadata(glymaSession, sessionId, responseParameter, domainId, rootMapId, node, relationship, descriptorType, metadataType, name, value);
     }
 }
Ejemplo n.º 5
0
 public QueryResponse CreateRootMap(GlymaSessionConfiguration configuration, Guid domainId, string name, NodeType nodeType, string originalId)
 {
     using (IGlymaSession glymaSession = new SvcAppSPGlymaSession(configuration))
     {
         return Base.CreateRootMap(glymaSession, domainId, name, nodeType, originalId);
     }
 }
Ejemplo n.º 6
0
 public MapParameter AddBulkNode(GlymaSessionConfiguration configuration, Guid sessionId, Guid responseParameter, MapParameter domainId, MapParameter rootMapId, NodeType nodeType, string originalId)
 {
     using (IGlymaSession glymaSession = new SvcAppSPGlymaSession(configuration, sessionId))
     {
         return Base.AddBulkNode(glymaSession, sessionId, responseParameter, domainId, rootMapId, nodeType, originalId);
     }
 }
Ejemplo n.º 7
0
 public QueryResponse QueryMap(GlymaSessionConfiguration configuration, Guid domainId, Guid nodeId, int maxDepth, bool isFullDomainSearch, EdgeConditions edgeConditions, FilterConditions filterConditions, int objectIndex)
 {
     using (IGlymaSession glymaSession = new SvcAppSPGlymaSession(configuration))
     {
         return Base.QueryMap(glymaSession, domainId, nodeId, maxDepth, isFullDomainSearch, edgeConditions, filterConditions, objectIndex);
     }
 }
Ejemplo n.º 8
0
 public MapParameter UpdateBulkMetadata(GlymaSessionConfiguration configuration, Guid sessionId, Guid responseParameter, MapParameter domainId, MapParameter metadata, string name, string value)
 {
     using (IGlymaSession glymaSession = new SvcAppSPGlymaSession(configuration, sessionId))
     {
         return Base.UpdateBulkMetadata(glymaSession, sessionId, responseParameter, domainId, metadata, name, value);
     }
 }
Ejemplo n.º 9
0
 public TypeResponse GetAllMapTypes(GlymaSessionConfiguration configuration)
 {
     using (IGlymaSession glymaSession = new SvcAppSPGlymaSession(configuration))
     {
         return Base.GetAllMapTypes(glymaSession);
     }
 }
Ejemplo n.º 10
0
 public Dictionary<Guid, QueryResponse> QueryDomains(GlymaSessionConfiguration configuration)
 {
     using (IGlymaSession glymaSession = new SvcAppSPGlymaSession(configuration))
     {
         return Base.QueryDomains(glymaSession);
     }
 }
Ejemplo n.º 11
0
 public MapResponse CompleteTransaction(GlymaSessionConfiguration configuration, Guid sessionId)
 {
     using (IGlymaSession glymaSession = new SvcAppSPGlymaSession(configuration, sessionId, true))
     {
         return Base.CompleteTransaction(glymaSession, sessionId);
     }
 }
Ejemplo n.º 12
0
 public Guid BeginTransaction(GlymaSessionConfiguration configuration)
 {
     using (IGlymaSession glymaSession = new SvcAppSPGlymaSession(configuration))
     {
         return Base.BeginTransaction(glymaSession);
     }
 }
Ejemplo n.º 13
0
 public int DeleteRootMap(GlymaSessionConfiguration configuration, Guid domainId, Guid rootMapId)
 {
     using (IGlymaSession glymaSession = new SvcAppSPGlymaSession(configuration))
     {
         return Base.DeleteRootMap(glymaSession, domainId,rootMapId);
     }
 }
Ejemplo n.º 14
0
 public MapParameter UpdateBulkNode(GlymaSessionConfiguration configuration, Guid sessionId, Guid responseParameter, MapParameter domainId, MapParameter nodeId, NodeType nodeType)
 {
     using (IGlymaSession glymaSession = new SvcAppSPGlymaSession(configuration, sessionId))
     {
         return Base.UpdateBulkNode(glymaSession, sessionId, responseParameter, domainId, nodeId, nodeType);
     }
 }
Ejemplo n.º 15
0
 public QueryResponse QueryMapByDomain(GlymaSessionConfiguration configuration, Guid domainId, int maxDepth, EdgeConditions edgeConditions, FilterConditions filterConditions)
 {
     using (IGlymaSession glymaSession = new SvcAppSPGlymaSession(configuration))
     {
         return Base.QueryMapByDomain(glymaSession, domainId, maxDepth, edgeConditions, filterConditions);
     }
 }
Ejemplo n.º 16
0
 public MapParameter UpdateBulkRelationship(GlymaSessionConfiguration configuration, Guid sessionId, Guid responseParameter, MapParameter domainId, MapParameter relationshipId, Dictionary<DescriptorType, MapParameter> nodes, RelationshipType relationshipType)
 {
     using (IGlymaSession glymaSession = new SvcAppSPGlymaSession(configuration, sessionId))
     {
         return Base.UpdateBulkRelationship(glymaSession, sessionId, responseParameter, domainId, relationshipId, nodes, relationshipType);
     }
 }
Ejemplo n.º 17
0
        /// <summary>
        /// TODO: This method needs to be moved from here as it makes calls to schema specific methods.
        /// </summary>
        /// <param name="callingUrl"></param>
        /// <param name="domainId"></param>
        /// <param name="conditions"></param>
        /// <param name="pageNumber"></param>
        /// <param name="pageSize"></param>
        /// <returns></returns>
        public SearchMapResult SearchMap(GlymaSessionConfiguration configuration, Guid domainId, Guid rootMapUid, SearchConditions conditions, int pageNumber, int pageSize)
        {
            if (pageNumber == 0)
            {
                pageNumber = 1;
            }

            if (pageSize == 0)
            {
                pageSize = 5;
            }

            using (IGlymaSession glymaSession = new SvcAppSPGlymaSession(configuration))
            {
                return Base.SearchMap(glymaSession, domainId, rootMapUid, conditions, pageNumber, pageSize);
            }
        }
Ejemplo n.º 18
0
 public bool IsSessionCompleted(GlymaSessionConfiguration configuration, Guid sessionId)
 {
     using (IGlymaSession glymaSession = new SvcAppSPGlymaSession(configuration, sessionId))
     {
         return Base.IsSessionCompleted(glymaSession, sessionId);
     }
 }
Ejemplo n.º 19
0
 public MapResponse CreateDomain(GlymaSessionConfiguration configuration, string name)
 {
     using (IGlymaSession glymaSession = new SvcAppSPGlymaSession(configuration))
     {
         return Base.CreateDomain(glymaSession, name);
     }
 }