AdventNet Web NMS 4 API Specification

Deprecated API

Deprecated Classes
com.adventnet.nms.store.DBIndexedVector
          From 4.5SP1 onwards. 
com.adventnet.nms.store.DBPropertytable
          From 4.5SP1 onwards. 
com.adventnet.nms.store.DBSchedulerVector
          From 4.5SP1 onwards. 
com.adventnet.nms.store.DBVectortable
          From 4.5SP1 onwards. 
 

Deprecated Interfaces
com.adventnet.nms.fe.common.BEFailOverObserver
          - Use BEFailOverListener instead of BEFailOverObserver. 
com.adventnet.nms.topodb.TopoObserver
          This interface has been replaced by TopoActionListener interface. 
 

Deprecated Fields
com.adventnet.nms.util.NmsClientUtil.AIM_ROOT
          use NmsClientUtil.getAIM_ROOT() instead. 
com.adventnet.nms.fe.alert.AlertFE.alertapiproxy
          This may be null, in case of FE in the same JVM as that of BE. Use NmsUtil.getAPI("AlertAPI") instead. 
com.adventnet.nms.fe.alert.AlertFE.alertFilterAPIProxy
          This may be null, in case of FE in the same JVM as that of BE. Use NmsUtil.getAPI("AlertFilterAPI") instead. 
com.adventnet.management.policydb.NmsPolicyAPI.AND_CONDITION
            
com.adventnet.nms.topodb.TopoAPI.CLEAR
          As of Web NMS 2.1. This variable had been deprecated to support configurable number of severities. 
com.adventnet.nms.topodb.TopoAPI.CRITICAL
          As of Web NMS 2.1. This variable had been deprecated to support configurable number of severities. 
com.adventnet.nms.fe.event.EventFE.eventapiproxy
          This may be null, in case of FE in the same JVM as that of BE. Use NmsUtil.getAPI("EventAPI") instead. 
com.adventnet.nms.fe.event.EventFE.eventFilterAPIProxy
          This may be null, in case of FE in the same JVM as that of BE. Use NmsUtil.getAPI("EventFilterAPI") instead. 
com.adventnet.nms.fe.event.EventFE.eventParserAPIProxy
          This may be null, in case of FE in the same JVM as that of BE. Use NmsUtil.getAPI("EventParserAPI") instead. 
com.adventnet.nms.util.NmsUtil.KEY
            
com.adventnet.nms.topodb.TopoAPI.MAJOR
          As of Web NMS 2.1. This variable had been deprecated to support configurable number of severities. 
com.adventnet.nms.util.NmsUtil.mibOps
            
com.adventnet.nms.topodb.TopoAPI.MINOR
          As of Web NMS 2.1. This variable had been deprecated to support configurable number of severities. 
com.adventnet.nms.util.NmsUtil.mode
            
com.adventnet.nms.store.relational.RelationalAPI.newConnection
          from Web NMS 2.3 Release. 
com.adventnet.management.policydb.NmsPolicyAPI.OR_CONDITION
            
com.adventnet.nms.fe.perf.PollFE.pollapiproxy
          This may be null, in case of FE in the same JVM as that of BE. Use NmsUtil.getAPI("PollAPI") instead. 
com.adventnet.nms.store.relational.RelationalUtil.quot
          Will be removed in the next release. 
com.adventnet.nms.util.NmsUtil.SAVE_PERIOD
            
com.adventnet.nms.util.NmsUtil.snmpapi
            
com.adventnet.nms.util.NmsUtil.snmpsession
            
com.adventnet.nms.fe.event.EventFE.trapAPIProxy
          This may be null, in case of FE in the same JVM as that of BE. Use NmsUtil.getAPI("TrapAPI") instead. 
com.adventnet.nms.topodb.TopoAPI.UNKNOWN
          As of Web NMS 2.1. This variable had been deprecated to support configurable number of severities. 
com.adventnet.nms.util.PureServerUtils.useJDBC
            
com.adventnet.nms.util.NmsClientUtil.USER_NAME
          as of WebNMS 2.2 . use NmsClientUtil.getUserName() 
com.adventnet.nms.util.NmsUtil.USER_NAME
            
com.adventnet.nms.util.NmsUtil.userName
            
com.adventnet.nms.util.NmsUtil.version
            
com.adventnet.nms.topodb.TopoAPI.WARNING
          As of Web NMS 2.1. This variable had been deprecated to support configurable number of severities. 
 

Deprecated Methods
com.adventnet.management.log.LogUser.abort(String, Throwable)
            
com.adventnet.nms.store.DBVectortable.add(String, String)
          use com.adventnet.nms.store.DBVectortable#addPut(String,Vector) instead. 
com.adventnet.management.policydb.NmsPolicyAPI.addAction(String, PolicyAction)
          We strongly recommend you to use NmsPolicyAPI.addPolicyActionAndCondition(String policyname , PolicyAction pa , PolicyCondition pc) 
com.adventnet.management.policydb.PolicyObject.addCondition(PolicyCondition)
          Instead use addPolicyActionAndCondition(PolicyAction , PolicyCondtion) 
com.adventnet.management.policydb.NmsPolicyAPI.addCondition(String, PolicyCondition)
          We strongly recommend you to use NmsPolicyAPI.addPolicyActionAndCondition(String policyname , PolicyAction pa , PolicyCondition pc) 
com.adventnet.nms.util.NmsUiAPI.addCustomView(String, String, String, Hashtable, boolean)
          The method is deprecated because it does not directly take the tree node properties as an argument. The new method is
public static String addCustomView(String moduleId,String parentNodeId,Properties criteria,Properties treeNodeProps,boolean sync)
 
com.adventnet.nms.tl1.config.TL1ConfigAPI.addGNE(GNEConfig)
            
com.adventnet.nms.util.NmsUiAPI.addNodesToTree(Properties[], String, String, String)
          Since the Properties object should contain "panelkey" as a key, the extra argument panelKey is not required. The new method is
public static boolean addNodesToTree (Properties[] prop,String parentNodeId, String tobeselected,boolean sync )
 
com.adventnet.nms.poll.PollMgr.addPoll(PolledData, boolean)
          as of WebNMS2.1 use addPoll(PolledData) instead. 
com.adventnet.nms.poll.PollAPI.addPoll(PolledData, boolean)
          as of WebNMS2.1 use addPoll(PolledData) instead. 
com.adventnet.nms.fe.perf.PollAPIProxyImpl.addPoll(PolledData, boolean)
          as of WebNMS2.1 use addPoll(PolledData) instead. 
com.adventnet.nms.tl1.config.TL1ConfigAPI.addTID(TIDConfig, String, String)
            
com.adventnet.nms.tl1.config.TL1ConfigAPI.addTL1Node(TL1Config)
            
com.adventnet.management.log.LogUser.assert(boolean, String)
            
com.adventnet.nms.client.NmsClientTableModel.changeName(String)
          since changing of the viewID of a Custom View is not supported. 
com.adventnet.nms.authentication.UserConfigAPI.changePassword(String, String, String, String)
          Use changePassword(String userName,String oldPasswd,String newPasswd) Since a user might be in more than one group but will have only one password. 
com.adventnet.nms.topodb.TopoAPI.changePollInterval(String, int)
          as of WebNMS 2.2. 
com.adventnet.nms.alertdb.AlertAPIImpl.clearAlert(Alert)
          This method is deprecated as of WebNMS2.2 
com.adventnet.nms.alertdb.AlertAPI.clearAlert(Alert)
          This method has been deprecated as of WebNMS2.2. Users are suggested to use AlertAPI.checkOutIfAvailable(String entity) to get the Alert object and after getting Alert object use AlertAPI.clearAlert(Alert alert,boolean dealWithLock) to clear that Alert. Use AlertAPI.unlock(Alert alt) to unlock the checked out object. 
com.adventnet.nms.eventdb.EventAPIImpl.clearAlert(Alert)
          This method has been deprecated as of WebNMS2.0. Users are suggested to use the clearAlertAPI call in the AlertAPI. 
com.adventnet.nms.eventdb.EventAPI.clearAlert(Alert)
          This method has been deprecated as of WebNMS2.0. Usrs are suggested to use the clearAlert API call in the AlertAPI. 
com.adventnet.nms.fe.alert.AlertAPIProxyImpl.clearAlert(Alert)
          as of WebNMS2.2 
com.adventnet.nms.alertdb.AlertAPIImpl.clearAlert(String)
          Deprecated as WebNMS2.3 
com.adventnet.nms.alertdb.AlertAPI.clearAlert(String)
          Deprecated as of WebNMS2.3 Because complete Alert object is needed to lock that object during this operation. Users are suggested to use AlertAPI.checkOutIfAvailable(String entity) to get the Alert object and after getting Alert object use AlertAPI.clearAlert(Alert entity,boolean dealWithLock) to clear that Alert. Use AlertAPI.unlock(Alert alt) to unlock the checked out object. 
com.adventnet.nms.alertdb.AlertAPIImpl.deleteAlert(Alert)
          This method is deprecated as of WebNMS2.2 
com.adventnet.nms.alertdb.AlertAPI.deleteAlert(Alert)
          This method has been deprecated as of WebNMS2.2. Users are suggested to use AlertAPI.checkOutIfAvailable(String entity) to get the Alert object and after getting Alert object use AlertAPI.deleteAlert(Alert alert,boolean dealWithLock) to delete that Alert. 
com.adventnet.nms.eventdb.EventAPIImpl.deleteAlert(Alert)
          This method has been deprecated as of WebNMS2.0. Users are suggested to use the deleteAlert() API call in AlertAPI. 
com.adventnet.nms.eventdb.EventAPI.deleteAlert(Alert)
          This method has been deprecated as of WebNMS2.0. Users are suggested to use the deleteAlert() API call in AlertAPI. 
com.adventnet.nms.fe.alert.AlertAPIProxyImpl.deleteAlert(Alert)
          as of WebNMS2.2 
com.adventnet.nms.alertdb.AlertAPIImpl.deleteAlert(String)
          Deprecated as WebNMS2.3 
com.adventnet.nms.alertdb.AlertAPI.deleteAlert(String)
          Deprecated as of WebNMS2.3. Because complete Alert object is needed to lock that object during this operation. Users are suggested to use AlertAPI.checkOutIfAvailable(String entity) to get the Alert object and after getting Alert object use AlertAPI.deleteAlert(Alert entity,boolean dealWithLock) to delete that Alert. 
com.adventnet.nms.util.NmsUtil.deleteFile(String, String)
            
com.adventnet.nms.topodb.TopoAPI.deleteObject(ManagedObject)
          As of Web NMS 2.3. The Web NMS internally locks the MOs before updating them in the database, and since this method does not check for locks before deleting the object, using this method might result in inconsistency in the database. Always use the TopoAPI.deleteObject(ManagedObject, boolean, boolean) method with the third argument set to true, to avoid any database inconsistency. 
com.adventnet.nms.topodb.TopoAPI.deleteObject(ManagedObject, boolean)
          As of Web NMS 2.3. The Web NMS internally locks the MOs before updating them in the database, and since this method does not check for locks before deleting the object, using this method might result in inconsistency in the database. Always use the TopoAPI.deleteObject(ManagedObject, boolean, boolean) method with the third argument set to true, to avoid any database inconsistency. 
com.adventnet.nms.startnms.MainSocketClientFE.deRegisterFailOverObserver(BEFailOverObserver)
          - Use BEFailOverListener instead of BEFailOverObserver. 
com.adventnet.nms.alertdb.AlertAPI.deregisterForAlerts(AlertObserver)
          as of WebNMS 2.3. Since usage of AlertListener is suggested over the usage of AlertObserver 
com.adventnet.nms.store.relational.RelationalAPI.disconnectOnlyThis()
            
com.adventnet.nms.topodb.TopoAPI.doStatusPoll(String)
          As of WebNMS2.0 Beta, the pollStatus method of the ManagedObject is used for status polling of the objects 
com.adventnet.nms.topodb.ManagedObject.get(String)
          as of WebNMS2.0, Use the getUserProperty instead . 
com.adventnet.management.policydb.PolicyObject.getActions(String)
          Instead use getPolicyAction 
com.adventnet.nms.alertdb.AlertAPI.getAlert(String)
          as of WebNMS2.3. Use AlertAPI.checkOutIfAvailable(String entity) to get locked Alert object with the specified entity. Use AlertAPI.unlock(Alert alt) to unlock the checked out object. 
com.adventnet.nms.eventdb.EventAPIImpl.getAlert(String)
          This method has been deprecated as of WebNMS2.0. Users are suggested to use the getAlert API call in the AlertAPI. 
com.adventnet.nms.eventdb.EventAPI.getAlert(String)
          This method is deprecated as of WebNMS2.0. Users are suggested to use the getAlert API call in the AlertAPI. 
com.adventnet.nms.util.NmsUtil.getAlertAPI()
          Use getAPI(String apiname) instead. 
com.adventnet.nms.alertdb.AlertAPIImpl.getAlerts(Alert)
          This method is deprecated as of WebNMS2.0 
com.adventnet.nms.alertdb.AlertAPI.getAlerts(Alert)
          This method has been deprecated as of WebNMS2.0 
com.adventnet.nms.eventdb.EventAPIImpl.getAlerts(Alert)
          This method has been deprecated as of WebNMS2.0. Users are suggested to use the getAlerts API call in AlertAPI. 
com.adventnet.nms.eventdb.EventAPI.getAlerts(Alert)
          This method is deprecated as of WebNMS2.0. Users are suggested to use the getAlerts API call in AlertAPI. 
com.adventnet.nms.eventdb.EventAPIImpl.getAlerts(Alert, Alert)
          This method has been deprecated as of WebNMS2.0. Users are suggested to use the getAlerts API call in the AlertAPI. 
com.adventnet.nms.eventdb.EventAPI.getAlerts(Alert, Alert)
          This method is deprecated as of WebNMS2.0. Users are suggested to use the getAlerts API call in the AlertAPI. 
com.adventnet.nms.alertdb.AlertAPIImpl.getAnnotationNotes(String)
          This method is deprecated as of WebNMS2.2. Users are suggested to use getAnnotation() and getHistory() which will return Vector of AlertAnnotation and AlertHistory respectively. 
com.adventnet.nms.alertdb.AlertAPI.getAnnotationNotes(String)
          This method has been deprecated as of WebNMS2.2. For higher versions, use AlertAPI.getAnnotation(String entity) and AlertAPI.getHistory(String entity) which will return Vector of AlertAnnotation and AlertHistory objects respectively. 
com.adventnet.nms.fe.alert.AlertAPIProxyImpl.getAnnotationNotes(String)
          as of WebNMS2.2. Use getAnnotation() and getHistory() which will return Vector of AlertAnnotation and AlertHistory respectively. 
com.adventnet.nms.util.NmsUtil.getBooleanProp(String)
            
com.adventnet.nms.eventdb.FilterAction.getBooleanProp(String)
            
com.adventnet.nms.eventdb.EventAPIImpl.getClearAlertsCount()
          This method has been deprecated as of WebNMS2.0. Users are suggested to use the getAlertsCount(int) method in the AlertAPI. 
com.adventnet.nms.eventdb.EventAPI.getClearAlertsCount()
          This method has been deprecated as of WebNMS2.0. Users are suggested to use the getAlertsCount(int) method in the AlertAPI. 
com.adventnet.nms.poll.PollMgr.getCollectedData(String, long)
          as of WebNMS2.2 use getColletedValues(String,long) 
com.adventnet.nms.poll.PollAPI.getCollectedData(String, long)
          as of WebNMS2.2 use getColletedValues(String,long) 
com.adventnet.nms.fe.perf.PollAPIProxyImpl.getCollectedData(String, long)
          as of WebNMS2.2 use getColletedValues(String,long) 
com.adventnet.nms.poll.PollMgr.getCollectedData(String, long, long)
          as of WebNMS2.2 use getColletedValues(String,long,long) 
com.adventnet.nms.poll.PollAPI.getCollectedData(String, long, long)
          as of WebNMS2.2 use getColletedValues(String,long,long) 
com.adventnet.nms.fe.perf.PollAPIProxyImpl.getCollectedData(String, long, long)
          as of WebNMS2.2 use getColletedValues(String,long,long) 
com.adventnet.nms.poll.PollMgr.getCollectedData(String, String)
          as of WebNMS2.2 use getColletedData(String, Date) 
com.adventnet.nms.poll.PollAPI.getCollectedData(String, String)
          as of WebNMS2.2 use getColletedData(String, Date) 
com.adventnet.nms.fe.perf.PollAPIProxyImpl.getCollectedData(String, String)
          as of WebNMS2.2 use getColletedData(String, Date) 
com.adventnet.nms.fe.alert.AlertFE.getCommonAPI()
          Use NmsUtil.getAPI("AlertAPI") or AlertFE.getAlertAPI() 
com.adventnet.nms.fe.event.EventFE.getCommonAPI()
          Use NmsUtil.getAPI("EventAPI") or EventFE.getEventAPI() 
com.adventnet.nms.fe.perf.PollFE.getCommonAPI()
          Use NmsUtil.getAPI("PollAPI") or PollFE.getPollAPI() 
com.adventnet.management.policydb.PolicyObject.getConditions(String)
          Use getPolicyCondition instead 
com.adventnet.nms.store.relational.RelationalAPI.getConnectionTable()
            
com.adventnet.nms.alertdb.AlertAPIImpl.getCriticalAlertsCount()
          This method is deprecated As of Web NMS 2.1. Users are requested to use AlertAPIImpl.getAlertsCount(int) method to get the count of alerts of any given severity. The method had been deprecated to support configurable number of severities. 
com.adventnet.nms.alertdb.AlertAPI.getCriticalAlertsCount()
          This method has been deprecated as of Web NMS 2.1. For higher versions, use AlertAPI.getAlertsCount(int severity) method to get the count of alerts of any given severity. The method has been deprecated to support configurable number of severities. 
com.adventnet.nms.eventdb.EventAPIImpl.getCriticalAlertsCount()
          This method has been deprecated as of WebNMS2.0. Users are suggested to use the getAlertsCount(int) method in the AlertAPI. 
com.adventnet.nms.eventdb.EventAPI.getCriticalAlertsCount()
          This method has been deprecated as of WebNMS2.0. Users are suggested to use the getAlertsCount(int) method in the AlertAPI. 
com.adventnet.nms.client.CommonClientAPI.getCustomView(String)
          Another method of similar functionlity exists CommonClientAPI.retrieveCustomView(String) 
com.adventnet.nms.topodb.TopoAPI.getDbObjects()
          As of Web NMS 2.3, since the DBVector object can not be serialized this method can't be used by remote applications. 
com.adventnet.nms.util.NmsUtil.getEventAPI()
          Use getAPI(String apiname) instead. 
com.adventnet.nms.poll.PolledData.getFilename()
          as of WebNMS 2.3 use PolledData.getLogFile() instead 
com.adventnet.nms.alertdb.Alert.getGroup()
          as of WebNMS2.0 Use getGroupName() instead 
com.adventnet.nms.poll.PolledData.getGroup()
          as of WebNMS2.0 Use getGroupName() instead 
com.adventnet.nms.topodb.TopoAPI.getGroupNamesOfMO(String)
          As of Web NMS 2.3. Methods have been added in the ManagedObject class itself that handle all the Group relation related operations. Retrieve the MO from the database and call the ManagedObject.getGroupNames() method, instead of using this method. 
com.adventnet.nms.topodb.SnmpInterface.getIndex()
          use getIfIndex() instead 
com.adventnet.nms.util.NmsUtil.getIntHash(String, int)
            
com.adventnet.nms.util.NmsUtil.getIntProp(String)
            
com.adventnet.nms.util.NmsUiAPI.getJMenuBar()
          This method does not give the menubar corresponding to the panelkey present. So deprecated. 
com.adventnet.nms.mapui.MapContainerComponent.getLayout()
          Alternate method to use is getCurrentTopology() 
com.adventnet.nms.mapdb.MapContainer.getLayout()
          Alternate method to use is getCurrentTopology() 
com.adventnet.nms.poll.PollMgr.getList()
          as of version WebNMS2.0 use getCompleteList() instead. 
com.adventnet.nms.poll.PollAPI.getList()
          as of version WebNMS2.0 use getCompleteList() instead. 
com.adventnet.nms.fe.perf.PollAPIProxyImpl.getList()
          as of version WebNMS2.0 use getCompleteList() instead. 
com.adventnet.nms.topodb.TopoAPI.getList()
          As of WebNMS2.0Beta, replaced by getCompleteList() from CommonAPI. 
com.adventnet.nms.util.NmsUtil.getLongProp(String)
            
com.adventnet.nms.alertdb.AlertAPIImpl.getMajorAlertsCount()
          This method has been deprecated As of Web NMS 2.1. Users are suggested to use AlertAPIImpl.getAlertsCount(int) method to get the count of alerts of any given severity The method had being deprecated to support configurable number of severities. 
com.adventnet.nms.alertdb.AlertAPI.getMajorAlertsCount()
          This method has been deprecated as of Web NMS 2.1. For higher versions, Use AlertAPI.getAlertsCount(int severity) method to get the count of alerts of any given severity. This method has been deprecated to support configurable number of severities. 
com.adventnet.nms.eventdb.EventAPIImpl.getMajorAlertsCount()
          This method has been deprecated as of WebNMS2.0. Usrs are suggested to Use the getAlertsCount(int) method in the AlertAPI. 
com.adventnet.nms.eventdb.EventAPI.getMajorAlertsCount()
          This method has been deprecated as of WebNMS2.0. Users are suggested to use the getAlertsCount(int) method in the AlertAPI. 
com.adventnet.nms.util.NmsUtil.getMapAPI()
          Use getAPI(String apiname) instead. 
com.adventnet.nms.mapui.MapClientAPI.getMapContainer(String, boolean)
          As of WebNMS version 2.3, use the MapClientAPI.getMapCanvas(String) method as an alternative for this. 
com.adventnet.nms.mapui.MapClientAPI.getMapNames()
          As of WebNMS version 2.3, use the eqivalent method provided in NmsUiAPI 
com.adventnet.nms.eventdb.EventAPIImpl.getMaxSeverityofAlerts()
          This method has been deprecated as of WebNMS2.0. Users are suggested to use the getMaxSeverityofAlerts() method in the AlertAPI. 
com.adventnet.nms.eventdb.EventAPI.getMaxSeverityofAlerts()
          This method is deprecated as of WebNMS2.0. Users are suggested to use the getMaxSeverityofAlerts() method in the AlertAPI. 
com.adventnet.nms.topodb.TopoAPI.getMembersOfGroup(String)
          As of Web NMS 2.3. Methods have been added in the ManagedObject class itself that handle all the Group relation related operations. Retrieve the MO from the database and call the ManagedObject.getGroupMembers() method, instead of using this method. 
com.adventnet.nms.alertdb.AlertAPIImpl.getMinorAlertsCount()
          This method has been deprecated As of Web NMS 2.1. Users are suggested to use AlertAPIImpl.getAlertsCount(int) method to get the count of alerts of any given severity. The method had being deprecated to support configurable number of severities. 
com.adventnet.nms.alertdb.AlertAPI.getMinorAlertsCount()
          This method has been deprecated As of Web NMS 2.1. Use AlertAPI.getAlertsCount(int severity) method to get the count of alerts of any given severity. The method has been deprecated to support configurable number of severities. 
com.adventnet.nms.eventdb.EventAPIImpl.getMinorAlertsCount()
          This method has been deprecated as of WebNMS2.0. Users are suggested to Use the getAlertsCount(int) method in the AlertAPI. 
com.adventnet.nms.eventdb.EventAPI.getMinorAlertsCount()
          This method is deprecated as of WebNMS2.0. Users are suggested to use the getAlertsCount(int) method in the AlertAPI. 
com.adventnet.nms.util.XMLNode.getNodeId()
          for WebNMS release 2.3 
com.adventnet.nms.poll.PolledData.getNumeric()
          use getNumericType() instead 
com.adventnet.management.policydb.NmsPolicyAPI.getPolicy(String, boolean)
          as of WebNMS2.2 
com.adventnet.nms.util.NmsUtil.getPolicyAPI()
          Use getAPI(String apiname) instead. 
com.adventnet.nms.util.NmsUtil.getPollAPI()
          Use getAPI(String apiname) instead. 
com.adventnet.nms.poll.PollAPI.getPolledDataConsistent(String, String)
          as of version Web NMS 2.3 SP7 
com.adventnet.nms.poll.PollAPI.getPolledDataForGroup(String)
          as of version Web NMS 2.3 SP7 
com.adventnet.nms.poll.PollAPI.getPolledDataForNode(String)
          as of version Web NMS 2.3 SP7 
com.adventnet.nms.poll.PollAPI.getPolledDataForNodes(String[])
          as of version Web NMS 2.3 SP7 
com.adventnet.nms.poll.PollAPI.getPolledDataForNodes(String, String, String)
          as of version Web NMS 2.3 SP7 
com.adventnet.nms.db.util.DBXmlUtility.getPreviouNodeForNodeIndex(String, String, int)
          This method is deprecated due to the spelling mistake, instead use getPreviousNodeForNodeIndex method. 
com.adventnet.management.policydb.PolicyAction.getPriority()
          From Web NMS 2.3 release as it is no longer used 
com.adventnet.nms.authentication.UserConfigAPI.getRealm(String)
          Use getAllGroupsNames(String userName). 
com.adventnet.nms.client.ClientCVAPIImpl.getServerAPI()
          since direct usage of serverside API is not recommended. Any communication with the server should be made via the CommonClientAPI 
com.adventnet.nms.fe.common.ViewData.getSortFieldType()
          since the type can be of any primitive java data type. 
com.adventnet.nms.alertdb.Alert.getStage()
          As of WebNMS 2.0 
com.adventnet.nms.mapdb.MapSymbol.getStatusColor(int)
          As of version WebNMS 2.2. Instead use SeverityInfo.getInstance().getName(int) 
com.adventnet.nms.mapui.MapSymbolComponent.getStatusInt(String)
          As of version Web NMS 2.2 
com.adventnet.nms.mapdb.MapSymbol.getStatusInt(String)
          As of version WebNMS 2.2. Instead use SeverityInfo.getInstance().getValue(String) 
com.adventnet.nms.mapdb.MapAPI.getSymbolNamesAssociatedWithObject(String)
          As of Web NMS 2.1, replaced by MapAPI.getSymbolNamesAssociatedWithObject(String ,String ) 
com.adventnet.nms.util.NmsUtil.getTopoAPI()
          Use getAPI(String apiname) instead. 
com.adventnet.nms.util.NmsClientUtil.getUserRealm()
          from 2.3. Use getAllGroupOfUser() , which will return a vector in which each element indicates each group to which the user belongs. 
com.adventnet.nms.alertdb.AlertAPIImpl.getWarningAlertsCount()
          This method is deprecated As of Web NMS 2.1. Users are suggested to use AlertAPIImpl.getAlertsCount(int) method to get the count of alerts of any given severity. The method had being deprecated to support multiple severities. 
com.adventnet.nms.alertdb.AlertAPI.getWarningAlertsCount()
          This method has been deprecated As of Web NMS 2.1. Use AlertAPI.getAlertsCount(int severity) method to get the count of alerts of any given severity. The method has been deprecated to support multiple severities. 
com.adventnet.nms.eventdb.EventAPIImpl.getWarningAlertsCount()
          This method has been deprecated as of WebNMS2.0. Users are suggested to use the getAlertsCount(int) method in the AlertAPI. 
com.adventnet.nms.eventdb.EventAPI.getWarningAlertsCount()
          This method has been deprecated as of WebNMS2.0. Users are suggested to use the getAlertsCount(int) method in the AlertAPI. 
com.adventnet.nms.eventdb.Event.getWebNMS()
          As of Web NMS 2.0. 
com.adventnet.nms.util.NmsClientUtil.hideWaitDialog(JFrame)
            
com.adventnet.nms.alertdb.AlertAPI.isDatabaseMode()
          This method has been deprecated as of WebNMS2.3, since WebNMS supports only database mode 
com.adventnet.nms.poll.PolledData.logAllData(String, String)
          as of Web NMS version 2.2 logAllData(String,Date) can be used. 
com.adventnet.nms.util.NmsUiAPI.modifyCustomView(String, String, Hashtable, boolean)
          This method is deprecated because it does not directly take the TreeNodeProperties as a parameter and tobeselected is also not present. The new method is
public static boolean modifyCustomView (String moduleId,String CustomViewId,Properties criteria,Properties treeNodeProps, boolean sync)
 
com.adventnet.nms.poll.PollAPI.modifyPoll(PolledData)
          as of WebNMS2.3 use PollAPI.modifyPoll(PolledData,boolean) instead 
com.adventnet.nms.util.GenericUtility.parseDate(String)
          use GenericUtility.formatDate(long time,SimpleDateFormat dateFormat) instead. 
com.adventnet.nms.alertdb.AlertAPIImpl.pickUpAlert(Alert, String)
          This method is deprecated as of WebNMS2.2. Instead use pickUpAlert(String entity,String who) 
com.adventnet.nms.alertdb.AlertAPI.pickUpAlert(Alert, String)
          This method has been deprecated as of WebNMS2.2. Users are suggested to use AlertAPI.checkOutIfAvailable(String) to get the Alert object and after getting Alert object use AlertAPI.pickUpAlert(Alert,String,boolean) to pickup that Alert. Use AlertAPI.unlock(Alert alt) to unlock the checked out object. 
com.adventnet.nms.eventdb.EventAPIImpl.pickUpAlert(Alert, String)
          This method has been deprecated as of WebNMS2.0, Users are suggested to use the pickUpAlert API call in the AlertAPI. 
com.adventnet.nms.eventdb.EventAPI.pickUpAlert(Alert, String)
          This method is deprecated as of WebNMS2.0. Users are suggested to use the pickUpAlert API call in the AlertAPI. 
com.adventnet.nms.fe.alert.AlertAPIProxyImpl.pickUpAlert(Alert, String)
          as of WebNMS2.2 instead use the method pickUpAlert(String entity,String who) 
com.adventnet.nms.alertdb.AlertAPIImpl.pickUpAlert(String, String)
          Deprecated as WebNMS2.3 
com.adventnet.nms.alertdb.AlertAPI.pickUpAlert(String, String)
          Deprecated as of WebNMS2.3. Because complete Alert object is needed to lock that object during this operation. Users are suggested to use AlertAPI.checkOutIfAvailable(String) to get the Alert object and after getting Alert object use AlertAPI.pickUpAlert(Alert,String,boolean) to pickup that Alert. Use AlertAPI.unlock(Alert alt) to unlock the checked out object. 
com.adventnet.nms.topodb.TopoAPI.pollStatus(Properties)
          As of WebNMS2.2, the pollStatus method of the ManagedObject is used for status polling of the objects. 
com.adventnet.nms.topodb.ManagedObject.put(String, String)
          as of WebNMS2.0, Use the setUserProperty instead . 
com.adventnet.nms.util.NmsUtil.putBooleanProp(Properties, String, boolean)
            
com.adventnet.nms.eventdb.FilterAction.putBooleanProp(Properties, String, boolean)
            
com.adventnet.nms.util.NmsUtil.putIntProp(Properties, String, int)
            
com.adventnet.nms.util.NmsUtil.putLongProp(Properties, String, long)
            
com.adventnet.nms.store.relational.RelationalAPI.query(Object)
            
com.adventnet.nms.store.relational.RelationalAPI.query(String, String)
            
com.adventnet.nms.store.relational.RelationalAPI.query(Vector)
            
com.adventnet.nms.fe.common.BEFailOverObserver.reconnectTo(String)
          - Use BEFailOverListener.postBEFailOverNotification method. 
com.adventnet.nms.topodb.TopoAPI.register(TopoObserver)
          This method is deprecated as of Web NMS 2.3. Use TopoAPI.register(TopoActionListener) 
com.adventnet.nms.startnms.MainSocketClientFE.registerFailOverObserver(BEFailOverObserver)
          - Use BEFailOverListener instead of BEFailOverObserver. 
com.adventnet.nms.alertdb.AlertAPI.registerForAlerts(AlertObserver)
          as of WebNMS 2.3. Since usage of AlertListener is suggested over the usage of AlertObserver 
com.adventnet.nms.store.DBVector.reinitialize()
          use removeAllElements() instead. 
com.adventnet.nms.topodb.ManagedObject.remove(String)
          as of WebNMS2.0, Use the removeUserProperty instead . 
com.adventnet.nms.topodb.TopoAPI.removeMOFromGroup(String[], String)
          As of Web NMS 2.3. Methods have been added in the ManagedObject class itself, that handle all the Group relation related operations. Retrieve the MO from the database and call the ManagedObject.removeGroupMembers(String[]) method followed by a call to the TopoAPI.updateObject(ManagedObject, boolean, boolean) method for that MO, instead of using this method. 
com.adventnet.nms.util.NmsUiAPI.removeNodeFromTree(String, String)
          This is deprecated because this method does not take tobeselected as an argument and the method name is as if it supports for more than one node for the operation. The new method is
public static void removeNodeFromTree(String [] nodeIds,String tobeselected,boolean sync)
 
com.adventnet.nms.poll.PollAPI.removePoll(String)
          as of WebNMS2.3 use PollAPI.removePoll(PolledData,boolean) instead 
com.adventnet.nms.poll.PollAPI.removePolledDataForGroup(String, String)
          as of version Web NMS 2.3 SP7 
com.adventnet.nms.poll.PollAPI.removePolledDataForNode(String, String)
          as of version Web NMS 2.3 SP7 
com.adventnet.nms.poll.PollAPI.removePolledDataForNodes(String[], String)
          as of version Web NMS 2.3 SP7 
com.adventnet.nms.poll.PollAPI.removePolledDataForNodes(String, String, String, String)
          as of version Web NMS 2.3 SP7 
com.adventnet.nms.util.NmsUiAPI.renameCustomView(String, String, String, String)
          This method is deprecated because it takes oldDisplayName and moduleid as arguments.Since custom view ID is unique in the tree, the module Id and old display name are not necessary. The new method is
public static boolean renameCustomView(String CustomViewId,String newDisplayName,String tobeSelected)
 
com.adventnet.nms.alertdb.AlertAPIImpl.saveAlertState()
          This method has been deprecated as of WebNMS2.3 
com.adventnet.nms.alertdb.AlertAPI.saveAlertState()
          This method has been deprecated as of WebNMS2.3, since WebNMS supports state less server 
com.adventnet.nms.eventdb.EventAPIImpl.saveAlertState()
          This method has been deprecated as of WebNMS2.0. 
com.adventnet.nms.eventdb.EventAPI.saveAlertState()
          This method has been deprecated as of WebNMS2.0. Users are suggested to use the getClearAlertsCount() in the AlertAPI 
com.adventnet.nms.util.NmsUiAPI.saveCustomView(String, String, boolean)
          As of WebNMS2.3. This is because if any customview is created, then by default it will be saved in 2.3. 
com.adventnet.nms.eventdb.EventAPIImpl.saveEventState()
          This method has been deprecated as of WebNMS2.3 
com.adventnet.nms.eventdb.EventAPI.saveEventState()
          This methods has been deprecated as of WebNMS2.3 
com.adventnet.nms.poll.PollAPI.savePollState()
          as of version WebNMS2.3 SP7. 
com.adventnet.nms.topodb.TopoAPI.saveTopoDBState()
          As of Web NMS 2.3, since serialized mode is no longer supported in Web NMS. 
com.adventnet.nms.util.NmsUiAPI.selectNode(String, String)
          This is deprecated since it takes an argument moduleId. Since custom view id is unique the argument moduleId is not necessary.The new method is
public static void selectTreeNode (String nodeId,boolean showPanel)
 
com.adventnet.nms.alertdb.AlertAPI.setAutoCommit(boolean)
          This method has been deprecated as WebNMS2.3, since there is not separate database connection for Fault module 
com.adventnet.nms.poll.PollMgr.setAutoCommit(boolean)
          as of version WebNMS2.2.1 
com.adventnet.nms.poll.PollAPI.setAutoCommit(boolean)
          as of version WebNMS2.2.1 
com.adventnet.nms.store.relational.RelationalAPI.setAutoCommit(boolean)
            
com.adventnet.nms.topodb.TopoAPI.setAutoCommit(boolean)
          As of Web NMS 2.3, modules don't have separate database connections and all database operations in NMS go through a central database connection pool. Please refer ConnectionPool for more details. 
com.adventnet.nms.poll.PolledData.setFilename(String)
          as of WebNMS 2.3 use PolledData.setLogFile(String) instead. 
com.adventnet.nms.alertdb.Alert.setGroup(String)
          as of WebNMS2.0 Use setGroupName() instead 
com.adventnet.nms.poll.PolledData.setGroup(String)
          as of WebNMS2.0 Use setGroupName() instead 
com.adventnet.nms.topodb.TopoAPI.setGroupForMembers(String[], String)
          As of Web NMS 2.3. Methods have been added in the ManagedObject class itself, that handle all the Group relation related operations. Retrieve the MO from the database and call the ManagedObject.setGroupNames(String[]) or ManagedObject.addGroupNames(String[]) method, followed by a call to the TopoAPI.updateObject(ManagedObject, boolean, boolean) method for that MO, instead of using this method. 
com.adventnet.nms.topodb.TopoAPI.setGroupsForMO(String, String[], boolean)
          As of Web NMS 2.3. Methods have been added in the ManagedObject class itself, that handle all the Group relation related operations. Retrieve the MO from the database and call the ManagedObject.setGroupMembers(String[]) or ManagedObject.addGroupMembers(String[]) method, followed by a call to the TopoAPI.updateObject(ManagedObject, boolean, boolean) method for that MO, instead of using this method. 
com.adventnet.nms.topodb.SnmpInterface.setIndex(int)
          use setIfIndex() instead 
com.adventnet.nms.mapui.MapContainerComponent.setLayout(String)
          Alternate method to use is setCurrentTopology(String) 
com.adventnet.nms.mapdb.MapContainer.setLayout(String)
          Alternate method to use is setCurrentTopology(String) 
com.adventnet.nms.poll.PolledData.setNumeric(int)
          use setNumericType() instead 
com.adventnet.nms.poll.PollAPI.setPolledDataForGroup(String, PolledData)
          as of version Web NMS 2.3 SP7 
com.adventnet.nms.poll.PollAPI.setPolledDataForNode(String, PolledData)
          as of version Web NMS 2.3 SP7 
com.adventnet.nms.poll.PollAPI.setPolledDataForNodes(String[], PolledData)
          as of version Web NMS 2.3 SP7 
com.adventnet.nms.poll.PollAPI.setPolledDataForNodes(String, String, String, PolledData)
          as of version Web NMS 2.3 SP7 
com.adventnet.nms.util.NmsUtil.setServerType(String)
            
com.adventnet.nms.fe.common.ViewData.setSortFieldType(boolean)
          since the type can be of any primitive java data type. 
com.adventnet.nms.alertdb.Alert.setStage(int)
          As of WebNMS2.0 
com.adventnet.nms.eventdb.Event.setWebNMS(String)
          As of WebNMS 2.0. 
com.adventnet.nms.util.NmsUtil.shutDownServer()
            
com.adventnet.nms.alertdb.AlertAPIImpl.unPickAlert(String, String)
          Deprecated as WebNMS2.3 
com.adventnet.nms.alertdb.AlertAPI.unPickAlert(String, String)
          Deprecated as of WebNMS2.3. Because complete Alert object is needed to lock that object during this operation. Users are suggested to use AlertAPI.checkOutIfAvailable(String) to get the Alert object and after getting Alert object use AlertAPI.unPickAlert(Alert,String,boolean) to unpick that Alert. Use AlertAPI.unlock(Alert alt) to unlock the checked out object. 
com.adventnet.nms.topodb.TopoAPI.unregister(TopoObserver)
          This method is deprecated as of Web NMS 2.3. Use TopoAPI.unregister(TopoActionListener) 
com.adventnet.nms.alertdb.AlertAPIImpl.updateNotes(Alert, String)
          This method is deprecated as of WebNMS2.1 
com.adventnet.nms.alertdb.FaultMgr.updateNotes(Alert, String)
          as of WebNMS2.1. use updateNotes(String entity,String username,String notes) 
com.adventnet.nms.alertdb.AlertAPI.updateNotes(Alert, String)
          This method has been deprecated as of WebNMS2.1. Users are suggested to use AlertAPI.checkOutIfAvailable(String entity) to get the Alert object and after getting Alert object use AlertAPI.updateNotes(Alert alert,String userName,String notes,boolean dealWithLock) to add annotation to that Alert. 
com.adventnet.nms.eventdb.EventAPIImpl.updateNotes(Alert, String)
          This method has been deprecated as of WebNMS2.0. Users are suggested to use the updateNotes() API call in the AlertAPI. 
com.adventnet.nms.eventdb.EventAPI.updateNotes(Alert, String)
          This method has been deprecated as of WebNMS2.0. Users are suggested to use the updateNotes() API call in the AlertAPI. 
com.adventnet.nms.fe.alert.AlertAPIProxyImpl.updateNotes(Alert, String)
          as of WebNMS2.1 
com.adventnet.nms.alertdb.AlertAPIImpl.updateNotes(Alert, String, String)
          This method is deprecated as of WebNMS2.1 
com.adventnet.nms.alertdb.AlertAPI.updateNotes(Alert, String, String)
          This method has been deprecated as of WebNMS2.1. Users are suggested to use AlertAPI.checkOutIfAvailable(String entity) to get the Alert object and after getting Alert object use AlertAPI.updateNotes(Alert alert,String userName,String notes,boolean dealWithLock) to add annotation to that Alert. Use AlertAPI.unlock(Alert alt) to unlock the checked out object. 
com.adventnet.nms.fe.alert.AlertAPIProxyImpl.updateNotes(Alert, String, String)
          as of WebNMS2.1 
com.adventnet.nms.alertdb.AlertAPI.updateNotes(String, String)
          This method has been deprecated as of WebNMS2.2. Users are suggested to use AlertAPI.checkOutIfAvailable(String entity) to get the Alert object and after getting Alert object use AlertAPI.updateNotes(Alert alert,String userName,String notes,boolean dealWithLock) to add annotation to that Alert. Use AlertAPI.unlock(Alert alt) to unlock the checked out object. 
com.adventnet.nms.alertdb.AlertAPIImpl.updateNotes(String, String, String)
          Deprecated as WebNMS2.3 
com.adventnet.nms.alertdb.AlertAPI.updateNotes(String, String, String)
          Deprecated as of WebNMS2.3, Users are suggested to use AlertAPI.checkOutIfAvailable(String entity) to get the Alert object and after getting Alert object use AlertAPI.updateNotes(Alert alert,String userName,String notes,boolean dealWithLock) to add annotation to that Alert. Use AlertAPI.unlock(Alert alt) to unlock the checked out object. 
com.adventnet.nms.topodb.TopoAPI.updateObject(ManagedObject)
          As of Web NMS 2.3. The Web NMS internally locks the MOs before updating them in the database, and since this method does not check for locks before updating the object, using this method might result in inconsistency in the database. Always use the TopoAPI.updateObject(ManagedObject, boolean, boolean) method with the third argument set to true, to avoid any database inconsistency. 
com.adventnet.nms.topodb.TopoAPI.updateObject(ManagedObject, boolean)
          As of Web NMS 2.3. The Web NMS internally locks the MOs before updating them in the database, and since this method does not check for locks before updating the object, using this method might result in inconsistency in the database. Always use the TopoAPI.updateObject(ManagedObject, boolean, boolean) method with the third argument set to true, to avoid any database inconsistency. 
 


AdventNet Web NMS 4 API Specification