User Tools

Site Tools


thinkgeo.mapsuite.routing.routingtransactionbuffer

This is an old revision of the document!


ThinkGeo.MapSuite.Routing.RoutingTransactionBuffer

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

RoutingTransactionBuffer()

This is the class constructor.

Remarks

This is the default constructor and is typically not used.

Parameters

RoutingTransactionBuffer(Dictionary<String,RouteSegment>,Collection<String>,Dictionary<String,RouteSegment>)

N/A

Remarks

N/A

Parameters
  • addBuffer
  • deleteBuffer
    • Type:Collection<String>
    • Description:N/A
  • editBuffer

Protected Constructors

Public Methods

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:None.
Parameters

AddRouteSegment(RouteSegment)

This method allows you to add RouteSegments to the transaction buffer.

Remarks

None

Return Value
  • Type:Void
  • Description:None
Parameters
  • routeSegment
    • Description:This parameter represents the RouteSegment you are adding to the transaction buffer.

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:None
Parameters
  • featureId
    • Type:String
    • Description:This parameter represents the unique feature Id for the specific RouteSegment being passed in.

UpdateFeature(RouteSegment)

This method allows you to add a Feature to be updated.

Remarks

None

Return Value
  • Type:Void
  • Description:None
Parameters
  • routeSegment
    • Description:This parameter represents the RouteSegment to be updated.

ToString()

N/A

Remarks

N/A

Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

N/A

Remarks

N/A

Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

N/A

Remarks

N/A

Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

N/A

Remarks

N/A

Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

Finalize()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

N/A

Remarks

N/A

Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

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

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<String>

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

Protected Properties

Public Events

thinkgeo.mapsuite.routing.routingtransactionbuffer.1442545608.txt.gz · Last modified: 2015/09/18 03:06 by admin