Click or drag to resize

SurveyPostActionHandlerBase Methods

The SurveyPostActionHandlerBase type exposes the following members.

Methods
  NameDescription
Protected methodAddIdentityToCalculationQueue
Adds an identity to the rope calculation queue
Protected methodApplyLastAttestedProperty
Applies last attested property if it exists.
Protected methodApplyPropertyChanges
Apply the changes made in the survey to the resource assignment data object
Protected methodApplyProposedOwner
Will apply proposed owner, if SURV_PROPOSEDOWNER is changed, and the new proposed owner accepted the ownership (SURV_ACCEPTOWNERSHIP is Yes).
Protected methodInitializeAcceptOwnershipProperty
Reads UId of accept ownership from arguments and stores it in _acceptOwnershipGuid. If parameters in the survey template does not contain "acceptOwnershipGuid" an ArgumentException will be thrown. An ArgumentException will also be thrown if acceptOwnershipGuid does not contain a valid guid.
Protected methodInitializeLastAttestedProperty
Reads last attested property from arguments and stores it in _lastAttestedProperty. If post action parameters in the survey template does not contain "lastAttestedProperty", nothing will be read.
Protected methodInitializeODWMDConnectionProperty
Initialize ODWMD connection property If arguments doesn't contain odwmdConnection and throwError is set an ArgumentException will be thrown.
Protected methodInitializeODWMDConnectionStringProperty
Initialize ODWMD connectionstring property. If arguments doesn't contain odwmdConnectionString and throwError is set an ArgumentException will be thrown.
Protected methodInitializePropertiesToUpdate
Reads the properties to update from arguments and stores them in _propertiesToUpdate. If post action parameters in the survey template does not contain "properties", nothing will be read.
Protected methodInitializeUpdateSurveyResultProperty
Reads updateSurveyResultTable from arguments and stores it in _updateSurveyResultTable. If parameters in the survey template does not contain "updateSurveyResultTable" nothing happens. If it exists and its value is set to true, it will also read the values: DbConnection and DbTransaction, from arguments and store them in _dbConnection and _dbTransaction.
Protected methodLoadSourceObject(Factory, Guid, Int32)
Loads the object with the associated objectUId
Protected methodLoadSourceObject(Factory, Int32, Int32)
Loads the object with the associated objectId
Protected methodSetAccountOwnership
Sets the ownership of an account. It will accept the ownership, if confirmed is true and identityOISID is not 0. It will reject the proposed ownership if confirmed is false or identityOISID is 0. Accounttype will also be set if confirmed is true and the account type is provided.
Protected methodUpdateSurveyResultTable
Will update or create a new record in tblSurveyResult_ResourceAssignment if _updateSurveyResultTable is true and composedBusinessKey is not empty. Approved will be set to true if survey action is "keep". It will be set to false if forceRemove is true or survey action is "remove". ApprovalTime will be using SYSUTCDATETIME in the database server. Approver will be set to the logged in user. Approved will either be set to the value of action comment or "Forced removed due to missing answer at survey closure" if forceRemove is true. ChangeTime will be using SYSUTCDATETIME in the database server.
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
See Also