com.waveset.ui
Class HierarchicalTable.HierContents
java.lang.Object
com.waveset.ui.HierarchicalTable.HierContents
- Enclosing class:
- HierarchicalTable
- public class HierarchicalTable.HierContents
- extends java.lang.Object
Get the administrators and organizations to display (end up with
folder and admin ArrayLists. 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 |
HierarchicalTable.HierContents
public HierarchicalTable.HierContents(ObjectGroup currentOrg,
java.util.ArrayList subordinateOrgs,
RepositoryResult currentUsers,
RepositoryResult currentAdministrators)
HierarchicalTable.HierContents
public HierarchicalTable.HierContents(ObjectGroup currentOrg,
java.util.ArrayList subordinateOrgs)
getSubordinateOrgs
public java.util.ArrayList getSubordinateOrgs()
setUserObjects
public void setUserObjects(RepositoryResult currentUsers)
setAdminObjects
public void setAdminObjects(RepositoryResult currentAdministrators)
getUserObjects
public RepositoryResult getUserObjects()
getAdminObjects
public RepositoryResult getAdminObjects()
getCurrentOrganization
public ObjectGroup getCurrentOrganization()