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
UserSettingsService
deleteUserSettings
in interface UserSettingsService
storageKey
- The Storage Key identifiying the User Settings to be deleted.com.tibco.n2.de.services.InternalServiceFault
public com.tibco.n2.de.api.usersettingsservice.XmlSettingProperty[] getUserSettings(java.lang.String storageKey, java.lang.String settingId) throws com.tibco.n2.de.services.InternalServiceFault
UserSettingsService
getUserSettings
in interface UserSettingsService
storageKey
- 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.InternalServiceFault
public java.lang.String[] listUserSettingIds(java.lang.String storageKey) throws com.tibco.n2.de.services.InternalServiceFault
UserSettingsService
listUserSettingIds
in interface UserSettingsService
storageKey
- The Storage KeyList
of Setting Idscom.tibco.n2.de.services.InternalServiceFault
public int saveUserSettings(com.tibco.n2.de.api.usersettingsservice.XmlSaveUserSettingsDetail settings) throws com.tibco.n2.de.services.InternalServiceFault
UserSettingsService
saveUserSettings
in interface UserSettingsService
settings
- 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.InternalServiceFault
Copyright © 2017 Cloud Software Group, Inc. All Rights Reserved.