VideoOS.Platform.ConfigurationItems.IConfigurationItem Class Reference

Contains a wrapped instance of a ConfigurationItem. More...

Inheritance diagram for VideoOS.Platform.ConfigurationItems.IConfigurationItem:
VideoOS.Platform.ConfigurationItems.IConfigurationChildItem VideoOS.Platform.ConfigurationItems.AccessControlGroup VideoOS.Platform.ConfigurationItems.AccessControlGroupFolder VideoOS.Platform.ConfigurationItems.AccessControlSystem VideoOS.Platform.ConfigurationItems.AccessControlSystemFolder VideoOS.Platform.ConfigurationItems.AccessControlUnit VideoOS.Platform.ConfigurationItems.AccessControlUnitFolder VideoOS.Platform.ConfigurationItems.AlarmDefinition VideoOS.Platform.ConfigurationItems.AlarmDefinitionFolder VideoOS.Platform.ConfigurationItems.AnalyticsEvent VideoOS.Platform.ConfigurationItems.AnalyticsEventFolder VideoOS.Platform.ConfigurationItems.AnalyticsEventFolder VideoOS.Platform.ConfigurationItems.ArchiveStorage VideoOS.Platform.ConfigurationItems.ArchiveStorageFolder VideoOS.Platform.ConfigurationItems.ArchiveStorageFolder VideoOS.Platform.ConfigurationItems.AutoDetectConfiguration VideoOS.Platform.ConfigurationItems.AutoDetectConfigurationFolder VideoOS.Platform.ConfigurationItems.BasicOwnerInformation VideoOS.Platform.ConfigurationItems.BasicOwnerInformationFolder VideoOS.Platform.ConfigurationItems.BasicUser VideoOS.Platform.ConfigurationItems.BasicUser VideoOS.Platform.ConfigurationItems.BasicUserFolder VideoOS.Platform.ConfigurationItems.BasicUserFolder VideoOS.Platform.ConfigurationItems.Camera VideoOS.Platform.ConfigurationItems.CameraFolder VideoOS.Platform.ConfigurationItems.CameraGroup VideoOS.Platform.ConfigurationItems.CameraGroupFolder VideoOS.Platform.ConfigurationItems.CameraGroupFolder VideoOS.Platform.ConfigurationItems.ChildTaskDetail VideoOS.Platform.ConfigurationItems.ClaimFolder VideoOS.Platform.ConfigurationItems.ClientProfile VideoOS.Platform.ConfigurationItems.ClientProfileFolder VideoOS.Platform.ConfigurationItems.ClientSettings VideoOS.Platform.ConfigurationItems.ClientSettingsFolder VideoOS.Platform.ConfigurationItems.Compressor VideoOS.Platform.ConfigurationItems.CompressorFolder VideoOS.Platform.ConfigurationItems.CustomProperties VideoOS.Platform.ConfigurationItems.CustomPropertiesFolder VideoOS.Platform.ConfigurationItems.CustomSettingGlobal VideoOS.Platform.ConfigurationItems.CustomSettingUser VideoOS.Platform.ConfigurationItems.DetectedDeviceCredentials VideoOS.Platform.ConfigurationItems.DetectedDeviceCredentialsFolder VideoOS.Platform.ConfigurationItems.DetectedDeviceCredentialsFolder VideoOS.Platform.ConfigurationItems.DeviceDriverSettings VideoOS.Platform.ConfigurationItems.DeviceDriverSettingsFolder VideoOS.Platform.ConfigurationItems.EventType VideoOS.Platform.ConfigurationItems.EventTypeFolder VideoOS.Platform.ConfigurationItems.EventTypeGroup VideoOS.Platform.ConfigurationItems.EventTypeGroupFolder VideoOS.Platform.ConfigurationItems.EvidenceLockProfile VideoOS.Platform.ConfigurationItems.EvidenceLockProfileFolder VideoOS.Platform.ConfigurationItems.FailoverGroup VideoOS.Platform.ConfigurationItems.FailoverGroupFolder VideoOS.Platform.ConfigurationItems.FailoverRecorder VideoOS.Platform.ConfigurationItems.FailoverRecorderFolder VideoOS.Platform.ConfigurationItems.FindSaveSearches VideoOS.Platform.ConfigurationItems.FisheyeLens VideoOS.Platform.ConfigurationItems.FisheyeLensFolder VideoOS.Platform.ConfigurationItems.GenericEvent VideoOS.Platform.ConfigurationItems.GenericEventDataSource VideoOS.Platform.ConfigurationItems.GenericEventDataSourceFolder VideoOS.Platform.ConfigurationItems.GenericEventFolder VideoOS.Platform.ConfigurationItems.GisMapLocation VideoOS.Platform.ConfigurationItems.GisMapLocationFolder VideoOS.Platform.ConfigurationItems.Hardware VideoOS.Platform.ConfigurationItems.Hardware VideoOS.Platform.ConfigurationItems.HardwareDeviceEvent VideoOS.Platform.ConfigurationItems.HardwareDeviceEventFolder VideoOS.Platform.ConfigurationItems.HardwareDriver VideoOS.Platform.ConfigurationItems.HardwareDriverFolder VideoOS.Platform.ConfigurationItems.HardwareDriverSettings VideoOS.Platform.ConfigurationItems.HardwareDriverSettingsFolder VideoOS.Platform.ConfigurationItems.HardwareFolder VideoOS.Platform.ConfigurationItems.HardwarePtzSettings VideoOS.Platform.ConfigurationItems.HardwarePtzSettingsFolder VideoOS.Platform.ConfigurationItems.InputEvent VideoOS.Platform.ConfigurationItems.InputEventFolder VideoOS.Platform.ConfigurationItems.InputEventGroup VideoOS.Platform.ConfigurationItems.InputEventGroupFolder VideoOS.Platform.ConfigurationItems.InputEventGroupFolder VideoOS.Platform.ConfigurationItems.Layout VideoOS.Platform.ConfigurationItems.LayoutFolder VideoOS.Platform.ConfigurationItems.LayoutGroup VideoOS.Platform.ConfigurationItems.LayoutGroupFolder VideoOS.Platform.ConfigurationItems.LicenseDetailFolder VideoOS.Platform.ConfigurationItems.LicenseInformation VideoOS.Platform.ConfigurationItems.LicenseInformationFolder VideoOS.Platform.ConfigurationItems.LicenseInstalledProductFolder VideoOS.Platform.ConfigurationItems.LicenseOverviewAllFolder VideoOS.Platform.ConfigurationItems.LoginProvider VideoOS.Platform.ConfigurationItems.LoginProviderFolder VideoOS.Platform.ConfigurationItems.LoginProviderFolder VideoOS.Platform.ConfigurationItems.LprMatchList VideoOS.Platform.ConfigurationItems.LprMatchListFolder VideoOS.Platform.ConfigurationItems.MIPItem VideoOS.Platform.ConfigurationItems.MIPItemFolder VideoOS.Platform.ConfigurationItems.MIPItemFolder VideoOS.Platform.ConfigurationItems.MIPKind VideoOS.Platform.ConfigurationItems.MIPKindFolder VideoOS.Platform.ConfigurationItems.MailNotificationProfile VideoOS.Platform.ConfigurationItems.MailNotificationProfileFolder VideoOS.Platform.ConfigurationItems.ManagementServer VideoOS.Platform.ConfigurationItems.Matrix VideoOS.Platform.ConfigurationItems.MatrixFolder VideoOS.Platform.ConfigurationItems.Metadata VideoOS.Platform.ConfigurationItems.MetadataFolder VideoOS.Platform.ConfigurationItems.MetadataGroup VideoOS.Platform.ConfigurationItems.MetadataGroupFolder VideoOS.Platform.ConfigurationItems.MetadataGroupFolder VideoOS.Platform.ConfigurationItems.Microphone VideoOS.Platform.ConfigurationItems.MicrophoneFolder VideoOS.Platform.ConfigurationItems.MicrophoneGroup VideoOS.Platform.ConfigurationItems.MicrophoneGroupFolder VideoOS.Platform.ConfigurationItems.MicrophoneGroupFolder VideoOS.Platform.ConfigurationItems.Monitor VideoOS.Platform.ConfigurationItems.MonitorFolder VideoOS.Platform.ConfigurationItems.MonitorPreset VideoOS.Platform.ConfigurationItems.MonitorPresetFolder VideoOS.Platform.ConfigurationItems.MotionDetection VideoOS.Platform.ConfigurationItems.MotionDetectionFolder VideoOS.Platform.ConfigurationItems.Output VideoOS.Platform.ConfigurationItems.OutputFolder VideoOS.Platform.ConfigurationItems.OutputGroup VideoOS.Platform.ConfigurationItems.OutputGroupFolder VideoOS.Platform.ConfigurationItems.OutputGroupFolder VideoOS.Platform.ConfigurationItems.PatrollingProfile VideoOS.Platform.ConfigurationItems.PatrollingProfileFolder VideoOS.Platform.ConfigurationItems.PrivacyMask VideoOS.Platform.ConfigurationItems.PrivacyMaskFolder VideoOS.Platform.ConfigurationItems.PrivacyProtection VideoOS.Platform.ConfigurationItems.PrivacyProtection VideoOS.Platform.ConfigurationItems.PrivacyProtectionFolder VideoOS.Platform.ConfigurationItems.PtzPreset VideoOS.Platform.ConfigurationItems.PtzPresetFolder VideoOS.Platform.ConfigurationItems.PtzPresetFolder VideoOS.Platform.ConfigurationItems.RecordingServer VideoOS.Platform.ConfigurationItems.RecordingServer VideoOS.Platform.ConfigurationItems.RecordingServerFailover VideoOS.Platform.ConfigurationItems.RecordingServerFailoverFolder VideoOS.Platform.ConfigurationItems.RecordingServerFolder VideoOS.Platform.ConfigurationItems.RecordingServerMulticast VideoOS.Platform.ConfigurationItems.RecordingServerMulticastFolder VideoOS.Platform.ConfigurationItems.RegisteredClaim VideoOS.Platform.ConfigurationItems.RegisteredClaimFolder VideoOS.Platform.ConfigurationItems.Role VideoOS.Platform.ConfigurationItems.RoleFolder VideoOS.Platform.ConfigurationItems.SaveSearches VideoOS.Platform.ConfigurationItems.SaveSearchesFolder VideoOS.Platform.ConfigurationItems.Server VideoOS.Platform.ConfigurationItems.ServerFolder VideoOS.Platform.ConfigurationItems.Site VideoOS.Platform.ConfigurationItems.SiteAddressFolder VideoOS.Platform.ConfigurationItems.SiteFolder VideoOS.Platform.ConfigurationItems.Speaker VideoOS.Platform.ConfigurationItems.SpeakerFolder VideoOS.Platform.ConfigurationItems.SpeakerGroup VideoOS.Platform.ConfigurationItems.SpeakerGroupFolder VideoOS.Platform.ConfigurationItems.SpeakerGroupFolder VideoOS.Platform.ConfigurationItems.StateGroup VideoOS.Platform.ConfigurationItems.StateGroupFolder VideoOS.Platform.ConfigurationItems.Storage VideoOS.Platform.ConfigurationItems.Storage VideoOS.Platform.ConfigurationItems.StorageFolder VideoOS.Platform.ConfigurationItems.StorageInformation VideoOS.Platform.ConfigurationItems.StreamDefinition VideoOS.Platform.ConfigurationItems.StreamFolder VideoOS.Platform.ConfigurationItems.SystemAddressFolder VideoOS.Platform.ConfigurationItems.TaskDetail VideoOS.Platform.ConfigurationItems.TimeProfile VideoOS.Platform.ConfigurationItems.TimeProfileFolder VideoOS.Platform.ConfigurationItems.ToolOptionAviGeneration VideoOS.Platform.ConfigurationItems.ToolOptionBookmark VideoOS.Platform.ConfigurationItems.ToolOptionCustomerDashbord VideoOS.Platform.ConfigurationItems.ToolOptionFolder VideoOS.Platform.ConfigurationItems.ToolOptionMailServer VideoOS.Platform.ConfigurationItems.ToolOptionNetwork VideoOS.Platform.ConfigurationItems.ToolOptionPrivacySetting VideoOS.Platform.ConfigurationItems.ToolOptionRecordingServer VideoOS.Platform.ConfigurationItems.ToolOptionServerLog VideoOS.Platform.ConfigurationItems.User VideoOS.Platform.ConfigurationItems.UserDefinedEvent VideoOS.Platform.ConfigurationItems.UserDefinedEventFolder VideoOS.Platform.ConfigurationItems.UserFolder VideoOS.Platform.ConfigurationItems.VideoWall VideoOS.Platform.ConfigurationItems.VideoWallFolder VideoOS.Platform.ConfigurationItems.VideoWallPreset VideoOS.Platform.ConfigurationItems.VideoWallPresetFolder VideoOS.Platform.ConfigurationItems.View VideoOS.Platform.ConfigurationItems.ViewFolder VideoOS.Platform.ConfigurationItems.ViewFolder VideoOS.Platform.ConfigurationItems.ViewGroup VideoOS.Platform.ConfigurationItems.ViewGroupFolder VideoOS.Platform.ConfigurationItems.ViewGroupFolder VideoOS.Platform.ConfigurationItems.Zone VideoOS.Platform.ConfigurationItems.ZoneFolder

Public Member Functions

void ClearChildrenCache ()
 Clear the internal cache of children. Can be used to force a new set of children to be fetched from the server at next access.
 
ServerTask ExecuteMethod (string methodId)
 Execute the provided method. The method id must be one of the defined values in the Methods property.
 
void FillChildren (string[] itemTypes)
 Fill all children and grand-children - as long as the itemtype is contained in itemType parameter.
 
void FillChildren (string[] itemTypes, ItemFilter[] itemFilters)
 Fill all children and grand-children - as long as the itemtype is contained in itemType parameter and filters match. If multiple filters are defined for same itemtype, all must match for the item to be included ('and' operation).
If no filter is defined for an ItemType, then all items of that type is filled.
 
void Save ()
 Will save all updated values to server.
 
ValidateResult ValidateItem ()
 Validate the current content.
 
- Public Member Functions inherited from VideoOS.Platform.ConfigurationItems.IConfigurationChildItem
string GetProperty (string key)
 Return a property value as string, if key is not found the return value will be null.
 
ICollection< string > GetPropertyKeys ()
 Get a collection of all available property keys.
 
List< ValueTypeInfoGetValueTypeInfoList (string propertyKey)
 Get defined ValueTypeInfo for a given property. If no ValueTypeInfo is available, an empty list is returned.
 
void SetProperty (string key, string content)
 Sets the value of a property (all is string format here)
 
override string ToString ()
 Display the 'DisplayName' is the default ToString()
 

Properties

Guid Guid [get]
 Returns the id property or part of the path, when available. When no id is available this will be Guid.Empty. This is relevant for some items of ItemCategory.ChildItem where no property with key = "Id" exists and path does not contains a guid.
 
Collection< string > Methods [get]
 The available methods for this class.
 
- Properties inherited from VideoOS.Platform.ConfigurationItems.IConfigurationChildItem
string Description [get, set]
 Description.
 
virtual string DisplayName [get]
 Name of this ConfigurationItem in user readable format. Usually the same as property with key = "Name".
 
string ItemCategory [get]
 Return the item category for this item. This can be used to understand how multiple items are fetched and saved together. Only ItemCategory == 'Item' can be saved.
 
string Name [get, set]
 Name.
 
string ParentItemPath [get]
 Get hold of the next real parent path, e.g. skip any 'Folder' type parent.
 
string ParentPath [get]
 The path for the parent of this ConfigurationItem.
 
string Path [get]
 The identification of this item.

 
ServerId ServerId [get, set]
 Contains the ServerId of the Management Server holding this item.
 

Detailed Description

Contains a wrapped instance of a ConfigurationItem.

Member Function Documentation

◆ ClearChildrenCache()

void VideoOS.Platform.ConfigurationItems.IConfigurationItem.ClearChildrenCache ( )
inline

Clear the internal cache of children. Can be used to force a new set of children to be fetched from the server at next access.

◆ ExecuteMethod()

ServerTask VideoOS.Platform.ConfigurationItems.IConfigurationItem.ExecuteMethod ( string methodId)
inline

Execute the provided method. The method id must be one of the defined values in the Methods property.

Parameters
methodId
Returns

◆ FillChildren() [1/2]

void VideoOS.Platform.ConfigurationItems.IConfigurationItem.FillChildren ( string[] itemTypes)
inline

Fill all children and grand-children - as long as the itemtype is contained in itemType parameter.

Parameters
itemTypes

◆ FillChildren() [2/2]

void VideoOS.Platform.ConfigurationItems.IConfigurationItem.FillChildren ( string[] itemTypes,
ItemFilter[] itemFilters )
inline

Fill all children and grand-children - as long as the itemtype is contained in itemType parameter and filters match. If multiple filters are defined for same itemtype, all must match for the item to be included ('and' operation).
If no filter is defined for an ItemType, then all items of that type is filled.

Parameters
itemTypes
itemFilters

◆ Save()

void VideoOS.Platform.ConfigurationItems.IConfigurationItem.Save ( )
inline

Will save all updated values to server.

Can throw exception is values are invalid.

◆ ValidateItem()

ValidateResult VideoOS.Platform.ConfigurationItems.IConfigurationItem.ValidateItem ( )
inline

Validate the current content.

Returns

Property Documentation

◆ Guid

Guid VideoOS.Platform.ConfigurationItems.IConfigurationItem.Guid
get

Returns the id property or part of the path, when available. When no id is available this will be Guid.Empty. This is relevant for some items of ItemCategory.ChildItem where no property with key = "Id" exists and path does not contains a guid.

◆ Methods

Collection<string> VideoOS.Platform.ConfigurationItems.IConfigurationItem.Methods
get

The available methods for this class.