Package org.silverpeas.web.jobdomain
Class NavigationStock
- java.lang.Object
-
- org.silverpeas.web.jobdomain.NavigationStock
-
- Direct Known Subclasses:
DomainNavigationStock
,GroupNavigationStock
public class NavigationStock extends Object
This class manage the information needed for groups navigation and browsing. REQUIREMENT: the Group passed in the constructor MUST BE AGroupState.VALID
GROUP (with Id, etc...)- Author:
- t.leroi
-
-
Field Summary
Fields Modifier and Type Field Description protected AdminController
adminController
protected Group[]
subGroups
protected UserDetail[]
subUsers
protected UserState
userStateFilter
-
Constructor Summary
Constructors Constructor Description NavigationStock(AdminController adc)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Group[]
filterGroupsToGroupManager(List<String> manageableGroupIds, Group[] groups)
void
filterOnUserState(UserState userState)
Group[]
getGroupPage()
UserDetail[]
getUserPage()
boolean
isUserStateFiltered()
void
unsetFilterOnUserState()
-
-
-
Field Detail
-
subGroups
protected Group[] subGroups
-
subUsers
protected UserDetail[] subUsers
-
adminController
protected AdminController adminController
-
userStateFilter
protected UserState userStateFilter
-
-
Constructor Detail
-
NavigationStock
public NavigationStock(AdminController adc)
-
-
Method Detail
-
filterGroupsToGroupManager
public static Group[] filterGroupsToGroupManager(List<String> manageableGroupIds, Group[] groups)
-
filterOnUserState
public void filterOnUserState(UserState userState)
-
unsetFilterOnUserState
public void unsetFilterOnUserState()
-
isUserStateFiltered
public boolean isUserStateFiltered()
-
getUserPage
public final UserDetail[] getUserPage()
-
getGroupPage
public final Group[] getGroupPage()
-
-