public class CaseManagementGroupComputer extends AbstractGroupComputer
Modifier and Type | Field and Description |
---|---|
static ThreadLocal<Boolean> |
disableRetrieveMailboxes |
Constructor and Description |
---|
CaseManagementGroupComputer() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAllGroupIds()
Returns an empty list for efficiency
|
List<String> |
getGroupMembers(String groupName)
Returns the members for a give group.
|
List<String> |
getGroupsForUser(NuxeoPrincipalImpl pal)
Method called at startup to compute users groups, so returns an empty
list when local thread is flagged.
|
List<String> |
getParentsGroupNames(String groupName)
Return parent groups.
|
List<String> |
getSubGroupsNames(String groupName)
Returns children groups.
|
boolean |
hasGroup(String name)
Return false: no mailbox should be seen as a group
|
List<String> |
searchGroups(Map<String,Serializable> filter,
Set<String> fulltext)
Returns an empty list as mailboxes are not searchable
|
public static final ThreadLocal<Boolean> disableRetrieveMailboxes
public List<String> getAllGroupIds() throws Exception
Exception
public List<String> searchGroups(Map<String,Serializable> filter, Set<String> fulltext) throws Exception
searchGroups
in interface GroupComputer
searchGroups
in class AbstractGroupComputer
Exception
public List<String> getGroupMembers(String groupName) throws Exception
GroupComputer
Exception
public List<String> getGroupsForUser(NuxeoPrincipalImpl pal) throws Exception
Exception
public List<String> getParentsGroupNames(String groupName) throws Exception
GroupComputer
Exception
public List<String> getSubGroupsNames(String groupName) throws Exception
GroupComputer
Exception
public boolean hasGroup(String name) throws Exception
hasGroup
in interface GroupComputer
hasGroup
in class AbstractGroupComputer
Exception
Copyright © 2013 Nuxeo SA. All Rights Reserved.