|
Nuxeo Enterprise Platform 5.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuxeo.ecm.platform.computedgroups.AbstractGroupComputer
org.nuxeo.cm.core.usermanager.CaseManagementGroupComputer
public class CaseManagementGroupComputer
Group computer for case management, adding mailboxes ids to the user virtual groups so that it can be used for permissions resolution.
| Field Summary | |
|---|---|
static ThreadLocal<Boolean> |
disableRetrieveMailboxes
|
| Constructor Summary | |
|---|---|
CaseManagementGroupComputer()
|
|
| Method Summary | |
|---|---|
List<String> |
getAllGroupIds()
Returns an empty list for efficiency |
List<String> |
getGroupMembers(String groupName)
|
List<String> |
getGroupsForUser(org.nuxeo.ecm.platform.usermanager.NuxeoPrincipalImpl nuxeoPrincipal)
Method called at startup to compute users groups, so returns an empty list when local thread is flagged. |
List<String> |
getParentsGroupNames(String groupName)
|
List<String> |
getSubGroupsNames(String groupName)
|
boolean |
hasGroup(String name)
Return false: no mailbox should be seen as a group |
List<String> |
searchGroups(Map<String,Serializable> filter,
HashSet<String> fulltext)
Returns an empty list as mailboxes are not searchable |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ThreadLocal<Boolean> disableRetrieveMailboxes
| Constructor Detail |
|---|
public CaseManagementGroupComputer()
| Method Detail |
|---|
public List<String> getAllGroupIds()
throws Exception
Exception
public List<String> searchGroups(Map<String,Serializable> filter,
HashSet<String> fulltext)
throws Exception
searchGroups in interface org.nuxeo.ecm.platform.computedgroups.GroupComputersearchGroups in class org.nuxeo.ecm.platform.computedgroups.AbstractGroupComputerException
public List<String> getGroupMembers(String groupName)
throws Exception
Exception
public List<String> getGroupsForUser(org.nuxeo.ecm.platform.usermanager.NuxeoPrincipalImpl nuxeoPrincipal)
throws Exception
Exception
public List<String> getParentsGroupNames(String groupName)
throws Exception
Exception
public List<String> getSubGroupsNames(String groupName)
throws Exception
Exception
public boolean hasGroup(String name)
throws Exception
hasGroup in interface org.nuxeo.ecm.platform.computedgroups.GroupComputerhasGroup in class org.nuxeo.ecm.platform.computedgroups.AbstractGroupComputerException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||