Setting Read-Only Flags by Using Protected Methods
You should use these protected methods to set read-only flags:
-
setDataSourceType -
setSettingsCompleted -
setAllowRealTimeFeedSecurity