wt.ixb.handlers.netmarkets
Class OrderedFolder
java.lang.Object
wt.ixb.handlers.netmarkets.OrderedFolder
- public class OrderedFolder
- extends Object
This class is a ocntainer to
store folders in depth first order.
This is important in that it arranges
for the proper import order for the folder structure.
_rb
private static final String _rb
depth
private int depth
rootPath
private String rootPath
rootMap
private Map rootMap
doAcls
private boolean doAcls
folderRolePermMap
private Map folderRolePermMap
domRef
private AdminDomainRef domRef
OrderedFolder
public OrderedFolder(Folder topFolder,
String rootPath)
throws WTException
OrderedFolder
public OrderedFolder(Folder topFolder)
throws WTException
OrderedFolder
public OrderedFolder(Folder topFolder,
boolean doAcls)
throws WTException
OrderedFolder
public OrderedFolder(Folder topFolder,
String rootPath,
boolean doAcls)
throws WTException
- Deprecated. use OrderedFolder(Folder topFolder, boolean doAcls) instead
getDomainRef
public AdminDomainRef getDomainRef()
getDepth
public int getDepth()
getFolderPaths
public List getFolderPaths(int depth)
removeFolderPath
public void removeFolderPath(int depth,
String path)
hasFolderPath
public boolean hasFolderPath(int depth,
String path)
addFolderPath
public void addFolderPath(int depth,
String path)
getRootPath
public String getRootPath()
getRolePermissionMap
public RolePermissionMap[] getRolePermissionMap(String subFolder)
initialize
private void initialize(Folder currFolder,
int currDepth)
throws WTException
- caler knows the depth. we are going down
many times so see whether the passed in depth is
greater than the current depth.
- Throws:
WTException
toString
public String toString()
trimLocation
private String trimLocation(String fullPath)
doAcls
private void doAcls(Folder folder,
String pathName)
throws WTException
- We only keep track of the grant permission list.
For the project team we find all the roles, and
then for each role we find a member, and find its permisisonlist.
subFolderName -->role -->grantPermissions
- Throws:
WTException