| Both sides previous revision Previous revision Next revision | Previous revision |
| pr_methods:validatesettings [2023/04/04 07:06] – ↷ Page moved from progref:0400_adding_custom_channels:0430_implementing_channel_settings_editor:validatesettings to pr_methods:validatesettings sean | pr_methods:validatesettings [2025/06/12 04:00] (current) – Change to AwareIM aware_support3 |
|---|
| {{tag>Programmers_Reference Methods IChannelSettingsEditor IChannelSettingsEditor_Methods ValidateSettings}} | {{tag>Index Programmers_Reference Methods IChannelSettingsEditor ValidateSettings Index}} |
| ====validateSettings (Properties, int)==== | ====validateSettings (Properties, int)==== |
| <code java>public void validateSettings (Properties settings, int intelligenceType) | <code java>public void validateSettings (Properties settings, int intelligenceType) |
| |
| ===Parameters=== | ===Parameters=== |
| |''intelligenceType''|the intelligence type of the business object for which the channel is configured. Possible values are specified in the [[pr_methods:getintelligencetypeapplicability|getIntelligenceTypeApplicability]] method of the ''[[progref:0400_adding_custom_channels:0420_implementing_channel_type_component|IChannelType]]'' interface.| | |''intelligenceType''|the intelligence type of the business object for which the channel is configured. Possible values are specified in the [[pr_methods:getintelligencetypeapplicability|getIntelligenceTypeApplicability]] method of the ''[[docs:3500:0400:0420|IChannelType]]'' interface.| |
| |''settings''|the current values of the channel settings to be validated. | | |''settings''|the current values of the channel settings to be validated. | |
| |
| The exception if channel settings are invalid. | The exception if channel settings are invalid. |
| |
| <callout type="primary" title="note" icon="true">If you want //**Aware IM**// to build the channel with the intelligent business object when the //**Aware IM**// server starts up so that //**Aware IM**// receives notifications from the business object, set the value of ''CommonConstants.CHANNEL_SETTINGS_BUILD_NOTIF_CHANNEL'' to be "true" in the channel settings.</callout> | <callout type="primary" title="note" icon="true">If you want //**AwareIM**// to build the channel with the intelligent business object when the //**AwareIM**// server starts up so that //**AwareIM**// receives notifications from the business object, set the value of ''CommonConstants.CHANNEL_SETTINGS_BUILD_NOTIF_CHANNEL'' to be "true" in the channel settings.</callout> |
| |
| Below is an example of the Channel Settings Editor that edits the settings of the E-mail channel: | Below is an example of the Channel Settings Editor that edits the settings of the E-mail channel: |