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

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

public class VolumeInformationFacade
extends ValueListFacade

Facade for File System Volume Information syntax.


Fields inherited from class com.novell.admin.ns.ValueListFacade
valueList
 
Constructor Summary
VolumeInformationFacade(ValueList comp)
          Facade constructor
 
Method Summary
static ValueList createValueList(java.lang.String volumeName, long totalBlocks, long sectorsPerBlock, long availableBlocks, long totalDirectoryEntries, long availableDirectoryEntries, boolean volumeIsRemovable, long volumeType, long statusFlag, long sectorSize, long sectorsPerCluster, long volumeSizeInClusters, long freeClusters, long subAllocationFreeableClusters, long freeableLimboSectors, long nonFreeableLimboSectors, long availableSubAllocationSectors, long nonUsableSubAllocationSectors, long subAllocationClusters, long numberOfDataStreams, long numberOfLimboDataStreams, long oldestDeletedFileAgeInTicks, long numberOfCompressedDataStreams, long numberOfCompressedLimboDataStreams, long numberOfNonCompressableDataStreams, long preCompressedSectors, long compressedSectors, long numberOfMigratedDataStreams, long migratedSectors, long clustersUsedByFAT, long clustersUsedByDirectories, long clustersUsedByExtendedDirectories, long unusedDirectoryEntries, long totalExtendedDirectoryExtants, long unusedExtendedDirectoryExtants, long extendedAttributesDefined, long extendedAttributesExtantsUsed, java.lang.String directoryServicesName, long volumeLastModifiedDateAndTime, long purgeableBlocks, long notYetPurgeableBlocks)
          File System Volume Information ValueList factory.
 long getAvailableBlocks()
          Retrieve the availableBlocks from the valuelist.
 long getAvailableDirectoryEntries()
          Retrieve the availableDirectoryEntries from the valuelist.
 long getAvailableSubAllocationSectors()
          Retrieve the availableSubAllocationSectors from the valuelist.
 long getBlockSize()
          Calculate the block size.
 long getClustersUsedByDirectories()
          Retrieve the clustersUsedByDirectories from the valuelist.
 long getClustersUsedByExtendedDirectories()
          Retrieve the clustersUsedByExtendedDirectories from the valuelist.
 long getClustersUsedByFAT()
          Retrieve the clustersUsedByFAT from the valuelist.
 long getCompressedSectors()
          Retrieve the compressSectors from the valuelist.
 long getCompressedSpace()
          Retrieve the compresed space based on values in the valuelist.
 java.lang.String getDirectoryServicesName()
          Retrieve the directoryServicesName from the valuelist.
 long getExtendedAttributesDefined()
          Retrieve the extendedAttributesDefined from the valuelist.
 long getExtendedAttributesExtantsUsed()
          Retrieve the extendedAttributesExtantsUsed from the valuelist.
 long getFreeableLimboSectors()
          Retrieve the freeableLimboSectors from the valuelist.
 long getFreeClusters()
          Retrieve the freeClusters from the valuelist.
 long getFreeDirSpace()
          Retrieve the free directory space based on values in the valuelist.
 long getMigratedFilesSize()
          Calculate the migrated file sizes.
 long getMigratedSectors()
          Retrieve the migratedSectors from the valuelist.
 long getNonFreeableLimboSectors()
          Retrieve the nonFreeableLimboSectors from the valuelist.
 long getNonUsableSubAllocationSectors()
          Retrieve the nonUsableSubAllocationSectors from the valuelist.
 long getNotYetPurgeableBlocks()
          Retrieve the notYetPurgeableBlocks from the valuelist.
 long getNumberOfCompressedDataStreams()
          Retrieve the numberOfCompressedDataStreams from the valuelist.
 long getNumberOfCompressedLimboDataStreams()
          Retrieve the numberOfCompressedLimboDataStreams from the valuelist.
 long getNumberOfDataStreams()
          Retrieve the numberOfDataStreams from the valuelist.
 long getNumberOfLimboDataStreams()
          Retrieve the numberOfLimboDataStreams from the valuelist.
 long getNumberOfMigratedDataStreams()
          Retrieve the numberOfMigratedDataStreams from the valuelist.
 long getNumberOfNonCompressableDataStreams()
          Retrieve the numberOfNonCompressableDataStreams from the valuelist.
 long getOldestDeletedFileAgeInTicks()
          Retrieve the oldestDeletedFileAgeInTicks from the valuelist.
 long getPreCompressedSectors()
          Retrieve the preCompressedSectors from the valuelist.
 long getPurgeableBlocks()
          Retrieve the purgeableBlocks from the valuelist.
 long getPurgeableFilesSize()
          Calculate the purgeable file sizes.
 long getSectorSize()
          Retrieve the sectorSize from the valuelist.
 long getSectorsPerBlock()
          Retrieve the sectorsPerBlock from the valuelist.
 long getSectorsPerCluster()
          Retrieve the sectorsPerCluster from the valuelist.
 long getStatusFlag()
          Retrieve the statusFlag from the valuelist.
 long getSubAllocationClusters()
          Retrieve the subAllocationClusters from the valuelist.
 long getSubAllocationFreeableClusters()
          Retrieve the subAllocationFreeableClusters from the valuelist.
 long getTotalBlocks()
          Retrieve the totalBlocks from the valuelist.
 long getTotalDirectoryEntries()
          Retrieve the totalDirectoryEntries from the valuelist.
 long getTotalDirSpace()
          Retrieve the total directory space based on values in the valuelist.
 long getTotalExtendedDirectoryExtants()
          Retrieve the totalExtendedDirectoryExtants from the valuelist.
 long getUncompressedSpace()
          Retrieve the uncompresed space based on values in the valuelist.
 long getUnpurgeableFilesSize()
          Calculate the un-purgeable file sizes.
 long getUnusedDirectoryEntries()
          Retrieve the unusedDirectoryEntries from the valuelist.
 long getUnusedExtendedDirectoryExtants()
          Retrieve the unusedExtendedDirectoryExtants from the valuelist.
 boolean getVolumeIsRemovable()
          Retrieve the volumeIsRemovable from the valuelist.
 java.util.Date getVolumeLastModifiedDateAndTime()
          Retrieve the volumeLastModifiedDateAndTime from the valuelist.
 java.lang.String getVolumeName()
          Retrieve the volumeName from the valuelist.
 long getVolumeSizeInClusters()
          Retrieve the volumeSizeInClusters from the valuelist.
 long getVolumeType()
          Retrieve the volumeType from the valuelist.
 boolean hasAuditing()
          Calculates if the volume has auditing.
 boolean hasCompression()
          Calculates if the volume has file compression.
 boolean hasMigration()
          Calculates if the volume has file migration.
 boolean hasReadOnly()
          Calculates if the volume is read only.
 boolean hasSubAllocation()
          Calculates if the volume has sub allocation.
 long sizeOfSectors(long sectors, long sectorSize)
          Calculate the size of sectors based on number and size.
 
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

VolumeInformationFacade

public VolumeInformationFacade(ValueList comp)
                        throws IncompatibleComponentException
Facade constructor
Parameters:
valueList - The ValueList which represents the Volume Information data.
Throws:
IncompatibleComponentException - if the 'valueList' syntax is not NWFSSyntax.SYN_VOL_INFORMATION.
Method Detail

createValueList

public static ValueList createValueList(java.lang.String volumeName,
                                        long totalBlocks,
                                        long sectorsPerBlock,
                                        long availableBlocks,
                                        long totalDirectoryEntries,
                                        long availableDirectoryEntries,
                                        boolean volumeIsRemovable,
                                        long volumeType,
                                        long statusFlag,
                                        long sectorSize,
                                        long sectorsPerCluster,
                                        long volumeSizeInClusters,
                                        long freeClusters,
                                        long subAllocationFreeableClusters,
                                        long freeableLimboSectors,
                                        long nonFreeableLimboSectors,
                                        long availableSubAllocationSectors,
                                        long nonUsableSubAllocationSectors,
                                        long subAllocationClusters,
                                        long numberOfDataStreams,
                                        long numberOfLimboDataStreams,
                                        long oldestDeletedFileAgeInTicks,
                                        long numberOfCompressedDataStreams,
                                        long numberOfCompressedLimboDataStreams,
                                        long numberOfNonCompressableDataStreams,
                                        long preCompressedSectors,
                                        long compressedSectors,
                                        long numberOfMigratedDataStreams,
                                        long migratedSectors,
                                        long clustersUsedByFAT,
                                        long clustersUsedByDirectories,
                                        long clustersUsedByExtendedDirectories,
                                        long unusedDirectoryEntries,
                                        long totalExtendedDirectoryExtants,
                                        long unusedExtendedDirectoryExtants,
                                        long extendedAttributesDefined,
                                        long extendedAttributesExtantsUsed,
                                        java.lang.String directoryServicesName,
                                        long volumeLastModifiedDateAndTime,
                                        long purgeableBlocks,
                                        long notYetPurgeableBlocks)
File System Volume Information ValueList factory.
Parameters:
volumeName - Refer to Volume Information Specification.
totalBlocks - Refer to Volume Information Specification.
sectorsPerBlock - Refer to Volume Information Specification.
availableBlocks - Refer to Volume Information Specification.
totalDirectoryEntries - Refer to Volume Information Specification.
availableDirectoryEntries - Refer to Volume Information Specification.
volumeIsRemovable - Refer to Volume Information Specification.
volumeType - Refer to Volume Information Specification.
statusFlag - Refer to Volume Information Specification.
sectorSize - Refer to Volume Information Specification.
sectorsPerCluster - Refer to Volume Information Specification.
volumeSizeInClusters - Refer to Volume Information Specification.
freeClusters - Refer to Volume Information Specification.
subAllocationFreeableClusters - Refer to Volume Information Specification.
freeableLimboSectors - Refer to Volume Information Specification.
nonFreeableLimboSectors - Refer to Volume Information Specification.
availableSubAllocationSectors - Refer to Volume Information Specification.
nonUsableSubAllocationSectors - Refer to Volume Information Specification.
subAllocationClusters - Refer to Volume Information Specification.
numberOfDataStreams - Refer to Volume Information Specification.
numberOfLimboDataStreams - Refer to Volume Information Specification.
oldestDeletedFileAgeInTicks - Refer to Volume Information Specification.
numberOfCompressedDataStreams - Refer to Volume Information Specification.
numberOfCompressedLimboDataStreams - Refer to Volume Information Specification.
numberOfNonCompressableDataStreams - Refer to Volume Information Specification.
preCompressedSectors - Refer to Volume Information Specification.
compressedSectors - Refer to Volume Information Specification.
numberOfMigratedDataStreams - Refer to Volume Information Specification.
migratedSectors - Refer to Volume Information Specification.
clustersUsedByFAT - Refer to Volume Information Specification.
clustersUsedByDirectories - Refer to Volume Information Specification.
clustersUsedByExtendedDirectories - Refer to Volume Information Specification.
unusedDirectoryEntries - Refer to Volume Information Specification.
totalExtendedDirectoryExtants - Refer to Volume Information Specification.
unusedExtendedDirectoryExtants - Refer to Volume Information Specification.
extendedAttributesDefined - Refer to Volume Information Specification.
extendedAttributesExtantsUsed - Refer to Volume Information Specification.
directoryServicesName - Refer to Volume Information Specification.
volumeLastModifiedDateAndTime - Refer to Volume Information Specification.
purgeableBlocks - Refer to Volume Information Specification.
notYetPurgeableBlock - Refer to Volume Information Specification.
Returns:
A new Volume information ValueList.

getVolumeName

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

getTotalBlocks

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

getSectorsPerBlock

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

getAvailableBlocks

public long getAvailableBlocks()
Retrieve the availableBlocks from the valuelist.
Returns:
The Volume available 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.

getVolumeIsRemovable

public boolean getVolumeIsRemovable()
Retrieve the volumeIsRemovable from the valuelist.
Returns:
The Volume is removable flag.

getVolumeType

public long getVolumeType()
Retrieve the volumeType from the valuelist.
Returns:
The Volume type.

getStatusFlag

public long getStatusFlag()
Retrieve the statusFlag from the valuelist.
Returns:
The Volume status flag.

getSectorSize

public long getSectorSize()
Retrieve the sectorSize from the valuelist.
Returns:
The Volume sector size.

getSectorsPerCluster

public long getSectorsPerCluster()
Retrieve the sectorsPerCluster from the valuelist.
Returns:
The Volume sectors per cluster.

getVolumeSizeInClusters

public long getVolumeSizeInClusters()
Retrieve the volumeSizeInClusters from the valuelist.
Returns:
The Volume size in clusters.

getFreeClusters

public long getFreeClusters()
Retrieve the freeClusters from the valuelist.
Returns:
The Volume free clusters.

getSubAllocationFreeableClusters

public long getSubAllocationFreeableClusters()
Retrieve the subAllocationFreeableClusters from the valuelist.
Returns:
The Volume sub-allocation freeable clusters.

getFreeableLimboSectors

public long getFreeableLimboSectors()
Retrieve the freeableLimboSectors from the valuelist.
Returns:
The Volume freeable limbo sectors.

getNonFreeableLimboSectors

public long getNonFreeableLimboSectors()
Retrieve the nonFreeableLimboSectors from the valuelist.
Returns:
The Volume non-freeable limbo sectors.

getAvailableSubAllocationSectors

public long getAvailableSubAllocationSectors()
Retrieve the availableSubAllocationSectors from the valuelist.
Returns:
The Volume available sub-allocation sectors.

getNonUsableSubAllocationSectors

public long getNonUsableSubAllocationSectors()
Retrieve the nonUsableSubAllocationSectors from the valuelist.
Returns:
The Volume non-usable sub-allocation sectors.

getSubAllocationClusters

public long getSubAllocationClusters()
Retrieve the subAllocationClusters from the valuelist.
Returns:
The Volume sub-allocation clusters.

getNumberOfDataStreams

public long getNumberOfDataStreams()
Retrieve the numberOfDataStreams from the valuelist.
Returns:
The Volume number of data streams.

getNumberOfLimboDataStreams

public long getNumberOfLimboDataStreams()
Retrieve the numberOfLimboDataStreams from the valuelist.
Returns:
The Volume number of limbo data streams.

getOldestDeletedFileAgeInTicks

public long getOldestDeletedFileAgeInTicks()
Retrieve the oldestDeletedFileAgeInTicks from the valuelist.
Returns:
The Volume oldest deleted file age in ticks.

getNumberOfCompressedDataStreams

public long getNumberOfCompressedDataStreams()
Retrieve the numberOfCompressedDataStreams from the valuelist.
Returns:
The Volume number of compressed data streams.

getNumberOfCompressedLimboDataStreams

public long getNumberOfCompressedLimboDataStreams()
Retrieve the numberOfCompressedLimboDataStreams from the valuelist.
Returns:
The Volume number of compressed limbo data streams.

getNumberOfNonCompressableDataStreams

public long getNumberOfNonCompressableDataStreams()
Retrieve the numberOfNonCompressableDataStreams from the valuelist.
Returns:
The Volume number of non-compressable data streams.

getPreCompressedSectors

public long getPreCompressedSectors()
Retrieve the preCompressedSectors from the valuelist.
Returns:
The Volume pre-compressed sectors.

getCompressedSectors

public long getCompressedSectors()
Retrieve the compressSectors from the valuelist.
Returns:
The Volume compressed sectors.

getNumberOfMigratedDataStreams

public long getNumberOfMigratedDataStreams()
Retrieve the numberOfMigratedDataStreams from the valuelist.
Returns:
The Volume number of migrated data streams.

getMigratedSectors

public long getMigratedSectors()
Retrieve the migratedSectors from the valuelist.
Returns:
The Volume migrated sectors.

getClustersUsedByFAT

public long getClustersUsedByFAT()
Retrieve the clustersUsedByFAT from the valuelist.
Returns:
The Volume clusters used by FAT.

getClustersUsedByDirectories

public long getClustersUsedByDirectories()
Retrieve the clustersUsedByDirectories from the valuelist.
Returns:
The Volume clusters used by directories.

getClustersUsedByExtendedDirectories

public long getClustersUsedByExtendedDirectories()
Retrieve the clustersUsedByExtendedDirectories from the valuelist.
Returns:
The Volume clusters used by extended directories.

getUnusedDirectoryEntries

public long getUnusedDirectoryEntries()
Retrieve the unusedDirectoryEntries from the valuelist.
Returns:
The Volume unused directory entries.

getTotalExtendedDirectoryExtants

public long getTotalExtendedDirectoryExtants()
Retrieve the totalExtendedDirectoryExtants from the valuelist.
Returns:
The Volume total extended directory extants.

getUnusedExtendedDirectoryExtants

public long getUnusedExtendedDirectoryExtants()
Retrieve the unusedExtendedDirectoryExtants from the valuelist.
Returns:
The Volume unused extended directory extants.

getExtendedAttributesDefined

public long getExtendedAttributesDefined()
Retrieve the extendedAttributesDefined from the valuelist.
Returns:
The Volume extended attributes defined.

getExtendedAttributesExtantsUsed

public long getExtendedAttributesExtantsUsed()
Retrieve the extendedAttributesExtantsUsed from the valuelist.
Returns:
The Volume extended attributes extants used.

getDirectoryServicesName

public java.lang.String getDirectoryServicesName()
Retrieve the directoryServicesName from the valuelist.
Returns:
The Volume directory services name.

getVolumeLastModifiedDateAndTime

public java.util.Date getVolumeLastModifiedDateAndTime()
Retrieve the volumeLastModifiedDateAndTime from the valuelist.
Returns:
The Volume last modified date and time.

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.

getTotalDirSpace

public long getTotalDirSpace()
Retrieve the total directory space based on values in the valuelist.
Returns:
The Volume total directory space.

getFreeDirSpace

public long getFreeDirSpace()
Retrieve the free directory space based on values in the valuelist.
Returns:
The Volume free directory space.

sizeOfSectors

public long sizeOfSectors(long sectors,
                          long sectorSize)
Calculate the size of sectors based on number and size.
Returns:
The Volume size of sectors.

getCompressedSpace

public long getCompressedSpace()
Retrieve the compresed space based on values in the valuelist.
Returns:
The compressed space.

getUncompressedSpace

public long getUncompressedSpace()
Retrieve the uncompresed space based on values in the valuelist.
Returns:
The uncompressed space.

getBlockSize

public long getBlockSize()
Calculate the block size.
Returns:
The Block size.

getUnpurgeableFilesSize

public long getUnpurgeableFilesSize()
Calculate the un-purgeable file sizes.
Returns:
The un-purgable file size.

getPurgeableFilesSize

public long getPurgeableFilesSize()
Calculate the purgeable file sizes.
Returns:
The purgable file size.

getMigratedFilesSize

public long getMigratedFilesSize()
Calculate the migrated file sizes.
Returns:
The migrated file size.

hasSubAllocation

public boolean hasSubAllocation()
Calculates if the volume has sub allocation.
Returns:
true if volume has sub allocation.

hasCompression

public boolean hasCompression()
Calculates if the volume has file compression.
Returns:
true if volume has file compression.

hasMigration

public boolean hasMigration()
Calculates if the volume has file migration.
Returns:
true if volume has file migration.

hasAuditing

public boolean hasAuditing()
Calculates if the volume has auditing.
Returns:
true if volume has auditing.

hasReadOnly

public boolean hasReadOnly()
Calculates if the volume is read only.
Returns:
true if volume is read only.


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