public class UserSettingsService extends java.lang.Object implements UserSettingsService
| Modifier and Type | Method and Description |
|---|---|
int |
deleteUserSettings(java.lang.String storageKey)
Deletes all the User Settings for the specified Storage key.
|
com.tibco.n2.de.api.usersettingsservice.XmlSettingProperty[] |
getUserSettings(java.lang.String storageKey,
java.lang.String settingId)
Returns the value of the User Setting identified by the given key and ID.
|
java.lang.String[] |
listUserSettingIds(java.lang.String storageKey)
List the values of the User Settings grouped by the given key.
|
int |
saveUserSettings(com.tibco.n2.de.api.usersettingsservice.XmlSaveUserSettingsDetail settings)
Saves the given collection of User Settings.
|
public int deleteUserSettings(java.lang.String storageKey)
throws com.tibco.n2.de.services.InternalServiceFault
UserSettingsServicedeleteUserSettings in interface UserSettingsServicestorageKey - The Storage Key identifiying the User Settings to be deleted.com.tibco.n2.de.services.InternalServiceFaultpublic com.tibco.n2.de.api.usersettingsservice.XmlSettingProperty[] getUserSettings(java.lang.String storageKey,
java.lang.String settingId)
throws com.tibco.n2.de.services.InternalServiceFault
UserSettingsServicegetUserSettings in interface UserSettingsServicestorageKey - The Storage Key of the User Settings to be retrieved.settingId - The Setting Id of the User Setting to be retrieved.List of XmlSettingProperty structures.Each one contains the Name and Value for the User Setting.
com.tibco.n2.de.services.InternalServiceFaultpublic java.lang.String[] listUserSettingIds(java.lang.String storageKey)
throws com.tibco.n2.de.services.InternalServiceFault
UserSettingsServicelistUserSettingIds in interface UserSettingsServicestorageKey - The Storage KeyList of Setting Idscom.tibco.n2.de.services.InternalServiceFaultpublic int saveUserSettings(com.tibco.n2.de.api.usersettingsservice.XmlSaveUserSettingsDetail settings)
throws com.tibco.n2.de.services.InternalServiceFault
UserSettingsServicesaveUserSettings in interface UserSettingsServicesettings - A XmlSaveUserSettingsDetail document containing the User Setting to be saved.Each Save can contain multiple User Setting values for the specified Storage Key and Setting ID.
com.tibco.n2.de.services.InternalServiceFaultCopyright © 2018 TIBCO Software Inc. All Rights Reserved.