Click or drag to resize

ControlPolicy Class

Inheritance Hierarchy
SystemObject
  Omada.OE.AppLogic.CtrlPolicyControlPolicy

Namespace:  Omada.OE.AppLogic.CtrlPolicy
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
[SerializableAttribute]
public class ControlPolicy : ICloneable

The ControlPolicy type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCorrectiveAction
Id of a Copy rule
Public propertyDataObjectTypeId
Public propertyDataSetType
Public propertyDataSetViewId
Only used if DataSetType is "DataObjectQuery". Id of a data object (policy scoping) view.
Public propertyDataSourceId
Only used if DataSetType is "SQLQuery". Id of a DataSet data object.
Public propertyDescription
Public propertyExceptionDescriptionTemplate
Template used for composing a description for a policy exception. The template can contain property variables from the Data object type.
Public propertyId
Public propertyInactive
Public propertyMaxViolations
If the value is 0 it is ignored – meaning that there is no max.
Public propertyModes
Public propertyName
Public propertyOwnerId
The owner of a policy is asigned to deal with exceptions for it if no ReolverPath is specified. Id of a user or a user group.
Public propertyResolverPaths
Specifies a data object reference path or a fixed user/user group to be used to derive who should evaluate/remedy an exception. The reference path has the data object that violates the policy as starting point Fixed user/group should be in the format: "User:Username" or "Group:GroupName"
Public propertySurveyProcessTemplate
Id of a Survey process template
Public propertyTimerId
Schedule for the policy.
Top
Methods
  NameDescription
Public methodClone
Public methodToString (Overrides ObjectToString.)
Top
Fields
  NameDescription
Public fieldStatic memberNonSupportedDataObjectTypes
Data object types for which it is not possible to create a ControlPolicy.
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