|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This class provides the ability to manage a Novell Directory Service Namespace.
| Field Summary | |
static java.lang.String |
name
The name of the namespace. |
| Method Summary | |
void |
create(NSObject obj,
ObjectEntry serverObj)
Creates a new object in the namespace. |
void |
delete(ObjectEntry obj,
ObjectEntry serverObj)
Deletes an object from the namespace. |
java.lang.String |
escapeTheRDNDot(java.lang.String rdn)
Will place an escape character '\' in front of any unescaped dot '.' characters in the String passed in. |
ObjectAttribute[] |
getAttributes(ObjectEntry obj,
java.lang.String[] attrStrings,
ObjectEntry serverObj)
Reads an existing object in the namespace and returns an array containing the object's attributes, including their values. |
ObjectEntryEnumeration |
getChildContainers(ObjectEntry parent,
ResultModifier modifiers)
Retrieves the child container objects for a given container object. |
java.lang.String |
getDereferencedAliasObjectDN(ObjectEntry aliasOE)
Retrieves the DN of the object the alias is pointing to. |
NSObject |
getDetails(ObjectEntry obj,
ObjectEntry serverObj)
Reads the details for an existing object and returns an NSObject for that object. |
NDSNCPExtension |
getNCPExtension(java.lang.String name,
ObjectEntry serverOE)
Helper method to the ncp extension device. |
PartitionService |
getPartitionService(ObjectEntry obj)
Returns the handle to the partition management service. |
Rights |
getPropertyEffectiveRights(ObjectEntry objForInquire,
ObjectEntry trustee,
java.lang.String attrName)
Get the effective property rights of a trustee on an objects attribute. |
java.lang.String |
getTreeNameFromServer(java.lang.String server)
Get the tree name from a specified server. |
boolean |
isServerUp(ObjectEntry obj)
Determines whether or not the particular server is up. |
boolean |
isSkadsServer(ObjectEntry obj)
Determines whether or not the object is in an NDS v8 tree. |
int |
ncpFragmentRequest(ObjectEntry oe,
int ncp,
int verb,
byte[][] requestFrags,
byte[][] replyFrags)
Send NCP using a fragmented request |
void |
update(NSObject obj,
ObjectEntry serverObj)
Writes object changes to the namespace. |
| Methods inherited from interface com.novell.application.console.snapin.NamespaceSnapin |
getInitialObjectEntries, getUniqueID, getUnrootedName |
| Methods inherited from interface com.novell.application.console.snapin.Snapin |
getSnapinDescription, getSnapinName, initSnapin, shutdownSnapin |
| Methods inherited from interface com.novell.application.console.snapin.NamespaceSnapinRev2 |
getInitialObjectEntries |
| Methods inherited from interface com.novell.application.console.snapin.DeferParentNamespace |
getParentAndSimpleName |
| Methods inherited from interface com.novell.admin.ns.AuthenticationNamespace |
authenticate, authenticate, authenticateServer, changePassword, changePassword, getAuthenticatedIdentity, setPassword, setPassword, unAuthenticate, unAuthenticate |
| Methods inherited from interface com.novell.admin.ns.MultiObjModificationNamespace |
getMODDetails, updateMultipleObjects |
| Field Detail |
public static final java.lang.String name
This is used to register ConsoleOne snapins.
| Method Detail |
public void create(NSObject obj,
ObjectEntry serverObj)
throws SPIException,
SnapinVetoException
obj - The object to create. This object must be complete
with its attributes and values.serverObj - The server to direct the create operation to.
SPIException - Thrown when the service provider returns an error.
SnapinVetoException - Another snapin has disallowed the create.
public void delete(ObjectEntry obj,
ObjectEntry serverObj)
throws SPIException,
SnapinVetoException
obj - The object entry representing the object to delete.serverObj - The server to direct the delete operation to.
SPIException - Thrown when the service provider returns an error.
SnapinVetoException - Another snapin has disallowed the delete.public java.lang.String escapeTheRDNDot(java.lang.String rdn)
rdn - The String object being updated.
public ObjectAttribute[] getAttributes(ObjectEntry obj,
java.lang.String[] attrStrings,
ObjectEntry serverObj)
throws SPIException,
NamespaceException
obj - The object for which to obtain attributes.attrStrings - The object attributes to obtain.
SPIException - Thrown when the service provider returns an error.
NamespaceException - Thrown when the namespace detects an error.
public ObjectEntryEnumeration getChildContainers(ObjectEntry parent,
ResultModifier modifiers)
throws SPIException
Volume and server leaf objects are also returned. This method is typically used in providing a tree view. Note - Notification is not made when a partial list is returned.
getChildContainers in interface NamespaceSnapinparent - The parent object as an ObjectEntry.modifiers - Determines how the child list is built.
SPIException - Thrown by the service provider.ObjectEntryEnumeration
public java.lang.String getDereferencedAliasObjectDN(ObjectEntry aliasOE)
throws SPIException
aliasOE - The ObjectEntry of the alias.
SPIException - Thrown by the service provider.
public NSObject getDetails(ObjectEntry obj,
ObjectEntry serverObj)
throws SPIException
Performs a directed read.
obj - The ObjectEntry for which to return the NSObject.
SPIException - Thrown when the service provider returns an error.
public NDSNCPExtension getNCPExtension(java.lang.String name,
ObjectEntry serverOE)
throws SPIException
name - The name of the ncp extension on the file serverserverOE - The server where the ncp extension resides
SPIException - Refer to SPIException documentation.
public PartitionService getPartitionService(ObjectEntry obj)
throws SPIException
getPartitionService in interface PartitionableNamespaceobj - The context at which to manage.
SPIException - Thrown by the service provider.PartitionService
public Rights getPropertyEffectiveRights(ObjectEntry objForInquire,
ObjectEntry trustee,
java.lang.String attrName)
throws SPIException
objForInquire - The object.trustee - The trustee.attrName - The attribute.
SPIException - Refer to SPIException documentation.
public java.lang.String getTreeNameFromServer(java.lang.String server)
throws SPIException
server - The server.
SPIException - Refer to SPIException documentation.public boolean isServerUp(ObjectEntry obj)
obj - The server object.
public boolean isSkadsServer(ObjectEntry obj)
throws SPIException
obj - The object.
SPIException - Thrown by the service provider.
public int ncpFragmentRequest(ObjectEntry oe,
int ncp,
int verb,
byte[][] requestFrags,
byte[][] replyFrags)
throws SPIException
oe - The server oe to send the request to.ncp - The NCP number.verb - The NCP verb number.requestFrags - The fragments to send to the server.replyFrags - The fragments to fill in with the responce from the server.
SPIException - Refer to SPIException documentation.
public void update(NSObject obj,
ObjectEntry serverObj)
throws SPIException,
SnapinVetoException
obj - The namespace object being updated.
SPIException - Thrown when the service provider returns an error.
SnapinVetoException - Another snapin has disallowed the update.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||