SurveyPostActionHandlerBase Methods |
The SurveyPostActionHandlerBase type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddIdentityToCalculationQueue |
Adds an identity to the rope calculation queue
|
![]() | ApplyLastAttestedProperty |
Applies last attested property if it exists.
|
![]() | ApplyPropertyChanges |
Apply the changes made in the survey to the resource assignment data object
|
![]() | ApplyProposedOwner |
Will apply proposed owner, if SURV_PROPOSEDOWNER is changed, and the new proposed owner accepted
the ownership (SURV_ACCEPTOWNERSHIP is Yes).
|
![]() | InitializeAcceptOwnershipProperty |
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.
|
![]() | InitializeLastAttestedProperty |
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.
|
![]() | InitializeODWMDConnectionProperty |
Initialize ODWMD connection property If arguments doesn't contain odwmdConnection
and throwError is set an ArgumentException will be thrown.
|
![]() | InitializeODWMDConnectionStringProperty |
Initialize ODWMD connectionstring property. If arguments doesn't contain odwmdConnectionString
and throwError is set an ArgumentException will be thrown.
|
![]() | InitializePropertiesToUpdate |
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.
|
![]() | InitializeUpdateSurveyResultProperty |
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.
|
![]() | LoadSourceObject(Factory, Guid, Int32) |
Loads the object with the associated objectUId
|
![]() | LoadSourceObject(Factory, Int32, Int32) |
Loads the object with the associated objectId
|
![]() | SetAccountOwnership |
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.
|
![]() | UpdateSurveyResultTable |
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.
|
Name | Description | |
---|---|---|
![]() | ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) |
![]() | ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) |
![]() | ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |