com.novell.admin.ns.fs.nw
Class DirectorySpaceInfoFacade

java.lang.Object
  |
  +--com.novell.admin.ns.ValueListFacade
        |
        +--com.novell.admin.ns.fs.nw.DirectorySpaceInfoFacade

public class DirectorySpaceInfoFacade
extends ValueListFacade

Facade for File System Directory Space Info syntax.


Fields inherited from class com.novell.admin.ns.ValueListFacade
valueList
 
Constructor Summary
DirectorySpaceInfoFacade(ValueList comp)
          Facade constructor
 
Method Summary
static ValueList createValueList(long totalBlocks, long availableBlocks, long purgeableBlocks, long notYetPurgeableBlocks, long totalDirectoryEntries, long availableDirectoryEntries, long sectorsPerBlock, java.lang.String volumeName, long currentUse)
          File System Directory Space Info ValueList factory.
 long getAvailableBlocks()
          Retrieve the availableBlocks from the valuelist.
 long getAvailableDirectoryEntries()
          Retrieve the availableDirectoryEntries from the valuelist.
 long getCurrentUse()
          Retrieve the currentUse from the valuelist.
 long getNotYetPurgeableBlocks()
          Retrieve the notYetPurgeableBlocks from the valuelist.
 long getPurgeableBlocks()
          Retrieve the purgeableBlocks from the valuelist.
 long getSectorsPerBlock()
          Retrieve the sectorsPerBlock from the valuelist.
 long getTotalBlocks()
          Retrieve the totalBlocks from the valuelist.
 long getTotalDirectoryEntries()
          Retrieve the totalDirectoryEntries from the valuelist.
 java.lang.String getVolumeName()
          Retrieve the name from the valuelist.
 
Methods inherited from class com.novell.admin.ns.ValueListFacade
getValueList, replaceBooleanValue, replaceHexValue, replaceLongValue, replaceStringValue, replaceValueList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectorySpaceInfoFacade

public DirectorySpaceInfoFacade(ValueList comp)
                         throws IncompatibleComponentException
Facade constructor
Parameters:
valueList - The ValueList which represents the Directory Space Info data.
Throws:
IncompatibleComponentException - if the 'valueList' syntax is not NWFSSyntax.SYN_DIR_SPACE_INFO.
Method Detail

createValueList

public static ValueList createValueList(long totalBlocks,
                                        long availableBlocks,
                                        long purgeableBlocks,
                                        long notYetPurgeableBlocks,
                                        long totalDirectoryEntries,
                                        long availableDirectoryEntries,
                                        long sectorsPerBlock,
                                        java.lang.String volumeName,
                                        long currentUse)
                                 throws IncompatibleComponentException
File System Directory Space Info ValueList factory.
Parameters:
totalBlocks - Refer to Directory Space Info Specification.
availableBlocks - Refer to Directory Space Info Specification.
purgeableBlocks - Refer to Directory Space Info Specification.
notYetPurgeableBlocks - Refer to Directory Space Info Specification.
totalDirectoryEntries - Refer to Directory Space Info Specification.
availableDirectoryEntries - Refer to Directory Space Info Specification.
sectorsPerBlock - Refer to Directory Space Info Specification.
volumeName - Refer to Directory Space Info Specification.
maximumAvailable - Refer to Directory Space Info Specification.
currentUse - Refer to Directory Space Info Specification.
Returns:
A new Directory Space Info ValueList.

getTotalBlocks

public long getTotalBlocks()
Retrieve the totalBlocks from the valuelist.
Returns:
The Volume total blocks.

getAvailableBlocks

public long getAvailableBlocks()
Retrieve the availableBlocks from the valuelist.
Returns:
The Volume available blocks.

getPurgeableBlocks

public long getPurgeableBlocks()
Retrieve the purgeableBlocks from the valuelist.
Returns:
The Volume purgeable blocks.

getNotYetPurgeableBlocks

public long getNotYetPurgeableBlocks()
Retrieve the notYetPurgeableBlocks from the valuelist.
Returns:
The Volume not yet purgeable blocks.

getTotalDirectoryEntries

public long getTotalDirectoryEntries()
Retrieve the totalDirectoryEntries from the valuelist.
Returns:
The Volume total directory entries.

getAvailableDirectoryEntries

public long getAvailableDirectoryEntries()
Retrieve the availableDirectoryEntries from the valuelist.
Returns:
The Volume available directory entries.

getSectorsPerBlock

public long getSectorsPerBlock()
Retrieve the sectorsPerBlock from the valuelist.
Returns:
The Volume sectors per block.

getVolumeName

public java.lang.String getVolumeName()
Retrieve the name from the valuelist.
Returns:
The Volume name.

getCurrentUse

public long getCurrentUse()
Retrieve the currentUse from the valuelist.
Returns:
The Volume current use.


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.