User Tools

Site Tools


12.0:apis:thinkgeo.core.transactionbuffer

ThinkGeo.Core.TransactionBuffer

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.Core.TransactionBuffer

Members Summary

Public Constructors

TransactionBuffer()

  • This is the class constructor.
Remarks
  • This is the default constructor and is typically not used.
Parameters

TransactionBuffer(Dictionary<String,Feature>,Collection<String>,Dictionary<String,Feature>)

  • N/A
Remarks
  • N/A
Parameters
  • addBuffer
    • Type:Dictionary<String,Feature>
    • Description:N/A
  • deleteBuffer
    • Type:Collection<String>
    • Description:N/A
  • editBuffer
    • Type:Dictionary<String,Feature>
    • Description:N/A

Protected Constructors

Public Methods

Clear()

  • N/A
Remarks
  • This method will clear all the items in AddBuffer, EditBuffer and DeleteBuffer.
Return Value
  • Type:Void
  • Description:None.
Parameters

AddFeature(Feature)

  • N/A
Remarks
  • None
Return Value
  • Type:Void
  • Description:None
Parameters
  • feature
    • Type:Feature
    • Description:This parameter represents the Feature you are adding to the transaction buffer.

AddFeature(BaseShape)

  • N/A
Remarks
  • None
Return Value
  • Type:Void
  • Description:None
Parameters
  • baseShape
    • Type:BaseShape
    • Description:This parameter represents the shape to be added.

AddFeature(BaseShape,Dictionary<String,String>)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • columnValues
    • Type:Dictionary<String,String>
    • Description:N/A

DeleteFeature(String)

  • N/A
Remarks
  • This does not remove a feature 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 Id for the specific Feature being passed in.

EditFeature(Feature)

  • N/A
Remarks
  • None
Return Value
  • Type:Void
  • Description:None
Parameters
  • feature
    • Type:Feature
    • Description:This parameter represents the Feature to be updated.

EditFeature(BaseShape)

  • N/A
Remarks
  • None
Return Value
  • Type:Void
  • Description:None
Parameters
  • baseShape
    • Type:BaseShape
    • Description:This parameter represents the shape to be updated. The shape ID should be the same as the feature you are going to update.

EditFeature(BaseShape,Dictionary<String,String>)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • columnValues
    • Type:Dictionary<String,String>
    • Description:N/A

AddColumn(FeatureSourceColumn)

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

DeleteColumn(String)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • columnName
    • Type:String
    • Description:N/A

UpdateColumn(String,FeatureSourceColumn)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • columnName
    • Type:String
    • Description:N/A

GetType()

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

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

Protected Methods

MemberwiseClone()

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

Finalize()

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

Public Properties

AddBuffer

  • N/A
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 DeleteFeature 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

  • N/A
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 DeleteFeature 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>

EditBuffer

  • N/A
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 DeleteFeature 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

AddColumnBuffer

  • N/A
Remarks
  • N/A
Return Value

DeleteColumnBuffer

  • N/A
Remarks
  • N/A
Return Value
  • Type:Collection<String>

UpdateColumnBuffer

  • N/A
Remarks
  • N/A
Return Value

Protected Properties

Public Events

12.0/apis/thinkgeo.core.transactionbuffer.txt · Last modified: 2019/09/26 09:35 (external edit)