com.waveset.ui
Class HierarchicalResourceTable.HierContents

java.lang.Object
  extended bycom.waveset.ui.HierarchicalResourceTable.HierContents
Enclosing class:
HierarchicalResourceTable

public class HierarchicalResourceTable.HierContents
extends java.lang.Object

Get the resource types and resources to display (end up with folder and resource Lists. This falls into two cases: we are already navigating (id=folder), or we are starting out. If we are starting out, we want to get the "top" organizations. Because the administrator may not have view rights to the top, we get the "topmost" organizations she can view. Given that, there are two cases - one "topmost" directory or multiple ones. If there is only one topmost organization, we display the contents of that by hitting the repository for administrators and organizations that have "topmost" as their object group. If there are multiples, we make our own list from a session call that gets the topmost object groups.


Constructor Summary
HierarchicalResourceTable.HierContents(java.lang.String currentContainer, java.util.List subordinateContainers)
           
HierarchicalResourceTable.HierContents(java.lang.String currentContainer, java.util.List subordinateContainers, RepositoryResult currentResources)
           
 
Method Summary
 java.lang.String getCurrentContainer()
           
 RepositoryResult getResourceObjects()
           
 java.util.List getSubordinateContainers()
           
 void setResourceObjects(RepositoryResult currentResources)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HierarchicalResourceTable.HierContents

public HierarchicalResourceTable.HierContents(java.lang.String currentContainer,
                                              java.util.List subordinateContainers,
                                              RepositoryResult currentResources)

HierarchicalResourceTable.HierContents

public HierarchicalResourceTable.HierContents(java.lang.String currentContainer,
                                              java.util.List subordinateContainers)
Method Detail

getSubordinateContainers

public java.util.List getSubordinateContainers()

setResourceObjects

public void setResourceObjects(RepositoryResult currentResources)

getResourceObjects

public RepositoryResult getResourceObjects()

getCurrentContainer

public java.lang.String getCurrentContainer()