Server (Component)

 

Methods:

deleteHostingCustomer Deletes a hosting customer.
getAdminMenuCustomizations Returns zero or more structures, each containing information on customized Server Administrator menu items; for example, the menu's name, description, and onclick action.
getAdminMenuSectionCustomizations Returns zero or more structures, each containing information about customized Server Administrator menu sections. This includes information such as the section's description, name, and permissions.
getAuthorSuspendState Returns a structure containing information about the authoring suspend state; for example, when it will be suspended, a warning message displayed before authoring is suspended, and so on.
getAvailableServerKeys Returns a comma-delimited list of one or more server key file names that are not in use. If this is an empty string, no server keys exist that are not in use.
getDateFormats Returns one or more structures, each containing information on the formats that can be used to display a date.
getHostingCustomerList Returns one or more structures, each containing information about hosting customers who are using this server; for example, the hosting customer's name, description, the 'users' database, and so on.
getInfo Returns a structure containing information about this server's CommonSpot license; for example, the data sources it uses, the kind of license, the maximum number or users, and so on.
getInstalledPatches Returns zero or more structures, each containing information about one patch made to CommonSpot.
getLocales Returns one or more structures, each containing information about the locales configured for this server.
getMigratedSiteInfo Retrieve a structure whose contents are the path, URL, and the mapping for a site to be migrated.
getSiteReplicationRequests Returns zero or more structures, each containing information on a replication request on a read-only server; for example the master server's ID, the server requesting replication, and so on.
getSitesList Returns zero or more structures, each containing information about a server's sites; for example, inactive, read only, and so on.
getTimeFormats Returns one or more structures, each containing information on one of a site's time formats.
saveAuthorSuspendState Either suspends the server's authoring state or allows authoring to resume. If authoring will be suspended, you must enter the date and time at which this will occur and tell CommonSpot how many minutes before the suspension it will display a warning message.
saveHostingCustomer Updates a hosting customer record. This method does not create a hosting customer record.
saveSiteState Sets a site's state to 'Active' or 'Inactive'.