Click or drag to resize

RoleCertificationPostActionHandler Class

Postaction handler for the Role certification survey The post action handler updates the Role data objects.
Inheritance Hierarchy
SystemObject
  Omada.OE.Solution.OIM.Assembly.SurveyPostActionsSurveyPostActionHandlerBase
    Omada.OE.Solution.OIM.Assembly.SurveyPostActionsRoleCertificationPostActionHandler

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 class RoleCertificationPostActionHandler : SurveyPostActionHandlerBase, 
	ISurveyPostActionHandler

The RoleCertificationPostActionHandler type exposes the following members.

Constructors
Properties
  NameDescription
Protected property_dbConnection
Connection to ES database.
(Inherited from SurveyPostActionHandlerBase.)
Protected property_dbTransaction
Transaction in ES database
(Inherited from SurveyPostActionHandlerBase.)
Top
Methods
  NameDescription
Protected methodAddIdentityToCalculationQueue
Adds an identity to the rope calculation queue
(Inherited from SurveyPostActionHandlerBase.)
Protected methodApplyLastAttestedProperty
Applies last attested property if it exists.
(Inherited from SurveyPostActionHandlerBase.)
Protected methodApplyPropertyChanges
Apply the changes made in the survey to the resource assignment data object
(Inherited from SurveyPostActionHandlerBase.)
Protected methodApplyProposedOwner
Will apply proposed owner, if SURV_PROPOSEDOWNER is changed, and the new proposed owner accepted the ownership (SURV_ACCEPTOWNERSHIP is Yes).
(Inherited from SurveyPostActionHandlerBase.)
Public methodInitialize
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.
(Inherited from SurveyPostActionHandlerBase.)
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.
(Inherited from SurveyPostActionHandlerBase.)
Protected methodInitializeODWMDConnectionProperty
Initialize ODWMD connection property If arguments doesn't contain odwmdConnection and throwError is set an ArgumentException will be thrown.
(Inherited from SurveyPostActionHandlerBase.)
Protected methodInitializeODWMDConnectionStringProperty
Initialize ODWMD connectionstring property. If arguments doesn't contain odwmdConnectionString and throwError is set an ArgumentException will be thrown.
(Inherited from SurveyPostActionHandlerBase.)
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.
(Inherited from SurveyPostActionHandlerBase.)
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.
(Inherited from SurveyPostActionHandlerBase.)
Protected methodLoadSourceObject(Factory, Guid, Int32)
Loads the object with the associated objectUId
(Inherited from SurveyPostActionHandlerBase.)
Protected methodLoadSourceObject(Factory, Int32, Int32)
Loads the object with the associated objectId
(Inherited from SurveyPostActionHandlerBase.)
Public methodPerformAction
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.
(Inherited from SurveyPostActionHandlerBase.)
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.
(Inherited from SurveyPostActionHandlerBase.)
Top
Fields
  NameDescription
Protected field_acceptOwnershipGuid
UId of Access ownership set property value selected in the survey
(Inherited from SurveyPostActionHandlerBase.)
Protected field_lastAttestedProperty
Datetime property on the survey object used for storing the last attestation date.
(Inherited from SurveyPostActionHandlerBase.)
Protected field_odwmdConnection
Connection to Omada datawarehouse master data.
(Inherited from SurveyPostActionHandlerBase.)
Protected field_odwmdConnectionString
Connection to Omada datawarehouse master data.
(Inherited from SurveyPostActionHandlerBase.)
Protected field_propertiesToUpdate
a collection of properties to update.
(Inherited from SurveyPostActionHandlerBase.)
Protected field_updateSurveyResultTable
Flag that tells if SurveyResult table can be updated. Default is false.
(Inherited from SurveyPostActionHandlerBase.)
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