public abstract class TreeNodeMap
extends java.lang.Object
Constructor and Description |
---|
TreeNodeMap() |
Modifier and Type | Method and Description |
---|---|
long |
addNew(MboRemote mbo)
Adds a new mbo to the map
|
long |
addNew(MboRemote mbo,
java.lang.Long mboUID)
Adds a new element for Mbo already in the Tree Node Map
|
void |
clear()
Clear the Tree Node Map
|
boolean |
containsMbo(java.lang.Object mbo)
Checks if the MBO is in the Tree Node Map or not
|
long |
getCurrentSequence()
Returns the current sequence
|
java.lang.String |
getMboName(long treeId) |
long |
getMboUniqueID(MboRemote mbo,
long treeId)
Returns the MBO unique id that's mapped to the passed treeID for the
given MBO
|
abstract long |
getTreeUniqueID(MboRemote mbonode)
This method returns a unique id for the passed node (mbo)
Sub Classes need to implement this abstract method.
|
public long getCurrentSequence()
java.rmi.RemoteException
MXException
public long getMboUniqueID(MboRemote mbo, long treeId) throws java.rmi.RemoteException, MXException
mbo
- treeId
- java.rmi.RemoteException
MXException
public java.lang.String getMboName(long treeId) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public long addNew(MboRemote mbo) throws java.rmi.RemoteException, MXException
mbo
- java.rmi.RemoteException
MXException
public long addNew(MboRemote mbo, java.lang.Long mboUID) throws java.rmi.RemoteException, MXException
mbo
- mboUID
- java.rmi.RemoteException
MXException
public void clear()
public boolean containsMbo(java.lang.Object mbo)
mbo
- java.rmi.RemoteException
MXException
public abstract long getTreeUniqueID(MboRemote mbonode) throws java.rmi.RemoteException, MXException
mbo
- java.rmi.RemoteException
MXException