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
Exceptionpublic List<String> searchGroups(Map<String,Serializable> filter, Set<String> fulltext) throws Exception
searchGroups in interface GroupComputersearchGroups in class AbstractGroupComputerExceptionpublic List<String> getGroupMembers(String groupName) throws Exception
GroupComputerExceptionpublic List<String> getGroupsForUser(NuxeoPrincipalImpl pal) throws Exception
Exceptionpublic List<String> getParentsGroupNames(String groupName) throws Exception
GroupComputerExceptionpublic List<String> getSubGroupsNames(String groupName) throws Exception
GroupComputerExceptionpublic boolean hasGroup(String name) throws Exception
hasGroup in interface GroupComputerhasGroup in class AbstractGroupComputerExceptionCopyright © 2013 Nuxeo SA. All Rights Reserved.