public List <ServiceIndexDefinition> GetIndexDefinitions(SecurityToken mySecurityToken, Int64 myTransToken, ServiceVertexType myServiceVertexType, bool myIncludeAncestorDefinitions) { var Request = ServiceRequestFactory.MakeRequestGetVertexType(myServiceVertexType.Name); var Response = this.GraphDS.GetVertexType <IVertexType>(mySecurityToken, myTransToken, Request, ServiceReturnConverter.ConvertOnlyVertexType); return(Response.GetIndexDefinitions(myIncludeAncestorDefinitions).Select(x => new ServiceIndexDefinition(x)).ToList()); }
public List <ServiceVertexType> ChildrenVertexTypes(SecurityToken mySecurityToken, Int64 myTransToken, ServiceVertexType myServiceVertexType) { var Request = ServiceRequestFactory.MakeRequestGetVertexType(myServiceVertexType.Name); var Response = this.GraphDS.GetVertexType <IVertexType>(mySecurityToken, myTransToken, Request, ServiceReturnConverter.ConvertOnlyVertexType); return(Response.ChildrenVertexTypes.Select(x => new ServiceVertexType(x)).ToList()); }
public ServiceIncomingEdgeDefinition GetIncomingEdgeDefinition(SecurityToken mySecurityToken, Int64 myTransToken, ServiceVertexType myServiceVertexType, string myEdgeName) { var Request = ServiceRequestFactory.MakeRequestGetVertexType(myServiceVertexType.Name); var Response = this.GraphDS.GetVertexType <IVertexType>(mySecurityToken, myTransToken, Request, ServiceReturnConverter.ConvertOnlyVertexType); return(new ServiceIncomingEdgeDefinition(Response.GetIncomingEdgeDefinition(myEdgeName))); }
public bool HasIndexDefinitions(SecurityToken mySecurityToken, Int64 myTransToken, ServiceVertexType myServiceVertexType, bool myIncludeAncestorDefinitions) { var Request = ServiceRequestFactory.MakeRequestGetVertexType(myServiceVertexType.Name); var Response = this.GraphDS.GetVertexType <IVertexType>(mySecurityToken, myTransToken, Request, ServiceReturnConverter.ConvertOnlyVertexType); return(Response.HasIndexDefinitions(myIncludeAncestorDefinitions)); }
public bool HasOutgoingEdge(SecurityToken mySecurityToken, Int64 myTransToken, ServiceVertexType myServiceVertexType, string myEdgeName) { var Request = ServiceRequestFactory.MakeRequestGetVertexType(myServiceVertexType.Name); var Response = this.GraphDS.GetVertexType <IVertexType>(mySecurityToken, myTransToken, Request, ServiceReturnConverter.ConvertOnlyVertexType); return(Response.HasOutgoingEdge(myEdgeName)); }
public List <ServicePropertyDefinition> GetPropertyDefinitionsByNameListByVertexType(SecurityToken mySecurityToken, Int64 myTransToken, String myServiceVertexTypeName, List <string> myPropertyNames) { var Request = ServiceRequestFactory.MakeRequestGetVertexType(myServiceVertexTypeName); var Response = this.GraphDS.GetVertexType <IVertexType>(mySecurityToken, myTransToken, Request, ServiceReturnConverter.ConvertOnlyVertexType); return(Response.GetPropertyDefinitions(myPropertyNames).Select(x => new ServicePropertyDefinition(x)).ToList()); }
public ServicePropertyDefinition GetPropertyDefinitionByIDByVertexType(SecurityToken mySecurityToken, Int64 myTransToken, String myServiceVertexTypeName, long myPropertyID) { var Request = ServiceRequestFactory.MakeRequestGetVertexType(myServiceVertexTypeName); var Response = this.GraphDS.GetVertexType <IVertexType>(mySecurityToken, myTransToken, Request, ServiceReturnConverter.ConvertOnlyVertexType); return(new ServicePropertyDefinition(Response.GetPropertyDefinition(myPropertyID))); }
public ServiceAttributeDefinition GetAttributeDefinitionByID(SecurityToken mySecurityToken, Int64 myTransToken, ServiceVertexType myServiceVertexType, long myAttributeID) { var Request = ServiceRequestFactory.MakeRequestGetVertexType(myServiceVertexType.Name); var Response = this.GraphDS.GetVertexType <IVertexType>(mySecurityToken, myTransToken, Request, ServiceReturnConverter.ConvertOnlyVertexType); return(ConvertHelper.ToServiceAttributeDefinition(Response.GetAttributeDefinition(myAttributeID))); }
public bool IsSealed(SecurityToken mySecurityToken, Int64 myTransToken, ServiceVertexType myServiceVertexType) { var Request = ServiceRequestFactory.MakeRequestGetVertexType(myServiceVertexType.Name); var Response = this.GraphDS.GetVertexType <IVertexType>(mySecurityToken, myTransToken, Request, ServiceReturnConverter.ConvertOnlyVertexType); return(Response.IsSealed); }
public ServiceVertexType GetVertexType(SecurityToken mySecurityToken, Int64 myTransactionToken, Int64 myVertexTypeID) { var Request = ServiceRequestFactory.MakeRequestGetVertexType(myVertexTypeID); var Response = this.GraphDS.GetVertexType <IVertexType>(mySecurityToken, myTransactionToken, Request, ServiceReturnConverter.ConvertOnlyVertexType); return(new ServiceVertexType(Response)); }
public bool IsDescendantOrSelf(SecurityToken mySecurityToken, Int64 myTransToken, ServiceVertexType myServiceVertexType, ServiceVertexType myOtherType) { var Request = ServiceRequestFactory.MakeRequestGetVertexType(myOtherType.Name); var BaseType = this.GraphDS.GetVertexType <IVertexType>(mySecurityToken, myTransToken, Request, ServiceReturnConverter.ConvertOnlyVertexType); Request = ServiceRequestFactory.MakeRequestGetVertexType(myServiceVertexType.Name); var Response = this.GraphDS.GetVertexType <IVertexType>(mySecurityToken, myTransToken, Request, ServiceReturnConverter.ConvertOnlyVertexType); return(Response.IsDescendantOrSelf(BaseType)); }
public ServiceOutgoingEdgeDefinition GetOutgoingEdgeDefinition(SecurityToken mySecurityToken, Int64 myTransToken, ServiceVertexType myServiceVertexType, string myEdgeName) { var Request = ServiceRequestFactory.MakeRequestGetVertexType(myServiceVertexType.Name); var Response = this.GraphDS.GetVertexType <IVertexType>(mySecurityToken, myTransToken, Request, ServiceReturnConverter.ConvertOnlyVertexType); var value = Response.GetOutgoingEdgeDefinition(myEdgeName); if (value != null) { return(new ServiceOutgoingEdgeDefinition(value)); } return(null); }