com.novell.admin.ns.fs.nw
Interface NWFSNamespace
- All Superinterfaces:
- AdminNamespace, FSNamespace, MultiObjModificationNamespace, NamespaceSnapin, Snapin
- public interface NWFSNamespace
- extends FSNamespace
Extends the File System Namespace and allows different protocols to be
implemented.
| Methods inherited from interface com.novell.admin.ns.fs.FSNamespace |
canVolumeCompress,
canVolumeMigrate,
createObjectEntry,
getAttributes,
getContext,
getDeletedObjectInformationList,
getDeletedObjectList,
getDSFullName,
getDSFullName,
getDSName,
getEntryAttribute,
getFederationObjectEntry,
getFederationObjectEntry,
getFederationObjectEntryTypeList,
getFileInputStream,
getFileOutputStream,
getFileSize,
getFSDSName,
getFSRootOE,
getFullDirectoryPath,
getMODEntryAttr,
getObjectEffectiveRights,
getObjectEffectiveRights,
getObjectEntry,
getRootServer,
getRootTree,
getTrusteePathList,
getUserSpaceInUse,
getVolumeBlockSize,
hasDeletedObjects,
hasDeleteInhibit,
hasDirectorySpaceRestrictions,
hasRenameInhibit,
hasTransactional,
hasTrustees,
hasUserVolumeSpaceRestrictions,
hasVolumeCompression,
hasVolumeMigration,
isDeleteInhibit,
isReadOnly,
isRenameInhibit,
isTransactional,
mapVolumeToRootName,
purge,
removeDeleteReadOnly,
removeReadOnly,
removeRenameReadOnly,
replaceRenameReadOnly,
salvage,
setTrusteeRestriction,
setTrusteeRights,
unAuthenticate |
| Methods inherited from interface com.novell.admin.ns.AdminNamespace |
create,
createNSObject,
createNSObject,
createObjectEntry,
delete,
doesExist,
freeDetails,
getAttributeDefinition,
getAttributes,
getChildren,
getClassDefinition,
getDetails,
getDetails,
getFullName,
getMaxNameLength,
getObjectEffectiveRights,
getObjectEntry,
getObjectEntry,
getObjectType,
getObjectTypes,
getPropertyEffectiveRights,
getSchemaDefinition,
move,
rename,
setAttributes,
update |
getVolumeNameSpaces
public java.lang.String[] getVolumeNameSpaces(ObjectEntry oe)
throws NamespaceException,
SPIException
- Get a string array of the volume namespaces.
- Parameters:
oe - An Object Entry from the file system namespace- Returns:
- A string array of the namespaces for the volume where this File System
Object Entry resides.
Example: if the oe is a representation of "serverName/volName/dir1/dir2/file",
this method will look for the name spaces of "volName" on the server
"serverName" Name spaces are things like "DOS" and "LONG"
create
public void create(ObjectEntry parent,
java.lang.String child,
ObjectEntry trusteeOE,
FSRights rights)
throws SPIException,
SnapinVetoException,
NamespaceException,
IncompatibleComponentException
- creates a File System directory and assigns a trustee with rights to it
- Specified by:
- create in interface FSNamespace
- Parameters:
parent - The parent directory ObjectEntrychild - The name of the child directorytrusteeOE - The trustee NDS User ObjectEntryrights - The trustee's rights for the newly created directory
getChildren
public ObjectEntryEnumeration getChildren(ObjectEntry obj,
ResultModifier modifiers)
throws SPIException
- Gets the subordinate objects from an ObjectEntry. Note - you are not
informed in the event that a partial list was returned.
- Parameters:
obj - Parent object as an ObjectEntry.modifiers - The modifiers that specify how the children list is
created.- Returns:
- The children of parent as an enumeration.
- Throws:
- SPIException - The ObjectEntry is not a container.
getVolumeUtilization
public ValueComponent getVolumeUtilization(ObjectEntry obj,
java.lang.String user)
throws SPIException
- Gets the Volume Utilization ValueComponent from a volume for a particular user.
- Parameters:
obj - the volume as an ObjectEntry.user - the name of the user to get the values for.- Returns:
- The ValueComponent containing the Volume Utilization values for the
specified user.
- Throws:
- SPIException - The ObjectEntry is not a volume.
getVolumeInformation
public ValueComponent getVolumeInformation(ObjectEntry obj)
throws SPIException
- Gets the Volume Information ValueComponent from a volume
- Parameters:
obj - the volume as an ObjectEntry.- Returns:
- The ValueComponent containing the Volume Information values
- Throws:
- SPIException - The ObjectEntry is not a volume.
getUserSpaceAvailable
public long getUserSpaceAvailable(ObjectEntry obj,
java.lang.String user)
throws SPIException
- Gets the User Space Available for a volume where a file system object entry resides
- Parameters:
obj - an ObjectEntry in the file system namespaceuser - the user whose space available is being looked for.- Returns:
- The Space available for the user in 4K pieces. (if -1 then no restrictions)
- Throws:
- SPIException -
getRootVolume
public java.lang.String getRootVolume(ObjectEntry obj)
- Gets the root Volume name from an ObjectEntry.
- Parameters:
obj - a FileSystem ObjectEntry.- Returns:
- The root volume of the FileSystem ObjectEntry.
if the name of the object was "serverName/volName/dir1/dir2/file" then this would
return "volName"
copyTrustees
public void copyTrustees(ObjectEntry objEntrySource,
ObjectEntry objEntryDestination)
throws SPIException,
SnapinVetoException
- copies trustees from the source file to the destination file
API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.