|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectetch.bindings.java.support.RemoteBase
cisco.uc.cuae.mgmt.RemoteManagement
cisco.uc.cuae.mgmt.RemoteManagementServer
public final class RemoteManagementServer
Call to message translator for ManagementServer.
| Nested Class Summary | |
|---|---|
class |
RemoteManagementServer._Async
Asynchronous implementation of service methods. |
| Field Summary | |
|---|---|
RemoteManagementServer._Async |
_async
RemoteManagementServer._Async class instance used to hide asynchronous message
implementation. |
RemoteManagementServer._Async |
_inner
Deprecated. |
| Constructor Summary | |
|---|---|
RemoteManagementServer(etch.bindings.java.support.DeliveryService svc,
etch.bindings.java.msg.ValueFactory vf)
Constructs the RemoteManagementServer. |
|
| Method Summary | |
|---|---|
Management.AlarmManager |
addAlarmManager(Management.AlarmManager alarmManager)
Allows user to create AlarmComponentManager (eg SMTP, SNMP) |
Management.Connection |
addConnection(Management.Connection connection)
|
Management.Device |
addDevice(Management.Device device)
Add the given device into the system. |
Management.DevicePool |
addDevicePool(Management.DevicePool pool)
Add a sip device pool into database. |
Management.Group |
addGroup(Management.Group group)
Adds a group to the db as well as any members it may contain. |
Management.Device |
addIetfDevice(Management.Device device)
|
Management.Partition |
addPartition(Management.Partition partition,
java.lang.String[] fields)
Adds a new partition to an application. |
Management.User |
addUser(Management.User user)
Adds a user. |
Management.ArchiveFile |
archiveLogFiles(java.lang.String constraint,
java.util.Map<?,?> substitutions)
Archives log files matching pattern. |
Management.User |
authenticateUser(java.lang.String username,
java.lang.String password)
Tests the supplied credentials for correctness. |
void |
beginKillServiceById(java.lang.String id)
Kills the described service. |
java.lang.String |
beginReadArchiveFile(java.lang.String id)
Prepares an archive file for reading and returns a file transaction id handle for reading the contents. |
java.lang.String |
beginReadLogFile(Management.LogFileId id)
Prepares a log file for reading and returns a file transaction id handle for reading the contents. |
java.lang.String |
beginReadMibFile()
Prepares a MIB file for reading and returns a file transaction id handle for reading the contents. |
java.lang.String |
beginReadStatPlot(java.lang.String oid,
java.lang.String interval)
Generates a statistical plot. |
void |
beginRestartServiceById(java.lang.String id)
Restarts the described service. |
void |
beginStartServiceById(java.lang.String id)
Starts the described service. |
void |
beginStopServiceById(java.lang.String id)
Stops the described service. |
void |
bulkAddDevices(java.lang.String devicePoolId,
java.lang.String prefix,
java.lang.Integer count)
Adds a large number of devices using a prefix and then adding a formatted counter on the end. |
java.lang.Boolean |
canAdmin()
Checks to see if a user is logged in and has admin privileges. |
java.lang.Boolean |
canUser()
Checks to see if a user is logged in |
void |
closeApplicationFile(java.lang.String transactionId,
Management.ModuleDisposition disposition,
java.lang.String appId)
Writes some data to the end of the application file. |
void |
closeLicenseFile(java.lang.String transactionId)
Closes the license file and either marks it complete or discards it. |
void |
closePluginFile(java.lang.String transactionId,
Management.ModuleDisposition disposition,
java.lang.String pluginId)
Closes the plugin file and either marks it complete or discards it. |
java.lang.Integer |
countActiveStat(java.lang.String oid)
Get count of active items. |
int[] |
countActiveStats(java.lang.String[] oids)
Get count of active items for each item in the array. |
java.lang.Integer |
countAlarmList(java.lang.String constraint,
java.util.Map<?,?> substitutions)
Retrieves the count of Alarms from the DB |
java.lang.Integer |
countAlarmTypes(java.lang.String constraint,
java.util.Map<?,?> substitutions)
Returns the number of OID in the database. |
java.lang.Integer |
countApplications(java.lang.String constraint,
java.util.Map<?,?> substitutions)
Returns the count of applications matching the criteria.. |
java.lang.Integer |
countArchiveFiles(java.lang.String constraint,
java.util.Map<?,?> substitutions)
Counts the archives from the system matching the search criteria. |
java.lang.Integer |
countConnections(java.lang.String constraint,
java.util.Map<?,?> substitutions)
|
java.lang.Integer |
countCoreComponents(java.lang.String constraint,
java.util.Map<?,?> substitutions)
Returns the count of core components. |
java.lang.Integer |
countDevicePools(java.lang.String constraint,
java.util.Map<?,?> substitutions)
Count the device pools that match the constraint. |
java.lang.Integer |
countDevices(java.lang.String constraint,
java.util.Map<?,?> substitutions)
Count the number of Devices matching the search criteria. |
java.lang.Integer |
countGroupMembers(java.lang.String constraint,
java.util.Map<?,?> substitutions)
Counts the total number of group members for the given constraint. |
java.lang.Integer |
countGroups(java.lang.String constraint,
java.util.Map<?,?> substitutions)
Counts the total number of groups given the constraint. |
java.lang.Integer |
countLogFiles(java.lang.String constraint,
java.util.Map<?,?> substitutions)
Gets the amount of log files matching the pattern |
java.lang.Integer |
countPlugins(java.lang.String constraint,
java.util.Map<?,?> substitutions)
Returns the count of plugins matching the criteria. |
java.lang.Integer |
countServices()
|
java.lang.Integer |
countUsers(java.lang.String constraint,
java.util.Map<?,?> substitutions)
Gets the number of users matching the constraint. |
java.lang.String |
createApplicationFile(java.lang.String name)
Begins the process of creating an application install image. |
java.lang.String |
createLicenseFile(java.lang.String name)
Begins the process of creating an license install image. |
java.lang.String |
createPluginFile(java.lang.String name)
Begins the process of creating a plugin install image. |
void |
disableApplicationById(java.lang.String id)
Disables the application so it will not run. |
void |
disablePluginById(java.lang.String id)
Disables the plugin so it will not run. |
void |
disableRedundancy(Management.RedundancyRole roleType)
Removes the master redundancy setup of this server by taking care of removing the server addresses and restarting the needed services if required |
void |
disableServiceById(java.lang.String id)
Disables the described service. |
void |
enableApplicationById(java.lang.String id)
Enables the application with given id to run. |
void |
enablePluginById(java.lang.String id)
Enables the plugin. |
void |
enableRedundancy(Management.RedundancyRole roleType)
Enables the master redundancy setup of this server by taking care of adding the server addresses, and restarting the needed services if required |
void |
enableServiceById(java.lang.String id)
Enables the described service. |
Management.EventLog[] |
findAlarmList(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
Retrieves the Active Alarms from the DB |
Management.AlarmManager[] |
findAlarmManagers(java.lang.String constraint)
Allows user to get AlarmComponentManager |
Management.AlarmType[] |
findAlarmTypes(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
Allows user to get OID List |
Management.Application[] |
findApplications(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
Returns the list of applications matching the criteria. |
Management.ArchiveFile[] |
findArchiveFiles(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
Lists the available archives matching the criteria given in constraint. |
Management.Connection[] |
findConnections(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
Retrieves all the telephony servers from database. |
Management.CoreComponent[] |
findCoreComponents(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
Finds the core components satisfying the given constraint. |
Management.DevicePool[] |
findDevicePools(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
Find the device pools that match the constraint from database. |
Management.Device[] |
findDevices(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
Return the Devices matching the search criteria. |
Management.GroupMember[] |
findGroupMembers(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
Finds all the group members for given constraint. |
Management.Group[] |
findGroups(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
Finds all the groups for given constraint. |
Management.LogFile[] |
findLogFiles(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
Lists the log files matching the specified LogName pattern. |
Management.Plugin[] |
findPlugins(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
Returns the list of plugins matching the criteria. |
Management.Service[] |
findServices(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
|
Management.User[] |
findUsers(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer length,
Management.SearchOptions options)
Finds the users matching the constraint. |
java.lang.Integer |
getActiveLicense(java.lang.String oid)
Get Active License Count |
Management.Application |
getApplicationById(java.lang.String id)
Get application for the given application Id. |
Management.Application |
getApplicationByName(java.lang.String name)
Get application object for the given application name. |
Management.ComponentTraceLevelConfigData[] |
getComponentTraceLevelConfigData()
Retrieves LogLevel config data from database for all CUAE components. |
Management.Connection |
getConnectionById(java.lang.String id)
|
java.lang.String |
getCUAELicenseMode()
Get CUAE Licensed Mode |
java.lang.String |
getCUMELicenseMode()
Get CUME Lice Mode |
Management.Device |
getDeviceById(java.lang.String id)
Gets any type of device except IETF devices. |
Management.DevicePool |
getDevicePoolById(java.lang.String id)
Gets a Sip Device Pool by Id, and validates it is the correct type |
java.lang.Boolean |
getEnableLoggerQueueDiag()
Retrieves the value of the Logger's EnableLoggerQueueDiag config entry |
Management.Group |
getGroupById(java.lang.String id)
Returns a group with the given id. |
java.lang.String |
getHostName()
Returns the server host name. |
Management.Device |
getIetfDeviceById(java.lang.String id)
|
java.lang.Integer |
getLicensed(java.lang.String lictype)
Get Licensed Count |
Management.LicenseId[] |
getLicenseIds()
|
java.lang.Integer |
getLicenseMax(java.lang.String lictype)
Get License Max Count |
Management.LicInfo |
getLicInfo(java.lang.String licensefilename)
Get License File Info |
java.lang.String[] |
getLoadedLicenses()
Get Loaded Licenses |
java.lang.Integer |
getLoggerPort()
Retrieves the value of the Logger's LoggerPort config entry |
Management.LogServerAndLoggerConfigData |
getLogServerAndLoggerConfigData()
Reads LogServer and Logger config data from database. |
java.lang.String |
getLogServerSinkLoggerLevel()
Retrieves the value of the Logger's LogServerSinkLoggerLevel config entry |
java.lang.String |
getMACAddress()
Get CUAE Server MAC Address |
java.lang.Integer |
getMaxFileLogLines()
Retrieves the value of the LogServer's MaxFileLogLines config entry |
java.lang.Integer |
getMaxFiles()
Retrieves the value of the LogServer's MaxFiles config entry |
Management.MediaFirmwareConfig |
getMediaFirmwareConfig()
Get the Media engine's default IP and MAC address. |
Management.Plugin |
getPluginById(java.lang.String id)
Get Plugin object for the given plugin Id. |
Management.Plugin |
getPluginByName(java.lang.String name)
Get Plugin object for the given plugin name. |
Management.RedundancyConfig |
getRedundancyConfig()
returns a RedundancyMaster object reflecting the state of redundancy setup |
Management.Service |
getService(java.lang.String id)
Requests a Service structure for the service with the given ID. |
Management.StatItem |
getStatItemById(java.lang.String id)
Requests a StatItem structure for the stat item with the given ID. |
Management.StatItem |
getStatItemByOid(java.lang.String oid)
Requests a StatItem structure for the stat item with the given ID. |
java.lang.String |
getTraceLevelConfigEntryId(java.lang.String componentName)
Retrieves dbId of the LogLevel config entry of a given component name. |
Management.Trigger |
getTriggerById(java.lang.String id)
Gets the info for the specified trigger. |
Management.User |
getUserById(java.lang.String id)
Gets the user data given user id. |
Management.User |
getUserByName(java.lang.String name)
Gets the user data given user name. |
void |
initializeServiceSetup(java.lang.String adminPassword,
java.lang.String mediaPassword)
Initialize the management service with the administrator and media engine passwords. |
void |
invokeComponentExtension(java.lang.String componentExtensionId,
Management.ExtensionParameter[] extensionParams)
Invoke ComponentExtension for the given plugin or a core component. |
java.lang.Boolean |
isSdkMode()
Checks to see if the installation of the Unified Application Environment is in SDK mode or not |
java.lang.Boolean |
isServiceSetupInitialized()
Checks to see if the initial management service setup is complete. |
java.lang.String[] |
listClusterVersions()
|
java.lang.String[] |
listLogCategories()
Lists the log file categories. |
Management.StatItem[] |
listStatItems()
Retrieves an array of stat items. |
void |
login(java.lang.String name,
java.lang.String password)
Marks the user as logged in if they are authentic and have the right to utilize the service. |
void |
logout()
Marks the user as logged in |
byte[] |
readArchiveFile(java.lang.String transactionId,
java.lang.Integer length)
Reads a chunk of bytes from the archive file. |
byte[] |
readLogFile(java.lang.String transactionId,
java.lang.Integer length)
Reads a chunk of bytes from the log file. |
byte[] |
readMibFile(java.lang.String transactionId,
java.lang.Integer length)
Allows user to dowload MIB file from Server. |
java.lang.String |
readMIBFileSize()
Allows user to get MIB file Size from Server |
byte[] |
readStatPlot(java.lang.String transactionId,
java.lang.Integer length)
Reads a statistical plot. |
void |
removeAlarmManagerById(java.lang.String id)
Allows user to delete AlarmManager given its id. |
void |
removeApplicationById(java.lang.String id)
Deletes the application from the system. |
void |
removeArchiveFileById(java.lang.String id)
Removes an archive file given its id. |
void |
removeArchiveFiles(java.lang.String constraint,
java.util.Map<?,?> substitutions)
Removes the specified archive from the system. |
void |
removeConnectionById(java.lang.String id)
|
void |
removeDeviceById(java.lang.String id)
Remove the device with the given id from the system. |
void |
removeDevicePoolById(java.lang.String id)
Delete a sip device pool from database. |
void |
removeGroupById(java.lang.String id)
Delete's a group and all of it's members from the db. |
void |
removeIetfDeviceById(java.lang.String id)
|
void |
removeLogFiles(java.lang.String constraint,
java.util.Map<?,?> substitutions)
Removes log files matching pattern. |
void |
removePartitionById(java.lang.String id)
Deletes an existing partition. |
void |
removePluginById(java.lang.String id)
Removes the Plugin for the given plugin Id. |
void |
removeUserById(java.lang.String id)
Removes the user. |
void |
resetConfigurationById(java.lang.String id)
Resets the configuration (if it isn't in the default partition). |
void |
unInstallLicenseFile(java.lang.String licensefilename)
UnInstall the License file. |
void |
updateAlarmStatus(java.lang.String[] alarmIds,
Management.EventLogStatus status)
Allows user to change attributes of single or multiple alarams |
Management.Connection |
updateConnection(Management.Connection connection,
java.lang.String[] fields)
|
void |
updateCoreComponentConfig(java.lang.String coreComponentId,
Management.Configuration config,
java.lang.String[] fields)
(Currently incomplete) Update the fields of the specified core component's configuration with the values from the provided configuration item. |
void |
updateCoreComponentConfigs(java.lang.String coreComponentId,
Management.Configuration[] configs,
java.lang.String[] fields)
(Currently incomplete) Update the fields of the specified core component's configurations with the values from the provided configuration items. |
Management.Device |
updateDevice(Management.Device device,
java.lang.String[] fields)
Update the given device. |
void |
updateDevicePool(Management.DevicePool pool,
java.lang.String[] fields)
|
void |
updateEnableLoggerQueueDiag(java.lang.Boolean enableLoggerQueueDiag)
Updates the value of the Logger's EnableLoggerQueueDiag config entry |
void |
updateGroup(Management.Group group,
java.lang.String[] fields)
Updates the group information as well as the members it has. |
void |
updateHostName(java.lang.String newHostName)
Update the server host name. |
Management.Device |
updateIetfDevice(Management.Device device,
java.lang.String[] fields)
|
java.lang.Integer |
updateIgnoredAlarmTypes(java.lang.String[] alarmTypeIds,
java.lang.Boolean ignore)
Allows user to ignore or not ignore alarm |
void |
updateLoggerPort(java.lang.Integer loggerPort)
Updates the value of the Logger's LoggerPort config entry |
void |
updateLogServerAndLoggerConfigData(Management.LogServerAndLoggerConfigData newData)
Saves LogServer and Logger config data to database. |
void |
updateLogServerSinkLoggerLevel(java.lang.String logServerSinkLoggerLevel)
Updates the value of the Logger's LogServerSinkLoggerLevel config entry |
void |
updateMaxFileLogLines(java.lang.Integer maxFileLogLines)
Updates the value of the LogServer's MaxFileLogLines config entry |
void |
updateMaxFiles(java.lang.Integer maxFiles)
Updates the value of the LogServer's MaxFiles config entry |
void |
updateMediaEnginePassword(java.lang.String newPassword)
Update the media engine's password setting. |
void |
updateMediaFirmwareConfig(Management.MediaFirmwareConfig config,
java.lang.String[] fields)
Update the Media Engine's firmware configuration fields with the given values. |
void |
updatePartition(Management.Partition partition,
java.lang.String[] fields)
Updates an existing partition of an application. |
Management.Configuration |
updatePartitionConfiguration(Management.Configuration config,
java.lang.String[] fields)
Updates an existing configuration. |
Management.Configuration |
updatePluginConfiguration(java.lang.String pluginId,
Management.Configuration config,
java.lang.String[] fields)
Update a single PluginConfiguration for the given plugin Id. |
Management.Configuration[] |
updatePluginConfigurations(java.lang.String pluginId,
Management.Configuration[] configs,
java.lang.String[] field)
Updates the configurations in the specified plugin. |
void |
updateRedundancySettings(Management.RedundancyConfig config,
java.lang.String[] fields)
adds or updates redunancy settings and enables if needed. |
void |
updateTraceLevelConfigValue(java.lang.String traceLevelConfigEntryId,
java.lang.String traceLevel)
Update single LogLevel config entry value |
void |
updateTraceLevelConfigValues(java.lang.String[] traceLevelConfigEntryIds,
java.lang.String traceLevel)
Batch updates selected LogLevel config entry values. |
void |
updateTrigger(Management.Trigger trigger)
Sets the trigger parameters. |
Management.User |
updateUser(Management.User user,
java.lang.String[] fields)
Updates the user for the fields defined in fields parameter. |
java.lang.Boolean |
verifyLicenseFile(java.lang.String licensefilename)
Verify the License file. |
void |
writeApplicationFile(java.lang.String transactionId,
byte[] data)
Writes some data to the end of the application file. |
void |
writeLicenseFile(java.lang.String transactionId,
byte[] data)
Writes some data to the end of the license file. |
void |
writePluginFile(java.lang.String transactionId,
byte[] data)
Writes some data to the end of the plugin file. |
| Methods inherited from class etch.bindings.java.support.RemoteBase |
|---|
_begincall, _endcall, _newMessage, _send, _start, _startAndWaitUp, _stop, _stopAndWaitDown, _transportControl, _transportNotify, _transportQuery, _waitDown, _waitUp, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final RemoteManagementServer._Async _async
RemoteManagementServer._Async class instance used to hide asynchronous message
implementation. Use this to invoke the asynchronous message
implementations.
@Deprecated public final RemoteManagementServer._Async _inner
RemoteManagementServer._Async class instance used to hide asynchronous message
implementation. This is here for backwards compatibility only, use
_async instead.
| Constructor Detail |
|---|
public RemoteManagementServer(etch.bindings.java.support.DeliveryService svc,
etch.bindings.java.msg.ValueFactory vf)
svc - vf - | Method Detail |
|---|
public final Management.Group addGroup(Management.Group group)
throws Management.ManagementException
ManagementServer
addGroup in interface ManagementServergroup - the group to Add
Management.ManagementException
public final Management.Group getGroupById(java.lang.String id)
throws Management.ManagementException
ManagementServer
getGroupById in interface ManagementServerid - the group to retrieve
Management.ManagementException
public final void updateGroup(Management.Group group,
java.lang.String[] fields)
throws Management.ManagementException
ManagementServer
updateGroup in interface ManagementServergroup - the new group contents
Management.ManagementException
public final void removeGroupById(java.lang.String id)
throws Management.ManagementException
ManagementServer
removeGroupById in interface ManagementServerid - the id of the group to delete.
Management.ManagementException
public final java.lang.Integer countGroups(java.lang.String constraint,
java.util.Map<?,?> substitutions)
throws Management.ManagementException
ManagementServer
countGroups in interface ManagementServerconstraint - a query defining search criteria.substitutions - data to be substitued for constraint expression.
Management.ManagementException
public final Management.Group[] findGroups(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
throws Management.ManagementException
ManagementServer
findGroups in interface ManagementServerconstraint - a query defining search criteria.substitutions - data to be substitued for constraint expression.offset - the index of the first Group to returnlimit - the number of Group toReturnoptions - specifies the data fields to return and the sorting order of the results.
Management.ManagementException
public final java.lang.Integer countGroupMembers(java.lang.String constraint,
java.util.Map<?,?> substitutions)
throws Management.ManagementException
ManagementServer
countGroupMembers in interface ManagementServerconstraint - a query defining search criteria.substitutions - data to be substitued for constraint expression.
Management.ManagementException
public final Management.GroupMember[] findGroupMembers(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
throws Management.ManagementException
ManagementServer
findGroupMembers in interface ManagementServerconstraint - a query defining search criteria.substitutions - data to be substituted for constraint expression.offset - the index of the first GroupMember to returnlimit - the number of GroupMember toReturnoptions - specifies the data fields to return and the sorting order of the results.
Management.ManagementException
public final java.lang.String[] listClusterVersions()
throws Management.ManagementException
listClusterVersions in interface ManagementServerManagement.ManagementException
public final Management.Connection addConnection(Management.Connection connection)
throws Management.ManagementException,
Management.InvalidArgumentException
addConnection in interface ManagementServerManagement.ManagementException
Management.InvalidArgumentException
public final Management.Connection getConnectionById(java.lang.String id)
throws Management.ManagementException
getConnectionById in interface ManagementServerManagement.ManagementException
public final Management.Connection updateConnection(Management.Connection connection,
java.lang.String[] fields)
throws Management.ManagementException,
Management.InvalidArgumentException
updateConnection in interface ManagementServerManagement.ManagementException
Management.InvalidArgumentException
public final void removeConnectionById(java.lang.String id)
throws Management.ManagementException
removeConnectionById in interface ManagementServerManagement.ManagementException
public final java.lang.Integer countConnections(java.lang.String constraint,
java.util.Map<?,?> substitutions)
throws Management.ManagementException
countConnections in interface ManagementServerManagement.ManagementException
public final Management.Connection[] findConnections(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
throws Management.InvalidArgumentException,
Management.ManagementException
ManagementServer
findConnections in interface ManagementServerManagement.InvalidArgumentException
Management.ManagementException
public final Management.DevicePool[] findDevicePools(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
throws Management.InvalidArgumentException,
Management.ManagementException
ManagementServer
findDevicePools in interface ManagementServerManagement.InvalidArgumentException
Management.ManagementException
public final Management.DevicePool addDevicePool(Management.DevicePool pool)
throws Management.ManagementException
ManagementServer
addDevicePool in interface ManagementServerpool - the sip device pool to be added.
Management.ManagementException
public final Management.DevicePool getDevicePoolById(java.lang.String id)
throws Management.ManagementException
ManagementServer
getDevicePoolById in interface ManagementServerid - The id of this pool
Management.ManagementException
public final void updateDevicePool(Management.DevicePool pool,
java.lang.String[] fields)
throws Management.ManagementException
updateDevicePool in interface ManagementServerManagement.ManagementException
public final void removeDevicePoolById(java.lang.String id)
throws Management.ManagementException
ManagementServer
removeDevicePoolById in interface ManagementServerid - the id of the device pool to be removed.
Management.ManagementException
public final java.lang.Integer countDevicePools(java.lang.String constraint,
java.util.Map<?,?> substitutions)
throws Management.InvalidArgumentException,
Management.ManagementException
ManagementServer
countDevicePools in interface ManagementServerManagement.InvalidArgumentException
Management.ManagementException
public final Management.Device addDevice(Management.Device device)
throws Management.ManagementException
ManagementServer
addDevice in interface ManagementServerdevice - the device to be added.
Management.ManagementException
public final Management.Device getDeviceById(java.lang.String id)
throws Management.ManagementException
ManagementServer
getDeviceById in interface ManagementServerid - The id of the device pool device to get
Management.ManagementException
public final Management.Device updateDevice(Management.Device device,
java.lang.String[] fields)
throws Management.ManagementException
ManagementServer
updateDevice in interface ManagementServerdevice - the device to be updated.fields - the data fields of the device to be updated. The function will not
change any data field that's not listed in fields array.
Management.ManagementException
public final void removeDeviceById(java.lang.String id)
throws Management.ManagementException
ManagementServer
removeDeviceById in interface ManagementServerid - the device id
Management.ManagementException
public final java.lang.Integer countDevices(java.lang.String constraint,
java.util.Map<?,?> substitutions)
throws Management.InvalidArgumentException,
Management.ManagementException
ManagementServer
countDevices in interface ManagementServerconstraint - a query defining search criteria that can specify device type,
name pattern, directory number pattern, and other device related information.substitutions - data to be substitued for constraint expression.
Management.InvalidArgumentException
Management.ManagementException
public final Management.Device[] findDevices(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
throws Management.InvalidArgumentException,
Management.ManagementException
ManagementServer
findDevices in interface ManagementServerconstraint - a query defining search criteria that can specify device type,
name pattern, directory number pattern, and other device related information.substitutions - data to be substitued for constraint expression.offset - the offset within the result set of the first item.
returned. The first item is at offset 0.limit - the number of items from the result set to return.options - specifies the data fields to return and the sorting order of the results.
Management.InvalidArgumentException
Management.ManagementException
public final void bulkAddDevices(java.lang.String devicePoolId,
java.lang.String prefix,
java.lang.Integer count)
throws Management.ManagementException
ManagementServer
bulkAddDevices in interface ManagementServerdevicePoolId - the device pool to add the devcies tooprefix - the prefix to use for the devicescount - the number of devices to create
Management.ManagementException
public final Management.Device addIetfDevice(Management.Device device)
throws Management.ManagementException
addIetfDevice in interface ManagementServerManagement.ManagementException
public final Management.Device getIetfDeviceById(java.lang.String id)
throws Management.ManagementException
getIetfDeviceById in interface ManagementServerManagement.ManagementException
public final Management.Device updateIetfDevice(Management.Device device,
java.lang.String[] fields)
throws Management.ManagementException
updateIetfDevice in interface ManagementServerManagement.ManagementException
public final void removeIetfDeviceById(java.lang.String id)
throws Management.ManagementException
removeIetfDeviceById in interface ManagementServerManagement.ManagementException
public final java.lang.Integer countCoreComponents(java.lang.String constraint,
java.util.Map<?,?> substitutions)
throws Management.InvalidArgumentException,
Management.ManagementException
ManagementServer
countCoreComponents in interface ManagementServerconstraint - the search criteriasubstitutions - the map containing values for variables in constraint
Management.InvalidArgumentException
Management.ManagementException
public final Management.CoreComponent[] findCoreComponents(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
throws Management.InvalidArgumentException,
Management.ManagementException
ManagementServer
findCoreComponents in interface ManagementServerconstraint - the search criteriasubstitutions - the map containing values for variables in constraintoffset - the offset of the first item to return.limit - the count of items to return.options - the search options(fields to return and sort order)
Management.InvalidArgumentException
Management.ManagementException
public final void updateCoreComponentConfig(java.lang.String coreComponentId,
Management.Configuration config,
java.lang.String[] fields)
throws Management.InvalidArgumentException,
Management.DataStorageFailureException,
Management.ManagementException
ManagementServer
updateCoreComponentConfig in interface ManagementServercoreComponentId - The id of the core component to update.config - The configuration item used to update values of the core component's configuration.fields - The fields of of the core component's configuration to update.
Management.InvalidArgumentException
Management.DataStorageFailureException
Management.ManagementException
public final void updateCoreComponentConfigs(java.lang.String coreComponentId,
Management.Configuration[] configs,
java.lang.String[] fields)
throws Management.InvalidArgumentException,
Management.DataStorageFailureException,
Management.ManagementException
ManagementServer
updateCoreComponentConfigs in interface ManagementServercoreComponentId - The id of the core component to update.configs - The configuration items used to update values of the core component's configuration items.fields - The fields of of the core component's configurations to update.
Management.InvalidArgumentException
Management.DataStorageFailureException
Management.ManagementException
public final void updateMediaEnginePassword(java.lang.String newPassword)
throws Management.DataStorageFailureException,
Management.InvalidArgumentException
ManagementServer
updateMediaEnginePassword in interface ManagementServernewPassword - The new password for the media engine
Management.DataStorageFailureException
Management.InvalidArgumentException
public final java.lang.String getHostName()
throws Management.DataObjectNotFoundException
ManagementServer
getHostName in interface ManagementServerManagement.DataObjectNotFoundException
public final void updateHostName(java.lang.String newHostName)
throws Management.DataStorageFailureException,
Management.InvalidArgumentException
ManagementServer
updateHostName in interface ManagementServernewHostName - The new host name or IP address
Management.DataStorageFailureException
Management.InvalidArgumentException
public final Management.MediaFirmwareConfig getMediaFirmwareConfig()
throws Management.DataObjectNotFoundException
ManagementServer
getMediaFirmwareConfig in interface ManagementServerManagement.DataObjectNotFoundException
public final void updateMediaFirmwareConfig(Management.MediaFirmwareConfig config,
java.lang.String[] fields)
throws Management.DataStorageFailureException,
Management.InvalidArgumentException
ManagementServer
updateMediaFirmwareConfig in interface ManagementServerconfig - The firmware configuration.fields - The fields in the firmware configuration to update.
Management.DataStorageFailureException
Management.InvalidArgumentExceptionpublic final java.lang.Boolean isSdkMode()
ManagementServer
isSdkMode in interface ManagementServer
public final java.lang.Boolean isServiceSetupInitialized()
throws Management.DataObjectNotFoundException
ManagementServer
isServiceSetupInitialized in interface ManagementServerManagement.DataObjectNotFoundException
public final void initializeServiceSetup(java.lang.String adminPassword,
java.lang.String mediaPassword)
throws Management.AuthorizationException,
Management.DataAccessErrorException,
Management.InvalidArgumentException,
Management.ManagementException
ManagementServer
initializeServiceSetup in interface ManagementServeradminPassword - the desired initial administrator password.mediaPassword - the desired initial media engine password.
Management.AuthorizationException
Management.DataAccessErrorException
Management.InvalidArgumentException
Management.ManagementException
public final void disableRedundancy(Management.RedundancyRole roleType)
throws Management.ManagementException
ManagementServer
disableRedundancy in interface ManagementServerManagement.ManagementException
public final void enableRedundancy(Management.RedundancyRole roleType)
throws Management.ManagementException
ManagementServer
enableRedundancy in interface ManagementServerManagement.ManagementException
public final void updateRedundancySettings(Management.RedundancyConfig config,
java.lang.String[] fields)
throws Management.ManagementException
ManagementServer
updateRedundancySettings in interface ManagementServerconfig - settings to be updatedfields - data fields of the the configuration to be updated.
Management.ManagementException
public final Management.RedundancyConfig getRedundancyConfig()
throws Management.ManagementException
ManagementServer
getRedundancyConfig in interface ManagementServerManagement.ManagementException
public final void login(java.lang.String name,
java.lang.String password)
throws Management.InvalidArgumentException,
Management.AuthorizationException,
Management.ManagementException
ManagementServer
login in interface ManagementServername - the name of the user.password - the password of the user.
Management.InvalidArgumentException
Management.AuthorizationException
Management.ManagementExceptionpublic final void logout()
ManagementServer
logout in interface ManagementServerpublic final java.lang.Boolean canAdmin()
ManagementServer
canAdmin in interface ManagementServerpublic final java.lang.Boolean canUser()
ManagementServer
canUser in interface ManagementServer
public final Management.User addUser(Management.User user)
throws Management.InvalidArgumentException,
Management.ManagementException
ManagementServer
addUser in interface ManagementServeruser - the user object that holds user name, password, user rights.
Name must match pattern (^[\\w\\-]+$) which includes letters, digits,
underscore, and dash. Name is case sensitive and must be unique.
Management.InvalidArgumentException
Management.ManagementException
public final Management.User getUserByName(java.lang.String name)
throws Management.InvalidArgumentException,
Management.ManagementException
ManagementServer
getUserByName in interface ManagementServername - the name (^[\\w\\-]+$) of the user.
Management.InvalidArgumentException
Management.ManagementException
public final Management.User getUserById(java.lang.String id)
throws Management.InvalidArgumentException,
Management.ManagementException
ManagementServer
getUserById in interface ManagementServerid - the id ([\\d]+) of the user.
Management.InvalidArgumentException
Management.ManagementException
public final Management.User updateUser(Management.User user,
java.lang.String[] fields)
throws Management.InvalidArgumentException,
Management.ManagementException
ManagementServer
updateUser in interface ManagementServeruser - the uesr data for update.fields - the list of fields in user data to be updated.
Management.InvalidArgumentException
Management.ManagementException
public final void removeUserById(java.lang.String id)
throws Management.InvalidArgumentException,
Management.ManagementException
ManagementServer
removeUserById in interface ManagementServerid - the id ([\\d]+) of the user.
Management.InvalidArgumentException
Management.ManagementException
public final java.lang.Integer countUsers(java.lang.String constraint,
java.util.Map<?,?> substitutions)
throws Management.InvalidArgumentException,
Management.ManagementException
ManagementServer
countUsers in interface ManagementServerconstraint - a query defining search criteria.substitutions - data to be substitued for constraint expression.
Management.InvalidArgumentException
Management.ManagementException
public final Management.User[] findUsers(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer length,
Management.SearchOptions options)
throws Management.InvalidArgumentException,
Management.ManagementException
ManagementServer
findUsers in interface ManagementServerconstraint - a query defining search criteria.substitutions - data to be substitued for constraint expression.offset - the offset within the result set of the first item.
returned. The first item is at offset 0.length - the number of items from the result set to return.options - specifies the data fields to return and the sorting order of the results.
Management.InvalidArgumentException
Management.ManagementException
public final Management.User authenticateUser(java.lang.String username,
java.lang.String password)
throws Management.InvalidArgumentException,
Management.AuthorizationException,
Management.ManagementException
ManagementServer
authenticateUser in interface ManagementServerusername - the name of the user.password - the password of the user.
Management.InvalidArgumentException
Management.AuthorizationException
Management.ManagementException
public final void removeLogFiles(java.lang.String constraint,
java.util.Map<?,?> substitutions)
throws Management.ManagementException
ManagementServer
removeLogFiles in interface ManagementServerconstraint - a query defining search criteria.substitutions - data to be substitued for constraint expression.
Management.ManagementException
public final java.lang.Integer countLogFiles(java.lang.String constraint,
java.util.Map<?,?> substitutions)
throws Management.ManagementException
ManagementServer
countLogFiles in interface ManagementServerconstraint - a query defining search criteria.substitutions - data to be substitued for constraint expression.
Management.ManagementException
public final Management.LogFile[] findLogFiles(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
throws Management.ManagementException
ManagementServer
findLogFiles in interface ManagementServerconstraint - a query defining search criteria that can specify log file id,
name pattern, and file size.substitutions - data to be substitued for constraint expression.offset - the offset within the result set of the first item
returned. The first item is at offset 0.limit - the number of items from the result set to return.options - specifies the data fields to be returned for LogFile and sorting order of
the results.
Management.ManagementException
public final java.lang.String beginReadLogFile(Management.LogFileId id)
throws Management.FileOpenErrorException
ManagementServer
beginReadLogFile in interface ManagementServerid - an id for the log file.
Management.FileOpenErrorException
public final byte[] readLogFile(java.lang.String transactionId,
java.lang.Integer length)
throws Management.FileReadErrorException
ManagementServer
readLogFile in interface ManagementServertransactionId - a transaction id for reading the log file.
Management.FileReadErrorException
public final java.lang.String[] listLogCategories()
throws Management.ManagementException
ManagementServer
listLogCategories in interface ManagementServerManagement.ManagementException
public final Management.ArchiveFile archiveLogFiles(java.lang.String constraint,
java.util.Map<?,?> substitutions)
throws Management.ManagementException
ManagementServer
archiveLogFiles in interface ManagementServerconstraint - a query defining search criteria that can specify log file id,
name pattern, and file size.substitutions - data to be substitued for constraint expression.
Management.ManagementException
public final void removeArchiveFileById(java.lang.String id)
throws Management.ManagementException
ManagementServer
removeArchiveFileById in interface ManagementServerid - the archive file id to be removed.
Management.ManagementException
public final void removeArchiveFiles(java.lang.String constraint,
java.util.Map<?,?> substitutions)
throws Management.ManagementException
ManagementServer
removeArchiveFiles in interface ManagementServerconstraint - a query defining search criteria that can specify log file id,
name pattern, and file size.substitutions - data to be substitued for constraint expression.
Management.ManagementException
public final java.lang.Integer countArchiveFiles(java.lang.String constraint,
java.util.Map<?,?> substitutions)
throws Management.ManagementException
ManagementServer
countArchiveFiles in interface ManagementServerconstraint - a query defining search criteria that can specify log file id,
name pattern, and file size.substitutions - data to be substitued for constraint expression.
Management.ManagementException
public final Management.ArchiveFile[] findArchiveFiles(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
throws Management.ManagementException
ManagementServer
findArchiveFiles in interface ManagementServerconstraint - a query defining search criteria that can specify log file id,
name pattern, and file size.substitutions - data to be substitued for constraint expression.offset - the offset within the result set of the first item
returned. The first item is at offset 0.limit - the number of items from the result set to return.options - specifies the data fields to be returned for ArchiveFile and sorting order of
the results.
Management.ManagementException
public final java.lang.String beginReadArchiveFile(java.lang.String id)
throws Management.FileOpenErrorException
ManagementServer
beginReadArchiveFile in interface ManagementServerid - an id for the archive file.
Management.FileOpenErrorException
public final byte[] readArchiveFile(java.lang.String transactionId,
java.lang.Integer length)
throws Management.FileReadErrorException
ManagementServer
readArchiveFile in interface ManagementServertransactionId - a transaction id for reading the archive file.
Management.FileReadErrorException
public final Management.Application getApplicationById(java.lang.String id)
throws Management.DataObjectNotFoundException,
Management.DuplicateObjectFoundException,
Management.DataRetrievalFailureException,
Management.InvalidArgumentException,
Management.ManagementException
ManagementServer
getApplicationById in interface ManagementServerid - the id of the app.
Management.DataObjectNotFoundException
Management.DuplicateObjectFoundException
Management.DataRetrievalFailureException
Management.InvalidArgumentException
Management.ManagementException
public final Management.Application getApplicationByName(java.lang.String name)
throws Management.DataObjectNotFoundException,
Management.DuplicateObjectFoundException,
Management.DataRetrievalFailureException,
Management.InvalidArgumentException,
Management.ManagementException
ManagementServer
getApplicationByName in interface ManagementServername - the name of the app.
Management.DataObjectNotFoundException
Management.DuplicateObjectFoundException
Management.DataRetrievalFailureException
Management.InvalidArgumentException
Management.ManagementException
public final void removeApplicationById(java.lang.String id)
throws Management.ManagementException,
Management.InvalidArgumentException
ManagementServer
removeApplicationById in interface ManagementServerid - the id of the app.
Management.ManagementException
Management.InvalidArgumentException
public final java.lang.Integer countApplications(java.lang.String constraint,
java.util.Map<?,?> substitutions)
throws Management.DataRetrievalFailureException,
Management.ManagementException,
Management.InvalidArgumentException
ManagementServer
countApplications in interface ManagementServerconstraint - a query defining search criteria.substitutions - data to be substitued for constraint expression.
Management.DataRetrievalFailureException
Management.ManagementException
Management.InvalidArgumentException
public final Management.Application[] findApplications(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
throws Management.DataRetrievalFailureException,
Management.ManagementException,
Management.InvalidArgumentException
ManagementServer
findApplications in interface ManagementServerconstraint - a query defining search criteria.substitutions - data to be substitued for constraint expression.offset - the offset of the first item to return.limit - the count of items to return.
Management.DataRetrievalFailureException
Management.ManagementException
Management.InvalidArgumentException
public final java.lang.String createApplicationFile(java.lang.String name)
throws Management.ManagementException,
Management.FileCreateErrorException
ManagementServer
createApplicationFile in interface ManagementServername - The final name of the application image file.
Management.ManagementException
Management.FileCreateErrorException
public final void writeApplicationFile(java.lang.String transactionId,
byte[] data)
throws Management.FileWriteErrorException
ManagementServer
writeApplicationFile in interface ManagementServertransactionId - the transaction id of the application file to be written.data - the data to be written.
Management.FileWriteErrorException
public final void closeApplicationFile(java.lang.String transactionId,
Management.ModuleDisposition disposition,
java.lang.String appId)
throws Management.ManagementException,
Management.FileCloseErrorException,
Management.InstallModuleErrorException,
Management.UpdateModuleErrorException,
Management.CancelModuleErrorException
ManagementServer
closeApplicationFile in interface ManagementServertransactionId - the transaction id of the application file to be written.disposition - the disposition of a closed module file. to install, update, or cancel.appId - if disposition is update, specifies the id of the app
that we are updating, else null.
Management.ManagementException
Management.FileCloseErrorException
Management.InstallModuleErrorException
Management.UpdateModuleErrorException
Management.CancelModuleErrorException
public final void enableApplicationById(java.lang.String id)
throws Management.NoResponseTimeoutException,
Management.ManagementException,
Management.InvalidArgumentException
ManagementServer
enableApplicationById in interface ManagementServerid - the id of the app.
Management.NoResponseTimeoutException
Management.ManagementException
Management.InvalidArgumentException
public final void disableApplicationById(java.lang.String id)
throws Management.NoResponseTimeoutException,
Management.ManagementException,
Management.InvalidArgumentException
ManagementServer
disableApplicationById in interface ManagementServerid - the id of the app.
Management.NoResponseTimeoutException
Management.ManagementException
Management.InvalidArgumentException
public final Management.Partition addPartition(Management.Partition partition,
java.lang.String[] fields)
throws Management.ManagementException,
Management.InvalidArgumentException
ManagementServer
addPartition in interface ManagementServerpartition - the info for the new partition.fields - the fields of partition data to be updated.
Management.ManagementException
Management.InvalidArgumentException
public final void updatePartition(Management.Partition partition,
java.lang.String[] fields)
throws Management.ManagementException,
Management.InvalidArgumentException
ManagementServer
updatePartition in interface ManagementServerpartition - the info to update for the partition.fields - the fields of the partition data that need to be updated.
Management.ManagementException
Management.InvalidArgumentException
public final void removePartitionById(java.lang.String id)
throws Management.ManagementException,
Management.InvalidArgumentException
ManagementServer
removePartitionById in interface ManagementServerid - the id of the partition to delete.
Management.ManagementException
Management.InvalidArgumentException
public final Management.Configuration updatePartitionConfiguration(Management.Configuration config,
java.lang.String[] fields)
throws Management.ManagementException,
Management.InvalidArgumentException
ManagementServer
updatePartitionConfiguration in interface ManagementServerconfig - the configuration data to be updated.fields - the fields of the given configuration data that need to be updated.
Management.ManagementException
Management.InvalidArgumentException
public final void resetConfigurationById(java.lang.String id)
throws Management.ManagementException,
Management.InvalidArgumentException
ManagementServer
resetConfigurationById in interface ManagementServerid - the id of the configuration to reset.
Management.ManagementException
Management.InvalidArgumentException
public final Management.Trigger getTriggerById(java.lang.String id)
throws Management.ManagementException,
Management.InvalidArgumentException
ManagementServer
getTriggerById in interface ManagementServerid - the unique id of the trigger.
Management.ManagementException
Management.InvalidArgumentException
public final void updateTrigger(Management.Trigger trigger)
throws Management.ManagementException,
Management.InvalidArgumentException
ManagementServer
updateTrigger in interface ManagementServertrigger - the trigger data to be updated.
Management.ManagementException
Management.InvalidArgumentException
public final Management.Plugin getPluginById(java.lang.String id)
throws Management.DataObjectNotFoundException,
Management.DuplicateObjectFoundException,
Management.ManagementException,
Management.InvalidArgumentException
ManagementServer
getPluginById in interface ManagementServerid - id of the plugin.
Management.DataObjectNotFoundException
Management.DuplicateObjectFoundException
Management.ManagementException
Management.InvalidArgumentException
public final Management.Plugin getPluginByName(java.lang.String name)
throws Management.DataObjectNotFoundException,
Management.DuplicateObjectFoundException,
Management.ManagementException,
Management.InvalidArgumentException
ManagementServer
getPluginByName in interface ManagementServername - name of the plugin.
Management.DataObjectNotFoundException
Management.DuplicateObjectFoundException
Management.ManagementException
Management.InvalidArgumentException
public final void removePluginById(java.lang.String id)
throws Management.DataObjectNotFoundException,
Management.DuplicateObjectFoundException,
Management.InvalidStateErrorException,
Management.UninstallModuleErrorException,
Management.ManagementException,
Management.InvalidArgumentException
ManagementServer
removePluginById in interface ManagementServerid - id of the plugin.
Management.DataObjectNotFoundException
Management.DuplicateObjectFoundException
Management.InvalidStateErrorException
Management.UninstallModuleErrorException
Management.ManagementException
Management.InvalidArgumentException
public final java.lang.Integer countPlugins(java.lang.String constraint,
java.util.Map<?,?> substitutions)
throws Management.ManagementException,
Management.InvalidArgumentException
ManagementServer
countPlugins in interface ManagementServerconstraint - a query defining search criteria.substitutions - data to be substitued for constraint expression.
Management.ManagementException
Management.InvalidArgumentException
public final Management.Plugin[] findPlugins(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
throws Management.ManagementException,
Management.InvalidArgumentException
ManagementServer
findPlugins in interface ManagementServerconstraint - a query defining search criteria.substitutions - data to be substitued for constraint expression.offset - the offset of the first item to return.limit - the count of items to return.options - define the fields to be returned and sorting order of the result.
Management.ManagementException
Management.InvalidArgumentException
public final java.lang.String createPluginFile(java.lang.String name)
throws Management.ManagementException,
Management.InvalidArgumentException,
Management.FileCreateErrorException
ManagementServer
createPluginFile in interface ManagementServername - the final name of the plugin image file.
Management.ManagementException
Management.InvalidArgumentException
Management.FileCreateErrorException
public final void writePluginFile(java.lang.String transactionId,
byte[] data)
throws Management.FileWriteErrorException,
Management.InvalidArgumentException
ManagementServer
writePluginFile in interface ManagementServertransactionId - the transaction id of the plugin file to be written.data - the data to be written.
Management.FileWriteErrorException
Management.InvalidArgumentException
public final void closePluginFile(java.lang.String transactionId,
Management.ModuleDisposition disposition,
java.lang.String pluginId)
throws Management.FileCloseErrorException,
Management.InstallModuleErrorException,
Management.UpdateModuleErrorException,
Management.CancelModuleErrorException
ManagementServer
closePluginFile in interface ManagementServertransactionId - the transaction id of the plugin file to be written.disposition - the disposition of a closed module file. to install, update, or cancel.pluginId - if disposition is update, specifies the id of the plugin
that we are updating, else null.
Management.FileCloseErrorException
Management.InstallModuleErrorException
Management.UpdateModuleErrorException
Management.CancelModuleErrorException
public final void disablePluginById(java.lang.String id)
throws Management.ManagementException,
Management.InvalidArgumentException
ManagementServer
disablePluginById in interface ManagementServerid - the id of the plugin.
Management.ManagementException
Management.InvalidArgumentException
public final void enablePluginById(java.lang.String id)
throws Management.ManagementException,
Management.InvalidArgumentException
ManagementServer
enablePluginById in interface ManagementServerid - the id of the plugin.
Management.ManagementException
Management.InvalidArgumentException
public final Management.Configuration[] updatePluginConfigurations(java.lang.String pluginId,
Management.Configuration[] configs,
java.lang.String[] field)
throws Management.InvalidArgumentException,
Management.ManagementException
ManagementServer
updatePluginConfigurations in interface ManagementServerpluginId - the id of the plugin to be updated.configs - the configurations to update. Only the value is updated.
Each config must be a valid configuration as returned by
findPlugins Configurations.
Management.InvalidArgumentException
Management.ManagementException
public final Management.Configuration updatePluginConfiguration(java.lang.String pluginId,
Management.Configuration config,
java.lang.String[] fields)
throws Management.ManagementException,
Management.InvalidArgumentException
ManagementServer
updatePluginConfiguration in interface ManagementServerpluginId - id of the plugin.config - configuration.fields - fields that must be updated.
Management.ManagementException
Management.InvalidArgumentException
public final void invokeComponentExtension(java.lang.String componentExtensionId,
Management.ExtensionParameter[] extensionParams)
throws Management.ManagementException,
Management.InvalidArgumentException,
Management.DataObjectNotFoundException,
Management.InvalidStateErrorException
ManagementServer
invokeComponentExtension in interface ManagementServercomponentExtensionId - id of the componentExtension.extensionParams - array of Extension parameters.
Management.ManagementException
Management.InvalidArgumentException
Management.DataObjectNotFoundException
Management.InvalidStateErrorException
public final java.lang.Boolean verifyLicenseFile(java.lang.String licensefilename)
throws Management.LicException
ManagementServer
verifyLicenseFile in interface ManagementServerlicensefilename - the filename of file to be verified.
Management.LicException
public final java.lang.String createLicenseFile(java.lang.String name)
throws Management.FileCreateErrorException
ManagementServer
createLicenseFile in interface ManagementServername - The name of the file to create for the license.
Management.FileCreateErrorException
public final void writeLicenseFile(java.lang.String transactionId,
byte[] data)
throws Management.FileWriteErrorException
ManagementServer
writeLicenseFile in interface ManagementServertransactionId - The transaction id of the file to be written.data - The data to be written.
Management.FileWriteErrorException
public final void closeLicenseFile(java.lang.String transactionId)
throws Management.FileCloseErrorException,
Management.LicException
ManagementServer
closeLicenseFile in interface ManagementServertransactionId - The transaction id of the file to be closed.
Management.FileCloseErrorException
Management.LicException
public final void unInstallLicenseFile(java.lang.String licensefilename)
throws Management.LicException
ManagementServer
unInstallLicenseFile in interface ManagementServerlicensefilename - the filename of file to be uninstalled.
Management.LicException
public final Management.LicInfo getLicInfo(java.lang.String licensefilename)
throws Management.LicException
ManagementServer
getLicInfo in interface ManagementServerlicensefilename - the filename of file get info from.
Management.LicExceptionpublic final Management.LicenseId[] getLicenseIds()
getLicenseIds in interface ManagementServer
public final java.lang.String[] getLoadedLicenses()
throws Management.LicException
ManagementServer
getLoadedLicenses in interface ManagementServerManagement.LicException
public final java.lang.Integer getActiveLicense(java.lang.String oid)
throws Management.LicException,
Management.DataRetrievalFailureException
ManagementServer
getActiveLicense in interface ManagementServeroid - the license type.
Management.LicException
Management.DataRetrievalFailureException
public final java.lang.Integer getLicenseMax(java.lang.String lictype)
throws Management.LicException
ManagementServer
getLicenseMax in interface ManagementServerlictype - the license type.
Management.LicException
public final java.lang.Integer getLicensed(java.lang.String lictype)
throws Management.LicException
ManagementServer
getLicensed in interface ManagementServerlictype - the license type.
Management.LicException
public final java.lang.String getCUAELicenseMode()
throws Management.LicException
ManagementServer
getCUAELicenseMode in interface ManagementServerManagement.LicException
public final java.lang.String getCUMELicenseMode()
throws Management.LicException
ManagementServer
getCUMELicenseMode in interface ManagementServerManagement.LicException
public final java.lang.String getMACAddress()
throws Management.LicException
ManagementServer
getMACAddress in interface ManagementServerManagement.LicException
public final Management.LogServerAndLoggerConfigData getLogServerAndLoggerConfigData()
throws Management.TraceException
ManagementServer
getLogServerAndLoggerConfigData in interface ManagementServerManagement.TraceException
public final void updateLogServerAndLoggerConfigData(Management.LogServerAndLoggerConfigData newData)
throws Management.TraceException
ManagementServer
updateLogServerAndLoggerConfigData in interface ManagementServernewData - The config data to be saved in database
Management.TraceException
public final Management.ComponentTraceLevelConfigData[] getComponentTraceLevelConfigData()
throws Management.TraceException
ManagementServer
getComponentTraceLevelConfigData in interface ManagementServerManagement.TraceException
public final void updateTraceLevelConfigValues(java.lang.String[] traceLevelConfigEntryIds,
java.lang.String traceLevel)
throws Management.TraceException
ManagementServer
updateTraceLevelConfigValues in interface ManagementServertraceLevelConfigEntryIds - The selected TraceLevel config entry dbIdstraceLevel - The TraceLevel config value for update
Management.TraceException
public final void updateTraceLevelConfigValue(java.lang.String traceLevelConfigEntryId,
java.lang.String traceLevel)
throws Management.TraceException
ManagementServer
updateTraceLevelConfigValue in interface ManagementServertraceLevelConfigEntryId - The config entry dbId to be updatedtraceLevel - The TraceLevel config value for update
Management.TraceException
public final java.lang.String getTraceLevelConfigEntryId(java.lang.String componentName)
throws Management.TraceException
ManagementServer
getTraceLevelConfigEntryId in interface ManagementServercomponentName - The component name
Management.TraceException
public final java.lang.Integer getMaxFileLogLines()
throws Management.TraceException
ManagementServer
getMaxFileLogLines in interface ManagementServerManagement.TraceException
public final void updateMaxFileLogLines(java.lang.Integer maxFileLogLines)
throws Management.TraceException
ManagementServer
updateMaxFileLogLines in interface ManagementServermaxFileLogLines - The value of the LogServer's MaxFileLogLines config entry
Management.TraceException
public final java.lang.Integer getMaxFiles()
throws Management.TraceException
ManagementServer
getMaxFiles in interface ManagementServerManagement.TraceException
public final void updateMaxFiles(java.lang.Integer maxFiles)
throws Management.TraceException
ManagementServer
updateMaxFiles in interface ManagementServermaxFiles - The value of the LogServer's MaxFiles config entry
Management.TraceException
public final java.lang.Integer getLoggerPort()
throws Management.TraceException
ManagementServer
getLoggerPort in interface ManagementServerManagement.TraceException
public final void updateLoggerPort(java.lang.Integer loggerPort)
throws Management.TraceException
ManagementServer
updateLoggerPort in interface ManagementServerloggerPort - The value of the Logger's LoggerPort config entry
Management.TraceException
public final java.lang.String getLogServerSinkLoggerLevel()
throws Management.TraceException
ManagementServer
getLogServerSinkLoggerLevel in interface ManagementServerManagement.TraceException
public final void updateLogServerSinkLoggerLevel(java.lang.String logServerSinkLoggerLevel)
throws Management.TraceException
ManagementServer
updateLogServerSinkLoggerLevel in interface ManagementServerlogServerSinkLoggerLevel - The value of the Logger's LogServerSinkLoggerLevel config entry
Management.TraceException
public final java.lang.Boolean getEnableLoggerQueueDiag()
throws Management.TraceException
ManagementServer
getEnableLoggerQueueDiag in interface ManagementServerManagement.TraceException
public final void updateEnableLoggerQueueDiag(java.lang.Boolean enableLoggerQueueDiag)
throws Management.TraceException
ManagementServer
updateEnableLoggerQueueDiag in interface ManagementServerenableLoggerQueueDiag - The value of the Logger's EnableLoggerQueueDiag config entry
Management.TraceException
public final java.lang.String beginReadMibFile()
throws Management.FileOpenErrorException
ManagementServer
beginReadMibFile in interface ManagementServerManagement.FileOpenErrorException
public final byte[] readMibFile(java.lang.String transactionId,
java.lang.Integer length)
throws Management.FileReadErrorException
ManagementServer
readMibFile in interface ManagementServertransactionId - the identifier for access to the MIB file.length - the number of bytes from the file to return.
Management.FileReadErrorException
public final java.lang.String readMIBFileSize()
throws Management.ManagementException
ManagementServer
readMIBFileSize in interface ManagementServerManagement.ManagementException
public final Management.Service getService(java.lang.String id)
throws Management.DataRetrievalFailureException
ManagementServer
getService in interface ManagementServerid - The identifier for the requested service.
Management.DataRetrievalFailureException
public final java.lang.Integer countServices()
throws Management.DataRetrievalFailureException
countServices in interface ManagementServerManagement.DataRetrievalFailureException
public final Management.Service[] findServices(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
throws Management.ManagementException
findServices in interface ManagementServerManagement.ManagementException
public final void beginStartServiceById(java.lang.String id)
throws Management.DataRetrievalFailureException,
Management.DataStorageFailureException
ManagementServer
beginStartServiceById in interface ManagementServerid - The identifier for the requested service.
Management.DataRetrievalFailureException
Management.DataStorageFailureException
public final void beginStopServiceById(java.lang.String id)
throws Management.DataRetrievalFailureException,
Management.DataStorageFailureException
ManagementServer
beginStopServiceById in interface ManagementServerid - The identifier for the requested service.
Management.DataRetrievalFailureException
Management.DataStorageFailureException
public final void beginRestartServiceById(java.lang.String id)
throws Management.DataRetrievalFailureException,
Management.DataStorageFailureException
ManagementServer
beginRestartServiceById in interface ManagementServerid - The identifier for the requested service.
Management.DataRetrievalFailureException
Management.DataStorageFailureException
public final void beginKillServiceById(java.lang.String id)
throws Management.DataRetrievalFailureException,
Management.DataStorageFailureException
ManagementServer
beginKillServiceById in interface ManagementServerid - The identifier for the requested service.
Management.DataRetrievalFailureException
Management.DataStorageFailureException
public final void enableServiceById(java.lang.String id)
throws Management.DataRetrievalFailureException,
Management.DataStorageFailureException
ManagementServer
enableServiceById in interface ManagementServerid - The identifier for the requested service.
Management.DataRetrievalFailureException
Management.DataStorageFailureException
public final void disableServiceById(java.lang.String id)
throws Management.DataRetrievalFailureException,
Management.DataStorageFailureException
ManagementServer
disableServiceById in interface ManagementServerid - The identifier for the requested service.
Management.DataRetrievalFailureException
Management.DataStorageFailureException
public final Management.StatItem[] listStatItems()
throws Management.ManagementException
ManagementServer
listStatItems in interface ManagementServerManagement.ManagementException
public final Management.StatItem getStatItemById(java.lang.String id)
throws Management.ManagementException
ManagementServer
getStatItemById in interface ManagementServerid - The identifier for the requested stat item.
Management.ManagementException
public final Management.StatItem getStatItemByOid(java.lang.String oid)
throws Management.ManagementException
ManagementServer
getStatItemByOid in interface ManagementServeroid - The oid identifier for the requested stat item.
Management.ManagementException
public final java.lang.Integer countActiveStat(java.lang.String oid)
throws Management.DataRetrievalFailureException
ManagementServer
countActiveStat in interface ManagementServeroid - the stat type.
Management.DataRetrievalFailureException
public final int[] countActiveStats(java.lang.String[] oids)
throws Management.DataRetrievalFailureException
ManagementServer
countActiveStats in interface ManagementServeroids - an array of stat types.
Management.DataRetrievalFailureException
public final java.lang.String beginReadStatPlot(java.lang.String oid,
java.lang.String interval)
throws Management.StatPlotCreationErrorException,
Management.FileOpenErrorException
ManagementServer
beginReadStatPlot in interface ManagementServeroid - an id for the stat server.interval - the interval for which to plot.
Management.StatPlotCreationErrorException
Management.FileOpenErrorException
public final byte[] readStatPlot(java.lang.String transactionId,
java.lang.Integer length)
throws Management.FileReadErrorException
ManagementServer
readStatPlot in interface ManagementServertransactionId - the plot's file identifier.length - the number of bytes from the image file to return.
Management.FileReadErrorException
public final java.lang.Integer countAlarmList(java.lang.String constraint,
java.util.Map<?,?> substitutions)
throws Management.InvalidArgumentException,
Management.ManagementException
ManagementServer
countAlarmList in interface ManagementServerconstraint - a query defining search criteria.substitutions - data to be substitued for constraint expression.
Management.InvalidArgumentException
Management.ManagementException
public final Management.EventLog[] findAlarmList(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
throws Management.InvalidArgumentException,
Management.ManagementException
ManagementServer
findAlarmList in interface ManagementServerconstraint - a query defining search criteria.substitutions - data to be substitued for constraint expression.offset - the offset of the first item to return.limit - Number of items to returnoptions - specifies the data fields to return and the sorting order of the results.
Management.InvalidArgumentException
Management.ManagementException
public final Management.AlarmManager addAlarmManager(Management.AlarmManager alarmManager)
throws Management.ManagementException
ManagementServer
addAlarmManager in interface ManagementServeralarmManager - Data for creating the AlarmComponentManager
Management.ManagementException
public final java.lang.Integer updateIgnoredAlarmTypes(java.lang.String[] alarmTypeIds,
java.lang.Boolean ignore)
throws Management.InvalidArgumentException,
Management.ManagementException
ManagementServer
updateIgnoredAlarmTypes in interface ManagementServeralarmTypeIds - An array of OIDignore - The boolean value indicating whether alarm should be ignored or not
Management.InvalidArgumentException
Management.ManagementException
public final void updateAlarmStatus(java.lang.String[] alarmIds,
Management.EventLogStatus status)
throws Management.InvalidArgumentException,
Management.ManagementException
ManagementServer
updateAlarmStatus in interface ManagementServeralarmIds - An array of AlarmTypestatus - An enum value indicating the status of the alarm
Management.InvalidArgumentException
Management.ManagementException
public final java.lang.Integer countAlarmTypes(java.lang.String constraint,
java.util.Map<?,?> substitutions)
throws Management.InvalidArgumentException,
Management.ManagementException
ManagementServer
countAlarmTypes in interface ManagementServerconstraint - a query defining search criteria.substitutions - data to be substitued for constraint expression.
Management.InvalidArgumentException
Management.ManagementException
public final Management.AlarmType[] findAlarmTypes(java.lang.String constraint,
java.util.Map<?,?> substitutions,
java.lang.Integer offset,
java.lang.Integer limit,
Management.SearchOptions options)
throws Management.InvalidArgumentException,
Management.ManagementException
ManagementServer
findAlarmTypes in interface ManagementServerconstraint - a query defining search criteria.substitutions - data to be substitued for constraint expression.offset - the offset of the first item to return.limit - Number of items to return
Management.InvalidArgumentException
Management.ManagementException
public final Management.AlarmManager[] findAlarmManagers(java.lang.String constraint)
throws Management.ManagementException
ManagementServer
findAlarmManagers in interface ManagementServerconstraint - constraint indicating the kind of AlarmComponentManager to retrieve, such as 'cisco.uc.cuae.SmtpManager' or 'cisco.uc.cuae.SnmpManager'
Management.ManagementException
public final void removeAlarmManagerById(java.lang.String id)
throws Management.ManagementException
ManagementServer
removeAlarmManagerById in interface ManagementServerid - Id of the Alarm Manager to delete
Management.ManagementException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||