====== ThinkGeo.MapSuite.Routing.RoutingTransactionBuffer ====== {{section>upgrade_map_suite_to_10.0}} This class represents the holding place for transactions that have not yet been committed. ===== Inheritance Hierarchy ===== *System.Object ***ThinkGeo.MapSuite.Routing.RoutingTransactionBuffer** ===== Members Summary ===== ==== Public Constructors ==== ** {{wiki:PublicMethod.gif|}} RoutingTransactionBuffer() ** * //This is the class constructor.// == Remarks == * //This is the default constructor and is typically not used.// == Parameters ==
** {{wiki:PublicMethod.gif|}} RoutingTransactionBuffer(Dictionary,Collection,Dictionary) ** * //N/A// == Remarks == * //N/A// == Parameters == * //addBuffer// * Type:Dictionary * Description:N/A * //deleteBuffer// * Type:Collection * Description:N/A * //editBuffer// * Type:Dictionary * Description:N/A
==== Protected Constructors ==== ==== Public Methods ==== ** {{wiki:PublicMethod.gif|}} Clear() ** * //This method will clear all the items in AddBuffer, EditBuffer and DeleteBuffer.// == Remarks == * //This method will clear all the items in AddBuffer, EditBuffer and DeleteBuffer.// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} AddRouteSegment(RouteSegment) ** * //This method allows you to add RouteSegments to the transaction buffer.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingTransactionBuffer#AddRouteSegment.28RouteSegment.29// == Return Value == * Type:Void * Description:N/A == Parameters == * //routeSegment// * Type:[[ThinkGeo.MapSuite.Routing.RouteSegment|RouteSegment]] * Description:This parameter represents the RouteSegment you are adding to the transaction buffer.
** {{wiki:PublicMethod.gif|}} DeleteRouteSegment(String) ** * //This method allows you to add a placeholder to represent a RouteSegment to be deleted.// == Remarks == * //This does not remove a RouteSegment from the TransactionBuffer but rather it add a "to be deleted record". In this way when the TransactionBuffer if processed we know what records need to be deleted.// == Return Value == * Type:Void * Description:N/A == Parameters == * //featureId// * Type:String * Description:This parameter represents the unique feature Id for the specific RouteSegment being passed in.
** {{wiki:PublicMethod.gif|}} UpdateFeature(RouteSegment) ** * //This method allows you to add a Feature to be updated.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingTransactionBuffer#UpdateFeature.28RouteSegment.29// == Return Value == * Type:Void * Description:N/A == Parameters == * //routeSegment// * Type:[[ThinkGeo.MapSuite.Routing.RouteSegment|RouteSegment]] * Description:This parameter represents the RouteSegment to be updated.
** {{wiki:PublicMethod.gif|}} ToString() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingTransactionBuffer#ToString.28.29// == Return Value == * Type:String * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Equals(Object) ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingTransactionBuffer#Equals.28Object.29// == Return Value == * Type:Boolean * Description:N/A == Parameters == * //obj// * Type:Object * Description:N/A
** {{wiki:PublicMethod.gif|}} GetHashCode() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingTransactionBuffer#GetHashCode.28.29// == Return Value == * Type:Int32 * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} GetType() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingTransactionBuffer#GetType.28.29// == Return Value == * Type:Type * Description:N/A == Parameters ==
==== Protected Methods ==== ** {{wiki:ProtectedMethod.gif|}} Finalize() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingTransactionBuffer#Finalize.28.29// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingTransactionBuffer#MemberwiseClone.28.29// == Return Value == * Type:Object * Description:N/A == Parameters ==
==== Public Properties ==== ** {{wiki:PublicProperty.gif|}} AddBuffer ** This property gets the dictionary buffer that holds RouteSegments to be added. == Remarks == It is recommended that you use this dictionary for reviewing and not for adding new items. The reason is that the Add, Delete and Edit methods to various validation checks. For example if you call the DeleteRouteSegment twice it will handle the case that you really only want to delete the record once. Another example is if you edit a record twice it will replace the existing edit with the new one. == Return Value == * Type:Dictionary ** {{wiki:PublicProperty.gif|}} DeleteBuffer ** This property gets the dictionary buffer that holds RouteSegments to be deleted. == Remarks == It is recommended that you use this dictionary for reviewing and not for adding new items. The reason is that the Add, Delete and Edit methods to various validation checks. For example if you call the DeleteRouteSegment twice it will handle the case that you really only want to delete the record once. Another example is if you edit a record twice it will replace the existing edit with the new one. == Return Value == * Type:Collection ** {{wiki:PublicProperty.gif|}} UpdateBuffer ** This property gets the dictionary buffer that holds RouteSegments to be updated. == Remarks == It is recommended that you use this dictionary for reviewing and not for adding new items. The reason is that the Add, Delete and Edit methods to various validation checks. For example if you call the DeleteRouteSegment twice it will handle the case that you really only want to delete the record once. Another example is if you edit a record twice it will replace the existing edit with the new one. == Return Value == * Type:Dictionary ==== Protected Properties ==== ==== Public Events ====