|
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.eventdb.EventAPI.addEvent(InputEvent)
as of WebNMS 5. Instead use addEvent(Event) |
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.tl1.config.TL1ConfigAPI.addTID(TIDConfig, String, String)
|
com.adventnet.nms.tl1.config.TL1ConfigAPI.addTL1Node(TL1Config)
|
com.adventnet.management.log.LogUser.assert1(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.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.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.management.transaction.ConnectionPool.commitAllNonTransactionConnections()
all the connections will be created by hibernate. So this method will have no effect. |
com.adventnet.management.transaction.ConnectionPool.createConnection(int, int)
all the connections will be created by hibernate. So this method will have no effect. |
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.deleteObjects(String, Properties, int)
Deprecated as of WebNMS 5. Use deleteObjects(String, Properties). |
com.adventnet.nms.startnms.MainSocketClientFE.deRegisterFailOverObserver(BEFailOverObserver)
- Use BEFailOverListener instead of BEFailOverObserver. |
com.adventnet.nms.poll.PollMgr.deregisterPoller(String)
|
com.adventnet.nms.poll.PollAPI.deregisterPoller(String)
|
com.adventnet.nms.store.relational.RelationalAPI.disconnectOnlyThis()
|
com.adventnet.management.log.LogErrUser.fail(String, Throwable)
|
com.adventnet.management.transaction.ConnectionPool.freeConnectionForTransaction()
all the connections will be created by hibernate. So this method will have no effect. |
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.util.NmsUtil.getAlertAPI()
Use getAPI(String apiname) instead. |
com.adventnet.nms.alertdb.AlertAPI.getAlerts(Alert)
This method has been deprecated as of WebNMS2.0 |
com.adventnet.nms.eventdb.FilterAction.getBooleanProp(String)
|
com.adventnet.nms.util.NmsUtil.getBooleanProp(String)
|
com.adventnet.management.policydb.PolicyObject.getConditions(String)
Use getPolicyCondition instead |
com.adventnet.nms.util.NmsUtil.getConfirmAuth()
As of WebNMS5.0 Beta, LDAP specific process, related jars and references has been
removed |
com.adventnet.management.transaction.ConnectionPool.getConnectionId(Connection)
as the connections are cached by ConnectionProviders |
com.adventnet.nms.store.relational.RelationalAPI.getConnectionTable()
|
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.management.transaction.ConnectionPool.getIdForThread(Thread)
as the connections are cached by ConnectionProviders |
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.topodb.ManagedObject.getKey()
as of WebNMS5, instead use getName(). Since the ownerName will not be used, this method will return object name alone. |
com.adventnet.nms.mapui.MapContainerComponent.getLayout()
Alternate method to use is getCurrentTopology() |
com.adventnet.nms.util.NmsUtil.getLongProp(String)
|
com.adventnet.nms.util.NmsUtil.getMapAPI()
Use getAPI(String apiname) instead. |
com.adventnet.nms.mapui.MapClientAPI.getMapNames()
As of WebNMS version 2.3, use the eqivalent method provided in NmsUiAPI |
com.adventnet.nms.util.XMLNode.getNodeId()
for WebNMS release 2.3 |
com.adventnet.nms.poll.PolledData.getOwnerName()
as of Web NMS 5 |
com.adventnet.nms.topodb.ManagedObject.getOwnerName()
ownerName is no more a constituent of ManagedObject primary key |
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.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.management.log.LogMgr.getRelativeLogDirectories()
Deprecated as of WebNMS 5.0, as log4j is used for logging, this method will return empty vector.
Returns a Vector containing the list of logDirectories created by this LogMgr. |
com.adventnet.nms.fe.common.ViewData.getSortFieldType()
since the type can be of any primitive java data type. |
com.adventnet.nms.mapui.MapSymbolComponent.getStatusInt(String)
As of version Web NMS 2.2 |
com.adventnet.nms.util.NmsUtil.getTopoAPI()
Use getAPI(String apiname) instead. |
com.adventnet.nms.util.NmsClientUtil.hideWaitDialog(JFrame)
|
com.adventnet.nms.topodb.TopoSubscriber.initialize(NmsTreeNode)
From Web NMS 5 |
com.adventnet.management.transaction.ConnectionPool.lockConnectionForTransaction(int)
all the connections will be created by hibernate. So this method will have no effect. |
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.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.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.eventdb.FilterAction.putBooleanProp(Properties, String, boolean)
|
com.adventnet.nms.util.NmsUtil.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.startnms.MainSocketClientFE.registerFailOverObserver(BEFailOverObserver)
- Use BEFailOverListener instead of BEFailOverObserver. |
com.adventnet.nms.poll.PollMgr.registerPoller(RemotePoller, String)
|
com.adventnet.nms.poll.PollAPI.registerPoller(RemotePoller, String)
|
com.adventnet.nms.store.DBVector.reinitialize()
use removeAllElements() instead. |
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.security.authorization.AuthorizationAdmin.removeOwnerFromUser(String)
as of WebNMS 5 |
com.adventnet.security.authorization.AuthorizationAdmin.removeOwnerFromView(String)
as of WebNMS 5 |
com.adventnet.nms.poll.PollAPI.removePoll(String)
as of WebNMS2.3 use PollAPI.removePoll(PolledData,boolean) instead |
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.tftp.BaseTftpClient.run()
Use doFileTransfer() as this method does n't propagate error messages during the
file transfer. |
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.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.store.relational.RelationalAPI.setAutoCommit(boolean)
|
com.adventnet.nms.util.NmsUtil.setConfirmAuth(ConfirmAuth)
As of WebNMS5.0 Beta, LDAP specific process, related jars and references has been
removed |
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.mapui.MapContainerComponent.setLayout(String)
Alternate method to use is setCurrentTopology(String) |
com.adventnet.nms.poll.PolledData.setOwnerName(String)
as of Web NMS 5 |
com.adventnet.nms.topodb.ManagedObject.setOwnerName(String)
ownerName is no more a constituent of ManagedObject primary key |
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.mapdb.MapDB.setUserProperties(Properties)
as of WebNMS5,instead use setUserProperty to set the user properties |
com.adventnet.nms.util.NmsUtil.shutDownServer()
|
com.adventnet.management.transaction.ConnectionPool.startConnectionMaintainer(String)
|
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.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.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.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.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. |