Click or drag to resize

SurveyPostActionHandlerBase Class

Base class for SurveyPostActionHandler
Inheritance Hierarchy
SystemObject
  Omada.OE.Solution.OIM.Assembly.SurveyPostActionsSurveyPostActionHandlerBase
    More...

Namespace:  Omada.OE.Solution.OIM.Assembly.SurveyPostActions
Assembly:  Omada.OE.Solution.OIM.Assembly (in Omada.OE.Solution.OIM.Assembly.dll) Version: 15.0.0.0
Syntax
C#
public abstract class SurveyPostActionHandlerBase

The SurveyPostActionHandlerBase type exposes the following members.

Constructors
Properties
  NameDescription
Protected property_dbConnection
Connection to ES database.
Protected property_dbTransaction
Transaction in ES database
Top
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
Fields
  NameDescription
Protected field_acceptOwnershipGuid
UId of Access ownership set property value selected in the survey
Protected field_lastAttestedProperty
Datetime property on the survey object used for storing the last attestation date.
Protected field_odwmdConnection
Connection to Omada datawarehouse master data.
Protected field_odwmdConnectionString
Connection to Omada datawarehouse master data.
Protected field_propertiesToUpdate
a collection of properties to update.
Protected field_updateSurveyResultTable
Flag that tells if SurveyResult table can be updated. Default is false.
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
Inheritance Hierarchy
SystemObject
  Omada.OE.Solution.OIM.Assembly.SurveyPostActionsSurveyPostActionHandlerBase
    Omada.OE.Solution.OIM.Assembly.IntegrationIntegrationPostActionBase
    Omada.OE.Solution.OIM.Assembly.SurveyPostActionsAccountOwnershipSurvey
    Omada.OE.Solution.OIM.Assembly.SurveyPostActionsCalculatedAssignmentVerdictSurveyPostActionHandler
    Omada.OE.Solution.OIM.Assembly.SurveyPostActionsDeletedContextSurvey
    Omada.OE.Solution.OIM.Assembly.SurveyPostActionsGAASAccountOwnershipSurvey
    Omada.OE.Solution.OIM.Assembly.SurveyPostActionsODW_ResourceAssignmentSurvey
    Omada.OE.Solution.OIM.Assembly.SurveyPostActionsOIS_ResourceAssignmentSurvey
    Omada.OE.Solution.OIM.Assembly.SurveyPostActionsOIS_ResourceMasterDataSurvey
    Omada.OE.Solution.OIM.Assembly.SurveyPostActionsRoleCertificationPostActionHandler
    Omada.OE.Solution.OIM.Assembly.SurveyPostActionsSetOwnershipPostActionBase
    Omada.OE.Solution.OIM.Assembly.SurveyPostActionsTransferAssignmentsSurveyPostActionHandler
    Omada.OE.Solution.OIM.Assembly.SurveyPostActionsUpdateDataObjectSurveyPostActionHandler