CFIDE.adminapi.servermanager
Component servermanager (Server Manager)
Provides API for accessing server manager information.
* – private method
| applyHotfix |
|---|
remote void applyHotfix (
Applies the hotfix. Output: |
| archiveLogFile |
remote void archiveLogFile ( required string logfilename
Archives a log file, given the logfile name. Output: |
| buildArchive |
remote void buildArchive ( required string archivename, required string filepath
Builds a ColdFusion archive, given the archivename and the filepath where the archive has to be built. Output: |
| buildChartingXML* |
private void buildChartingXML ( required any docroot, required any parentNode
Output: |
| buildConfigxml |
remote any buildConfigxml ( required array featuresarr
Constructs the configuration xml. An array of features is provided as input, based on which the xml file is populated. Output: |
| builddebugsettingsxml* |
private void builddebugsettingsxml ( required any docroot, required any parentNode
Output: |
| builddsnsxml* |
private void builddsnsxml ( required any docroot, required any parentNode
Output: |
| builddsnxml* |
private void builddsnxml ( required any docroot, required any parentNode, required CFIDE.adminapi._servermanager.dswrapper dwrapper
Output: |
| buildgatewaysxml* |
private void buildgatewaysxml ( required any docroot, required any parentNode
Output: |
| buildgatewayxml* |
private void buildgatewayxml ( required any docroot, required any parentNode, required CFIDE.adminapi._servermanager.gatewaywrapper gwrapper
Output: |
| buildjvmsettingsxml* |
private void buildjvmsettingsxml ( required any docroot, required any parentNode
Output: |
| buildlogsettingsxml* |
private void buildlogsettingsxml ( required any docroot, required any parentNode
Output: |
| buildmailsettingsxml* |
private void buildmailsettingsxml ( required any docroot, required any parentNode
Output: |
| buildmappingsxml* |
private void buildmappingsxml ( required any docroot, required any parentNode
Output: |
| buildmemoryvarsxml* |
private void buildmemoryvarsxml ( required any docroot, required any parentNode
Builds the part of the xml containing memory variable settings Output: |
| buildrequestparamsxml* |
private void buildrequestparamsxml ( required any docroot, required any parentNode
Builds the part of the xml containing request tuning parameters Output: |
| buildScheduledTasksxml* |
private void buildScheduledTasksxml ( required any docroot, required any parentNode
Output: |
| buildserversettingsxml* |
private void buildserversettingsxml ( required any docroot, required any parentNode
Builds the part of the xml containing server settings Output: |
| buildtaskxml* |
private void buildtaskxml ( required any docroot, required any parentNode, required CFIDE.adminapi._servermanager.schedulerwrapper twrapper
Output: |
| checkPositive* |
private string checkPositive ( required var, required setting
Verifies if the given variable has a positive value. This API returns an error message incase error occurs Output: |
| clearTemplateCache |
remote void clearTemplateCache (
Clears the template cache Output: |
| convertToTitleCase |
public string convertToTitleCase ( required string strval
Output: |
| createArchive |
remote CFIDE.adminapi._servermanager.archivewrapper createArchive ( required string archivename
Creates a ColdFusion archive, given the archivename. Output: |
| createDSNFromMap* |
private CFIDE.adminapi._servermanager.dswrapper createDSNFromMap ( required struct dsobj, required string dsname
Returns a dswrapper object populated with datasource attributes Output: |
| deleteArchive |
remote void deleteArchive ( required string archivename
Deletes an archive Output: |
| deleteDatasources |
remote void deleteDatasources ( required array dsnarr
Deletes the datasources. This function takes an array of dsn names as input parameter. Output: |
| deleteLogFile |
remote void deleteLogFile ( required string logfilename
Deletes a log file, given the logfile name. Output: |
| deleteMappings |
remote void deleteMappings ( required array mappingnames
Deletes a mapping Output: |
| deletescheduledtasks |
remote void deletescheduledtasks ( required array tasks
Deletes an array of scheduled tasks, given the array of scheduled task names. Output: |
| deployLocalArchive |
remote void deployLocalArchive ( required string filename
Deploys the archive that is present in the same server Output: |
| deployRemoteArchive |
remote void deployRemoteArchive ( required string fileData
Deploys the archive that is present in a remote server Output: |
| editArchive |
remote void editArchive ( required CFIDE.adminapi._servermanager.archivewrapper awrapper
Edits a ColdFusion archive. This method takes in an archivewrapper object which contains information about collections, datasources, etc that has to be included in the archive. Output: |
| getAdminVariant |
public string getAdminVariant (
Output: |
| getapplets |
remote array getapplets (
Returns all the applets. Output: |
| getArchive |
remote CFIDE.adminapi._servermanager.archivewrapper getArchive ( required string archivename
Returns archive information. Output: |
| getArchiveContent |
remote string getArchiveContent ( required string archivename
Given the archive name, this function builds the archive in a temp directory and returns the encoded binary data in the form of a string Output: |
| getArchives |
remote getArchives (
Returns all archives in the form of archivewrapper objects. Output: |
| getBuildNumber |
remote string getBuildNumber (
Returns the build number Output: |
| getcfxtags |
remote array getcfxtags (
Returns available cfx tags. Output: |
| getChartingSettings |
remote CFIDE.adminapi._servermanager.chartingsettingswrapper getChartingSettings (
Returns the charting settings Output: |
| getcollections |
remote struct getcollections (
Returns a struct containing the name of the collection and path Output: |
| getConfigFeatures |
remote struct getConfigFeatures (
Returns a map containing all the related wrapper classes as keys and the feature names as values, a subset of which has to be provided as input for buildConfigXML Output: |
| getDatasources |
remote CFIDE.adminapi._servermanager.dswrapper[] getDatasources (
Returns the list of available datasources in the form dswrapper objects. Output: |
| getDebugParams |
public CFIDE.adminapi._servermanager.debugparamswrapper getDebugParams (
Returns the debug parameters, in the form of debugparamswrapper. Output: |
| getDrivers |
remote array getDrivers (
Returns an array containing all registered drivers Output: |
| getEdition* |
private string getEdition (
Returns the edition:
Standard Output: suppressed |
| getGateways |
remote CFIDE.adminapi._servermanager.gatewaywrapper[] getGateways (
Returns the gateway instances Output: |
| getJVMSettings |
remote CFIDE.adminapi._servermanager.jvmsettingswrapper getJVMSettings (
Returns the jvm settings Output: |
| getLogFiles |
remote array getLogFiles (
Returns the list of available logfiles. Output: |
| getLoggingSettings |
remote CFIDE.adminapi._servermanager.loggingparamswrapper getLoggingSettings (
Returns the logging settings Output: |
| getMailSettings |
remote CFIDE.adminapi._servermanager.mailsettingswrapper getMailSettings (
Returns the mail settings Output: |
| getMappings |
remote CFIDE.adminapi._servermanager.mappingswrapper[] getMappings (
Returns the mappings Output: |
| getMemoryVarSettings |
remote CFIDE.adminapi._servermanager.memoryvarswrapper getMemoryVarSettings (
Returns the memory variables settings, in the form of memoryvarswrapper objects. Output: |
| getODBCDSNs |
remote Array getODBCDSNs (
Output: |
| getRequestTuningParams |
remote CFIDE.adminapi._servermanager.tuningparamswrapper getRequestTuningParams (
Returns the request tuning parameters, in the form of tuningparamswrapper objects. Output: |
| getscheduledtask |
remote CFIDE.adminapi._servermanager.schedulerwrapper getscheduledtask ( required string taskname
Returns the information about a particular scheduled task, given the task name Output: |
| getScheduledTasks |
remote CFIDE.adminapi._servermanager.schedulerwrapper[] getScheduledTasks (
Returns scheduled tasks Output: |
| getServerRestartFeatures |
remote array getServerRestartFeatures (
Returns an array of features that requires server restart Output: |
| getServerSettings |
remote CFIDE.adminapi._servermanager.serversettingswrapper getServerSettings (
Returns the server settings in the form of serversettingswrapper objects. Output: |
| getwebservices |
remote array getwebservices (
Returns all the configured webservices. Output: |
| init |
servermanager init (
Constructor Output: |
| isJ2EEInstall |
remote boolean isJ2EEInstall (
Returns true if the current installation is J2EE Output: |
| isJRunInstall |
remote boolean isJRunInstall (
Returns true if the current installation is JRun Multi Server Output: |
| isJVMSettingsAvailable |
remote boolean isJVMSettingsAvailable (
Output: |
| monitorGatewayInstances |
remote void monitorGatewayInstances ( required string emailid
Monitors all the gateway instances. This function checks the status of all the gateway instances configured in a server and sends mail using the configured mail settings in administrator Output: |
| pauseAllScheduledTasks |
remote void pauseAllScheduledTasks (
Pauses all scheduled tasks. Output: |
| pauseScheduledTasks |
remote void pauseScheduledTasks ( required array tasks
Pauses an array of scheduled tasks, given the array of scheduled task names. Output: |
| populateArchiveWrapper* |
private CFIDE.adminapi._servermanager.archivewrapper populateArchiveWrapper ( required any archive
Output: |
| populateGatewayWrapper* |
private CFIDE.adminapi._servermanager.gatewaywrapper populateGatewayWrapper ( required any gwinfo
Output: |
| populateScheduledTask* |
private array populateScheduledTask ( required CFIDE.adminapi._servermanager.schedulerwrapper swrapper
Populates a scheduled task and returns an array of errors, if any Output: |
| populateSchedulerWrapper* |
private CFIDE.adminapi._servermanager.schedulerwrapper populateSchedulerWrapper ( required struct task
Output: |
| removeHotfix |
remote void removeHotfix ( required string hfname
Removes the hotfix, given the name of the hotfix Output: |
| resumeallscheduledtasks |
remote void resumeallscheduledtasks (
Resumes all scheduled tasks Output: |
| resumescheduledtasks |
remote void resumescheduledtasks ( required array tasks
Resumes an array of scheduled tasks, given the array of scheduled task names. Output: |
| runAllscheduledtasks |
remote struct runAllscheduledtasks (
Runs all scheduled tasks. Returns an array containing the task name as the key and error string as value, incase of any errors, or an empty string incase of no errors Output: |
| runscheduledtasks |
remote struct runscheduledtasks ( required array tasks
Runs an array of scheduled tasks. Returns an array containing the task name as the key and error string as value, incase of any errors, or an empty string incase of no errors Output: |
| setChartingSettings |
remote array setChartingSettings ( required CFIDE.adminapi._servermanager.chartingsettingswrapper chartingsettings
Sets the charting settings.This API returns an array of error messages, incase of any errors. Output: |
| setDatasources |
remote struct setDatasources ( required CFIDE.adminapi._servermanager.dswrapper[] dsWrapperobjs
Creates/ edits datasources. This function takes in an array of dswrapper objects using which new datasources are created. It takes an array of dswrapper objects, and returns a struct containing errors, if any Output: |
| setDebugParams |
public void setDebugParams ( required CFIDE.adminapi._servermanager.debugparamswrapper debugparams
Sets the debug parameters Output: |
| setDSN |
public string setDSN ( required CFIDE.adminapi._servermanager.dswrapper ds
Creates/edits a datasource based on the driver type Output: |
| setJVMSettings |
remote void setJVMSettings ( required CFIDE.adminapi._servermanager.jvmsettingswrapper jvmsettings
Sets the jvm settings Output: |
| setLoggingSettings |
remote array setLoggingSettings ( required CFIDE.adminapi._servermanager.loggingparamswrapper lwrapper
Sets the logging settings, and returns an array of errors, if any Output: |
| setMailSettings |
remote array setMailSettings ( required CFIDE.adminapi._servermanager.mailsettingswrapper mailsettings
Sets the mail settings. Returns an array of errors if any. Output: |
| setMappings |
remote struct setMappings ( required CFIDE.adminapi._servermanager.mappingswrapper[] mappings
Sets the mappings. Creates/edit mappings. Returns an error struct, which contains the logical path as key and an array of errors, incase of any errors. Output: |
| setMemoryVarSettings |
remote array setMemoryVarSettings ( required CFIDE.adminapi._servermanager.memoryvarswrapper memoryvarparams
Sets the memory variable settings.This API returns an array of error messages, incase of any errors. Output: |
| setRequestTuningParams |
remote array setRequestTuningParams ( required CFIDE.adminapi._servermanager.tuningparamswrapper tuningparams
Sets the request tuning parameters.This API returns an array of error messages, incase of any errors. Output: |
| setScheduledTasks |
remote struct setScheduledTasks ( required CFIDE.adminapi._servermanager.schedulerwrapper[] scheduledtasks
Sets scheduled tasks.Returns a struct containing the task name as the key and an array of errors if any. Output: |
| setServerSettings |
remote array setServerSettings ( required CFIDE.adminapi._servermanager.serversettingswrapper swrapper
Sets the server settings. This API returns an array of error messages, incase of any errors. Output: |
| setupAccessDatasource |
setupAccessDatasource ( required thisdsn
Output: |
| setupODBCSocketDatasource |
setupODBCSocketDatasource ( required ds
Output: |
| startAllGatewayInstances |
remote struct startAllGatewayInstances (
Starts all the available gateway instances.Returns a struct containing the gwid as the key and either empty string/ encountered error message as value. Output: |
| startGatewayInstance |
remote string startGatewayInstance ( required string gwid
Starts the gateway instance. Returns an empty string if started successfully, else an error message when there is an exception. Output: |
| stopAllGatewayInstances |
remote struct stopAllGatewayInstances (
Stops all the available gateway instances.Returns a struct containing the gwid as the key and either empty string/ encountered error message as value. Output: |
| stopGatewayInstance |
remote string stopGatewayInstance ( required string gwid
Stops the gateway instance.Returns an empty string if stopped successfully, else an error message when there is an exception Output: |
| verifyAdminRoles* |
private void verifyAdminRoles (
Output: |
| verifyChartingSettings* |
private array verifyChartingSettings ( required CFIDE.adminapi._servermanager.chartingsettingswrapper cparams
Verifies the charting settings Output: |
| verifyDatasources |
remote struct verifyDatasources ( required array dsnarr
Verifies the datasources Output: |
| verifyMailSettings* |
private array verifyMailSettings ( required CFIDE.adminapi._servermanager.mailsettingswrapper mparams
Verifies the mail server settings and returns an array of errors, if any Output: |
| verifyMappings* |
private array verifyMappings ( required CFIDE.adminapi._servermanager.mappingswrapper mapping
Verifies the mappings and returns an array of errors, if any Output: |
| verifyMemoryVarParams* |
private array verifyMemoryVarParams ( CFIDE.adminapi._servermanager.memoryvarswrapper memoryvarparams
Verifies the params required to set memory variables settings. This API returns an array of errors, incase there are errors with the parameters Output: |
| verifySchedulerWrapper* |
private array verifySchedulerWrapper ( required CFIDE.adminapi._servermanager.schedulerwrapper swrapper
Verifies the schedulerwrapper object and returns an array of errors, if any Output: |
| viewLogFile |
remote binary viewLogFile ( required string logfilename
Returns the log file content in the form of binary data. Output: |