com.waveset.ui
Class HierarchicalResourceTable.HierContents
java.lang.Object
com.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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
getSubordinateContainers
public java.util.List getSubordinateContainers()
setResourceObjects
public void setResourceObjects(RepositoryResult currentResources)
getResourceObjects
public RepositoryResult getResourceObjects()
getCurrentContainer
public java.lang.String getCurrentContainer()