@Name(value="shibbUserSuggestionWithGroupTree") @Scope(value=CONVERSATION) @Install(precedence=10) public class UserSuggestionWithGroupTreeActionsBean extends UserSuggestionActionsBean
UserSuggestionActionsBean
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected String |
shibbUserName |
cachedInput, cachedSuggestions, cachedUserSuggestionMaxSearchResults, cachedUserSuggestionSearchType, ENTRY_KEY_NAME, facesMessages, GROUP_TYPE, hideVirtualGroups, ID_KEY_NAME, PREFIXED_ID_KEY_NAME, resourcesAccessor, suggestionSelectionListId, TYPE_KEY_NAME, USER_TYPE, userManager, userSuggestionMaxSearchResults, userSuggestionMessageId, userSuggestionSearchType
Constructor and Description |
---|
UserSuggestionWithGroupTreeActionsBean() |
Modifier and Type | Method and Description |
---|---|
Boolean |
adviseNodeOpened(org.richfaces.component.UITree treeComponent)
Check if the node is open or not
|
protected void |
buildTree()
Build the tree with all groups (not virtual) / shibbGroup and merge them into a List of UserTreeNode to be
displayed
|
void |
forceShibUserValue(String newValue) |
protected List<DocumentModel> |
getGroups()
Get all groups (without virtual) and shibbGroups with the userManager bean
|
protected List<DocumentModel> |
getShibbGroups()
Get all shibboleth group with the Shibboleth Helper
|
String |
getShibbUserName() |
List<UserTreeNode> |
getTreeRoot() |
Map<String,Object> |
getUserInfo(String id) |
void |
refreshRoot() |
void |
setShibbUserName(String shibbUserName) |
addSearchOverflowMessage, equals, getGroupsOrderBy, getGroupsSuggestions, getPrefixedUserInfo, getSuggestions, getUserConverter, getUserSuggestions
protected String shibbUserName
public UserSuggestionWithGroupTreeActionsBean()
protected void buildTree()
protected List<DocumentModel> getGroups()
UserManagerImpl
protected List<DocumentModel> getShibbGroups()
ShibbolethGroupHelper
public Map<String,Object> getUserInfo(String id)
getUserInfo
in class UserSuggestionActionsBean
public void forceShibUserValue(String newValue)
public Boolean adviseNodeOpened(org.richfaces.component.UITree treeComponent)
public void refreshRoot()
public List<UserTreeNode> getTreeRoot()
public String getShibbUserName()
public void setShibbUserName(String shibbUserName)
Copyright © 2017 Nuxeo. All rights reserved.