com.novell.admin.ns.fs
Interface FSEntryAttribute

All Known Implementing Classes:
NWFSEntryAttribute

public interface FSEntryAttribute

This class represents attributes for an object.


Method Summary
 long getObjAttribute()
          Get all the object attributes.
 boolean hasCantCompress()
          Test to see if object attributes include the Cant Compress attribute.
 boolean hasCopyInhibit()
          Test to see if object attributes include the Copy Inhibit attribute.
 boolean hasDeleteInhibit()
          Test to see if object attributes include the Delete Inhibit attribute.
 boolean hasDontCompress()
          Test to see if object attributes include the Dont Compress attribute.
 boolean hasDontMigrate()
          Test to see if object attributes include the Dont Migrate attribute.
 boolean hasDontSuballoc()
          Test to see if object attributes include the Don't Suballoc attribute.
 boolean hasExecuteOnly()
          Test to see if object attributes include the Execute Only attribute.
 boolean hasFileCompressed()
          Test to see if object attributes include the File Compressed attribute.
 boolean hasFileMigrated()
          Test to see if object attributes include the File Migrated attribute.
 boolean hasHidden()
          Test to see if object attributes include the Hidden attribute.
 boolean hasImmediateCompress()
          Test to see if object attributes include the Immediate Compress attribute.
 boolean hasImmediatePurge()
          Test to see if object attributes include the Immediate Purge attribute.
 boolean hasIndexed()
          Test to see if object attributes include the Indexed attribute.
 boolean hasNeedsArchived()
          Test to see if object attributes include the Needs Archived attribute.
 boolean hasNormal()
          Test to see if object attributes include the Normal attribute.
 boolean hasReadAudit()
          Test to see if object attributes include the Read Audit attribute.
 boolean hasReadOnly()
          Test to see if object attributes include the Read Only attribute.
 boolean hasRenameInhibit()
          Test to see if object attributes include the Rename Inhibit attribute.
 boolean hasShareable()
          Test to see if object attributes include the Shareable attribute.
 boolean hasSystem()
          Test to see if object attributes include the System attribute.
 boolean hasTransactional()
          Test to see if object attributes include the Transactional attribute.
 boolean hasWriteAudit()
          Test to see if object attributes include the Write Audit attribute.
 boolean isDirectory()
          Test to see if object attributes include the Directory attribute.
 boolean isEqual(long newAttr)
          Test to see if the attributes are equal to the object attributes.
 long merge(long newAttr)
          Merge the new attribute value with the current one.
 void setCantCompress(boolean flag)
           
 void setCopyInhibit(boolean flag)
           
 void setDeleteInhibit(boolean flag)
           
 void setDirectory(boolean flag)
           
 void setDontCompress(boolean flag)
           
 void setDontMigrate(boolean flag)
           
 void setDontSuballoc(boolean flag)
           
 void setExecuteOnly(boolean flag)
           
 void setFileCompressed(boolean flag)
           
 void setFileMigrated(boolean flag)
           
 void setHidden(boolean flag)
           
 void setImmediateCompress(boolean flag)
           
 void setImmediatePurge(boolean flag)
           
 void setIndexed(boolean flag)
           
 void setNeedsArchived(boolean flag)
           
 void setNormal(boolean flag)
           
 void setReadAudit(boolean flag)
           
 void setReadOnly(boolean flag)
           
 void setRenameInhibit(boolean flag)
           
 void setShareable(boolean flag)
           
 void setSystem(boolean flag)
           
 void setTransactional(boolean flag)
           
 void setWriteAudit(boolean flag)
           
 

Method Detail

getObjAttribute

public long getObjAttribute()
Get all the object attributes.
Returns:
The object attributes.

isEqual

public boolean isEqual(long newAttr)
Test to see if the attributes are equal to the object attributes.
Returns:
true if they are equal, false otherwise.

merge

public long merge(long newAttr)
Merge the new attribute value with the current one.
Returns:
the inverted intersection.

hasDeleteInhibit

public boolean hasDeleteInhibit()
Test to see if object attributes include the Delete Inhibit attribute.
Returns:
true if the object has the Delete Inhibit attribute set, false otherwise.

hasCantCompress

public boolean hasCantCompress()
Test to see if object attributes include the Cant Compress attribute.
Returns:
true if the object has the Cant Compress attribute set, false otherwise.

hasCopyInhibit

public boolean hasCopyInhibit()
Test to see if object attributes include the Copy Inhibit attribute.
Returns:
true if the object has the Copy Inhibit attribute set, false otherwise.

isDirectory

public boolean isDirectory()
Test to see if object attributes include the Directory attribute.
Returns:
true if the object has the Directory attribute set, false otherwise.

hasDontCompress

public boolean hasDontCompress()
Test to see if object attributes include the Dont Compress attribute.
Returns:
true if the object has the Dont Compress attribute set, false otherwise.

hasDontMigrate

public boolean hasDontMigrate()
Test to see if object attributes include the Dont Migrate attribute.
Returns:
true if the object has the Dont Migrate attribute set, false otherwise.

hasExecuteOnly

public boolean hasExecuteOnly()
Test to see if object attributes include the Execute Only attribute.
Returns:
true if the object has the Execute Only attribute set, false otherwise.

hasFileCompressed

public boolean hasFileCompressed()
Test to see if object attributes include the File Compressed attribute.
Returns:
true if the object has the File Compressed attribute set, false otherwise.

hasFileMigrated

public boolean hasFileMigrated()
Test to see if object attributes include the File Migrated attribute.
Returns:
true if the object has the File Migrated attribute set, false otherwise.

hasHidden

public boolean hasHidden()
Test to see if object attributes include the Hidden attribute.
Returns:
true if the object has the Hidden attribute set, false otherwise.

hasImmediateCompress

public boolean hasImmediateCompress()
Test to see if object attributes include the Immediate Compress attribute.
Returns:
true if the object has the Immediate Compress attribute set, false otherwise.

hasImmediatePurge

public boolean hasImmediatePurge()
Test to see if object attributes include the Immediate Purge attribute.
Returns:
true if the object has the Immediate Purge attribute set, false otherwise.

hasIndexed

public boolean hasIndexed()
Test to see if object attributes include the Indexed attribute.
Returns:
true if the object has the Indexed attribute set, false otherwise.

hasNeedsArchived

public boolean hasNeedsArchived()
Test to see if object attributes include the Needs Archived attribute.
Returns:
true if the object has the Needs Archived attribute set, false otherwise.

hasNormal

public boolean hasNormal()
Test to see if object attributes include the Normal attribute.
Returns:
true if the object has the Normal attribute set, false otherwise.

hasReadAudit

public boolean hasReadAudit()
Test to see if object attributes include the Read Audit attribute.
Returns:
true if the object has the Read Audit attribute set, false otherwise.

hasReadOnly

public boolean hasReadOnly()
Test to see if object attributes include the Read Only attribute.
Returns:
true if the object has the Read Only attribute set, false otherwise.

hasRenameInhibit

public boolean hasRenameInhibit()
Test to see if object attributes include the Rename Inhibit attribute.
Returns:
true if the object has the Rename Inhibit attribute set, false otherwise.

hasShareable

public boolean hasShareable()
Test to see if object attributes include the Shareable attribute.
Returns:
true if the object has the Shareable attribute set, false otherwise.

hasSystem

public boolean hasSystem()
Test to see if object attributes include the System attribute.
Returns:
true if the object has the System attribute set, false otherwise.

hasTransactional

public boolean hasTransactional()
Test to see if object attributes include the Transactional attribute.
Returns:
true if the object has the Transactional attribute set, false otherwise.

hasWriteAudit

public boolean hasWriteAudit()
Test to see if object attributes include the Write Audit attribute.
Returns:
true if the object has the Write Audit attribute set, false otherwise.

hasDontSuballoc

public boolean hasDontSuballoc()
Test to see if object attributes include the Don't Suballoc attribute.
Returns:
true if the object has the Write Audit attribute set, false otherwise.

setDeleteInhibit

public void setDeleteInhibit(boolean flag)
Parameters:
flag - Set or clear the Delete Inhibit object attribute based on the flag value of true(set) or false(clear)

setCantCompress

public void setCantCompress(boolean flag)
Parameters:
flag - Set or clear the Cant Compress object attribute based on the flag value of true(set) or false(clear)

setCopyInhibit

public void setCopyInhibit(boolean flag)
Parameters:
flag - Set or clear the Copy Inhibit object attribute based on the flag value of true(set) or false(clear)

setDirectory

public void setDirectory(boolean flag)
Parameters:
flag - Set or clear the Directory object attribute based on the flag value of true(set) or false(clear)

setDontCompress

public void setDontCompress(boolean flag)
Parameters:
flag - Set or clear the Dont Compress object attribute based on the flag value of true(set) or false(clear)

setDontMigrate

public void setDontMigrate(boolean flag)
Parameters:
flag - Set or clear the Dont Migrate object attribute based on the flag value of true(set) or false(clear)

setExecuteOnly

public void setExecuteOnly(boolean flag)
Parameters:
flag - Set or clear the Execute Only object attribute based on the flag value of true(set) or false(clear)

setFileCompressed

public void setFileCompressed(boolean flag)
Parameters:
flag - Set or clear the File Compressed object attribute based on the flag value of true(set) or false(clear)

setFileMigrated

public void setFileMigrated(boolean flag)
Parameters:
flag - Set or clear the File Migrated object attribute based on the flag value of true(set) or false(clear)

setHidden

public void setHidden(boolean flag)
Parameters:
flag - Set or clear the Hidden object attribute based on the flag value of true(set) or false(clear)

setImmediateCompress

public void setImmediateCompress(boolean flag)
Parameters:
flag - Set or clear the Immediate Compress object attribute based on the flag value of true(set) or false(clear)

setImmediatePurge

public void setImmediatePurge(boolean flag)
Parameters:
flag - Set or clear the Immediate Purge object attribute based on the flag value of true(set) or false(clear)

setIndexed

public void setIndexed(boolean flag)
Parameters:
flag - Set or clear the Indexed object attribute based on the flag value of true(set) or false(clear)

setNeedsArchived

public void setNeedsArchived(boolean flag)
Parameters:
flag - Set or clear the Needs Archived object attribute based on the flag value of true(set) or false(clear)

setNormal

public void setNormal(boolean flag)
Parameters:
flag - Set or clear the Normal object attribute based on the flag value of true(set) or false(clear)

setReadAudit

public void setReadAudit(boolean flag)
Parameters:
flag - Set or clear the Read Audit object attribute based on the flag value of true(set) or false(clear)

setReadOnly

public void setReadOnly(boolean flag)
Parameters:
flag - Set or clear the Read Only object attribute based on the flag value of true(set) or false(clear)

setRenameInhibit

public void setRenameInhibit(boolean flag)
Parameters:
flag - Set or clear the Rename Inhibit object attribute based on the flag value of true(set) or false(clear)

setShareable

public void setShareable(boolean flag)
Parameters:
flag - Set or clear the Shareable object attribute based on the flag value of true(set) or false(clear)

setSystem

public void setSystem(boolean flag)
Parameters:
flag - Set or clear the System object attribute based on the flag value of true(set) or false(clear)

setTransactional

public void setTransactional(boolean flag)
Parameters:
flag - Set or clear the Transactional object attribute based on the flag value of true(set) or false(clear)

setWriteAudit

public void setWriteAudit(boolean flag)
Parameters:
flag - Set or clear the Write Audit object attribute based on the flag value of true(set) or false(clear)

setDontSuballoc

public void setDontSuballoc(boolean flag)
Parameters:
flag - Set or clear the Don't Suballoc object attribute based on the flag value of true(set) or false(clear)


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