|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.novell.admin.ns.nw.NetWareNamespace
This class provides the utility to manage a Novell Directory Service Namespace.
| Inner Class Summary | |
class |
NetWareNamespace.NetWareObjectEntryEnumeration
This class provides the utility to enumerate over an object children. |
| Field Summary | |
static java.lang.String |
name
The name of the namespace. |
protected SimpleSPIException |
nsSpiException
|
protected java.util.Hashtable |
otTable
|
protected java.lang.String |
TREE_SEPARATOR
|
| Constructor Summary | |
NetWareNamespace(java.lang.String separator)
Constructor. |
|
| Method Summary | |
ObjectEntry |
createObjectEntry(ObjectEntry parent,
java.lang.String child,
java.lang.String className)
Create an ObjectEntry for a child. |
ObjectEntryEnumeration |
getChildContainers(ObjectEntry parent,
ResultModifier modifier)
Gets the subordinate objects from an ObjectEntry. |
NSObject |
getDetails(ObjectEntry objEntry)
Returns a NSObject from an ObjectEntry. |
java.lang.String |
getFullName(ObjectEntry obj)
Returns the full name of the objectEntry. |
ObjectEntry[] |
getInitialObjectEntries()
Gets the root object entry. |
ObjectEntry[] |
getInitialObjectEntries(ObjectEntry oe,
context)
|
ObjectEntry |
getObjectEntry(ObjectEntry parentObjEntry,
java.lang.String child)
Returns an ObjectEntry representation of the String passed in. |
ObjectEntry |
getObjectEntry(java.lang.String objEntryStr)
Returns an ObjectEntry representation of the tree of the string passed in. |
ObjectType[] |
getObjectTypes(ObjectEntry entry)
Returns all of the posible object types for this namespace. |
java.lang.String |
getSnapinDescription()
This is used by the shell to get the snapins description. |
java.lang.String |
getSnapinName()
This is used by the shell to get the snapins name. |
java.lang.String |
getUniqueID()
Returns the namespace name string. |
java.lang.String |
getUnrootedName(ObjectEntry obj)
Gets the objects name not including the root portion. |
boolean |
initSnapin(InitSnapinInfo info)
This is used by the shell to initialize the snapin. |
protected SPIException |
resolveSPIException(java.lang.Exception x)
Converts an Exception into an SPIException. |
void |
shutdownSnapin()
This is used by the shell to shut down the snapin. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public static final java.lang.String name
protected java.lang.String TREE_SEPARATOR
protected final java.util.Hashtable otTable
protected SimpleSPIException nsSpiException
| Constructor Detail |
public NetWareNamespace(java.lang.String separator)
| Method Detail |
public java.lang.String getSnapinName()
public java.lang.String getSnapinDescription()
public boolean initSnapin(InitSnapinInfo info)
info - - not used.public void shutdownSnapin()
public ObjectEntry[] getInitialObjectEntries(ObjectEntry oe,
context)
public ObjectEntry[] getInitialObjectEntries()
public ObjectEntry createObjectEntry(ObjectEntry parent,
java.lang.String child,
java.lang.String className)
parent - The ObjectEntry of the childs parent.child - The name of the child.className - Not used.public ObjectType[] getObjectTypes(ObjectEntry entry)
public java.lang.String getFullName(ObjectEntry obj)
obj - - The object to get the full name for.
public ObjectEntryEnumeration getChildContainers(ObjectEntry parent,
ResultModifier modifier)
There is never any child containers in this namespace.
obj - The container to get children for.modifiers - The modifiers for creating the list of children.public java.lang.String getUnrootedName(ObjectEntry obj)
obj - Object to get the unrooted name for.public NSObject getDetails(ObjectEntry objEntry)
objEntry - The ObjectEntry object to get details for.public java.lang.String getUniqueID()
public ObjectEntry getObjectEntry(java.lang.String objEntryStr)
objEntryStr - The name of the object.
public ObjectEntry getObjectEntry(ObjectEntry parentObjEntry,
java.lang.String child)
parentObjEntry - The parent object.child - The childe of the parent.protected SPIException resolveSPIException(java.lang.Exception x)
x - The exception to convert.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||