Constructors
NSPreferenceAgent()
Methods
CreateDefaultPreference()
Sets default values into a new NSPreference.NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
CreateDefaultPreferenceDescription()
Sets default values into a new NSPreferenceDescription.NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
CreateDefaultPreferenceDescriptionLine()
Sets default values into a new NSPreferenceDescriptionLine.NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
DeleteFromSectionAndKey(String,String)
Gets an NSPreferenceDescription based on the section and keyDeletePrefDescLinesByPrefDescId(Integer)
Deletes the PrefDescLines associated with Preference Description ID in the SuperOffice databaseDeletePrefDescLinesByPrefDescIds(Integer[])
Deletes the PrefDescLines associated with Preference Description IDs in the SuperOffice databaseDeletePreference(Integer)
Deletes a preference by IDDeletePreferenceDescription(Integer)
Deletes the NSPreferenceDescriptionDeletePreferenceDescriptionLine(Integer)
Deletes the NSPreferenceDescriptionLineDeletePreferenceDescriptionLines(Integer[])
Deletes the PrefDescLines in the SuperOffice databaseDeletePreferences(Integer[])
Deletes some preferences by IDGetAll()
Gets a list of all PreferenceDescriptions in the system.GetAllFromSection(String)
Gets all NSPreferenceDescription-items in the specified sectionGetFromSectionAndKey(String,String)
Gets an NSPreferenceDescription based on the section and keyGetNetServicesStatusUrl()
Returns URL to status service. e.g. ‘https://help.superoffice.com/sodispatcher/v1/status’GetPreference(Integer)
Gets a preference by IDGetPreferenceByName(String,String,Integer)
Gets a preference by nameGetPreferenceByNameAndId(String,String,Integer,Integer)
Gets a preference by name and owner ID.GetPreferenceDescription(Integer)
Gets an NSPreferenceDescription object.GetPreferenceDescriptionLine(Integer)
Gets an NSPreferenceDescriptionLine object.GetPreferenceDescriptionLineFromIdAndValue(Integer,String)
Gets a preference description line from a prefDesc_id and a prefValueGetPreferenceDescriptionLinesByPrefDescId(Integer)
Gets all preference description lines from a prefDesc_idGetPreferences(NSPreferenceSpec[])
Gets one or more preferences based on a set of specifications.The prefDisplayvalue and prefDisplaytooltip are blank (faster processing relative to GetPreferencesWithDisplayValues)
GetPreferencesWithDisplayValues(NSPreferenceSpec[])
Gets one or more preferences based on a set of specifications.The PrefDisplayValue and PrefDisplaytooltip are populated, at some additional processing cost.
GetTabOrder(String)
Gets the tab order.GetTabOrders()
SaveFromSectionAndKey(String,String,NSPreferenceDescription)
Updates an NSPreferenceDescription based on the section and keySavePreference(NSPreference)
Saves this preferenceSavePreferenceDescription(NSPreferenceDescription)
Updates the existing NSPreferenceDescription or creates a new NSPreferenceDescription if the id parameter is 0SavePreferenceDescriptionLine(NSPreferenceDescriptionLine)
Updates the existing NSPreferenceDescriptionLine or creates a new NSPreferenceDescriptionLine if the id parameter is 0SavePreferenceDescriptionLines(NSPreferenceDescriptionLine[])
Saves the PreferenceDescriptionLine array in the SuperOffice databaseSavePreferenceEntities(NSPreference[],Bool)
Saves this set of preferences.SavePreferenceEntity(NSPreference,Bool)
Saves a complete preference object, on any level and any target.Preference administrator rights are required to use this
SavePreferences(NSPreference[])
Saves this set of preferences.DOES NOT look at level/targetId, it only saves on behalf of the CURRENT USER.