wt.ixb.handlers.netmarkets
Class ContainerOrderedFolders

java.lang.Object
  extended bywt.ixb.handlers.netmarkets.ContainerOrderedFolders

public class ContainerOrderedFolders
extends Object


Field Summary
private  Map cabFolderMap
           
(package private)  List cabList
           
 
Constructor Summary
ContainerOrderedFolders(WTContainerRef contRef)
           
ContainerOrderedFolders(WTContainerRef contRef, boolean doAcls)
           
 
Method Summary
 void deleteCabinetEntry(String cabName)
           
 OrderedFolder[] getAllOrderedFolders()
          This is most usefull for scenarios that do not involve comparing/pruning cabinet lists in different containers.
 String[] getCabinetNames()
          Returns list of cabinets, each cabinet has an OrderedFolder belonging to it.
 OrderedFolder getOrderedFolder(String cabName)
          Returns the ordered folder assocated with the passed in cabinet name, if none is present null is returned.
 boolean hasCabinet(String cabName)
          Checks to see if a cabinet of the given name exists in the cabinet exists.
 void updateCabinetEntry(String cabName, OrderedFolder currFolder)
          Adds/updates an entry to the cabinet list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cabFolderMap

private Map cabFolderMap

cabList

List cabList
Constructor Detail

ContainerOrderedFolders

public ContainerOrderedFolders(WTContainerRef contRef)
                        throws WTException

ContainerOrderedFolders

public ContainerOrderedFolders(WTContainerRef contRef,
                               boolean doAcls)
                        throws WTException
Method Detail

hasCabinet

public boolean hasCabinet(String cabName)
Checks to see if a cabinet of the given name exists in the cabinet exists. Good to know for some pruning scenarios.


getCabinetNames

public String[] getCabinetNames()
Returns list of cabinets, each cabinet has an OrderedFolder belonging to it.


getOrderedFolder

public OrderedFolder getOrderedFolder(String cabName)
Returns the ordered folder assocated with the passed in cabinet name, if none is present null is returned.


updateCabinetEntry

public void updateCabinetEntry(String cabName,
                               OrderedFolder currFolder)
Adds/updates an entry to the cabinet list.


deleteCabinetEntry

public void deleteCabinetEntry(String cabName)

getAllOrderedFolders

public OrderedFolder[] getAllOrderedFolders()
This is most usefull for scenarios that do not involve comparing/pruning cabinet lists in different containers.