public interface NDSNamespace extends AdminNamespace, MultiObjModificationNamespace, PartitionableNamespace
| Modifier and Type | Field and Description |
|---|---|
static int |
ACCESSMASTER |
static int |
ACCESSNORMAL |
static int |
ALIASDEREFERENCEDISABLE |
static int |
ALIASDEREFERENCENORMAL |
static java.lang.String |
name
The name of the namespace.
|
EVENT_POST_NOTIFICATION, EVENT_PRE_NOTIFICATION, GETATTR_CONTEXTSTATICVALUES, GETATTR_READFROMWRITABLEREPLICA, GETATTR_USEEXCEPTIONREFERENCE| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
freeObjectEntryEnumeration(ObjectEntryEnumeration oeEnum) |
int |
getAccessConfidence() |
int |
getAliasDereference() |
ObjectEntryEnumeration |
getChildContainers(ObjectEntry parent,
ResultModifier modifiers)
Retrieves the child container objects for a given container object.
|
java.lang.String |
getDefaultIpAddress(ObjectEntry useOE) |
int |
getDefaultIpPort(ObjectEntry useOE) |
java.lang.String |
getDefaultServerDN(ObjectEntry useOE) |
boolean |
getDefinedMethod(java.lang.String methodName,
java.lang.Class[] parameters)
This method search for a method in the jClient API.If the method doesn't
exist, it throws an NoSuchMethodException.To use this method AdminNameSpace Object
should be down-casted to NDSNameSpace.
|
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.
|
java.lang.String[] |
getFileSystemAndDirectoryElements(java.lang.String nameToParse)
Get Strings for the eDir portions and filesystem portions of the name
The filesystem portions would have to have both BEGIN & END FEDERATED tags
in order to be correctly parsed off.
|
ObjectEntry |
getFileSystemObjectEntry(java.lang.String DirectoryStr,
java.lang.String FileSystemStr)
Returns an ObjectEntry representation of the FileSystem object
for the Strings passed in.
|
NScache |
getLoginCache()
This method is to get the Cache in form of a HashTable to be used in framework to write to the
filesystem.
|
java.lang.String |
getNamespaceVersion() |
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.
|
java.lang.String[] |
getVolumesOnServer(ObjectEntry serverOE)
This method is to get all the volumes that are mounted on this NCP Server
|
boolean |
isFileSystemObject(java.lang.String nameToCheck)
Returns whether the name contains a FileSystem portion or just an NDS portion.
|
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 |
setAccessConfidence(int newConfidence) |
void |
setAliasDereference(int newDereference) |
void |
update(NSObject obj,
ObjectEntry serverObj)
Writes object changes to the namespace.
|
addDirectoryEventListener, compareAttribute, create, createNSObject, createNSObject, createNSObject, createObjectEntry, createSPIException, delete, deleteAttributeValues, doesExist, freeDetails, getAttribute, getAttributeDefinition, getAttributes, getAttributes, getAttributes, getAttributes, getAttributesPresent, getChildren, getChildren, getClassDefinition, getContext, getCreationTime, getDelayedAttibuteDetails, getDelayedAttibuteDetails, getDetails, getDetails, getFullName, getFullyTypedName, getLastModificationTime, getMaxNameLength, getNameComponents, getObjectEffectiveRights, getObjectEntry, getObjectEntry, getObjectType, getObjectType, getObjectTypes, getOrderedPropertyEffectiveRights, getPropertyEffectiveRights, getSchemaDefinition, isSupported, isSupported, isSupported, move, removeDirectoryEventListener, rename, setAttribute, setAttributes, updategetInitialObjectEntries, getUniqueID, getUnrootedNamegetSnapinDescription, getSnapinName, initSnapin, shutdownSnapingetInitialObjectEntriesgetParentAndSimpleNameauthenticate, authenticate, authenticateServer, changePassword, changePassword, getAuthenticatedIdentity, setPassword, setPassword, setPassword, unAuthenticate, unAuthenticategetMODDetails, updateMultipleObjectsstatic final java.lang.String name
This is used to register ConsoleOne snapins.
static final int ACCESSNORMAL
static final int ACCESSMASTER
static final int ALIASDEREFERENCENORMAL
static final int ALIASDEREFERENCEDISABLE
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.ObjectEntryEnumerationjava.lang.String getDereferencedAliasObjectDN(ObjectEntry aliasOE) throws SPIException
getDereferencedAliasObjectDN in interface AdminNamespacealiasOE - The ObjectEntry of the alias.SPIException - Thrown by the service provider.PartitionService getPartitionService(ObjectEntry obj) throws SPIException
getPartitionService in interface PartitionableNamespaceobj - The context at which to manage.SPIException - Thrown by the service provider.PartitionServiceboolean isSkadsServer(ObjectEntry obj) throws SPIException
obj - The object.SPIException - Thrown by the service provider.boolean isServerUp(ObjectEntry obj)
obj - The server object.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 residesSPIException - Refer to SPIException documentation.NSObject getDetails(ObjectEntry obj, ObjectEntry serverObj) throws SPIException
obj - The ObjectEntry object to get details for.serverObj - the server to read the object information fromSPIException - Refer to SPIException documentation.java.lang.String getTreeNameFromServer(java.lang.String server)
throws SPIException
server - The server.SPIException - Refer to SPIException documentation.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.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.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.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.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.java.lang.String escapeTheRDNDot(java.lang.String rdn)
rdn - The String object being updated.int getAccessConfidence()
throws NamespaceException
NamespaceExceptionvoid setAccessConfidence(int newConfidence)
throws NamespaceException,
SPIException
NamespaceExceptionSPIExceptionint getAliasDereference()
throws NamespaceException
NamespaceExceptionvoid setAliasDereference(int newDereference)
throws NamespaceException
NamespaceExceptionjava.lang.String getNamespaceVersion()
void freeObjectEntryEnumeration(ObjectEntryEnumeration oeEnum) throws SPIException
SPIExceptionjava.lang.String getDefaultIpAddress(ObjectEntry useOE) throws SPIException
useOE - - oe to determine the tree to return information onSPIException - - failed, information is not avaliableint getDefaultIpPort(ObjectEntry useOE) throws SPIException
useOE - - oe to determine the tree to return information onSPIException - - failed, information is not avaliablejava.lang.String getDefaultServerDN(ObjectEntry useOE) throws SPIException
useOE - - oe to determine the tree to return information onSPIException - - failed, information is not avaliableboolean isFileSystemObject(java.lang.String nameToCheck)
throws SPIException
nameToCheck - full name representing the object
Example: "admin.provo.novell" or "admin.provo.novell.tree."
Example: "SPIExceptionjava.lang.String[] getFileSystemAndDirectoryElements(java.lang.String nameToParse)
throws SPIException
nameToParse - full name with FileSystem and Directory portions
(The user should not know about specific FS_FEDERATED tags that may change)SPIExceptionObjectEntry getFileSystemObjectEntry(java.lang.String DirectoryStr, java.lang.String FileSystemStr) throws SPIException
DirectoryStr - FDN for an object with the tree. The may also work without the tree
Example: "admin.provo.novell.tree."FileSystemStr - Fully qualified file system object. This may be null.
(The user should not know about specific FS_FEDERATED tags that may change)
This may not have any FS_FEDERATED tags for going into the FileSytem
Example: "\\Server\Volid:dir\file"SPIExceptionboolean getDefinedMethod(java.lang.String methodName,
java.lang.Class[] parameters)
methodName - - to search in the APIparameters - - Parameters that passes to the method.java.lang.String[] getVolumesOnServer(ObjectEntry serverOE) throws SPIException
serverOE - - a valid NCP Server Object EntrySPIExceptionNScache getLoginCache()
getLoginCache in interface AuthenticationNamespace
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.