public class SuggestUserEntriesWithPermission extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.nuxeo.ecm.automation.OperationContext |
ctx |
protected org.nuxeo.ecm.directory.api.DirectoryService |
directoryService |
protected boolean |
displayEmailInSuggestion |
protected org.nuxeo.ecm.core.api.DocumentModel |
document |
protected String |
firstLabelField |
protected String |
groupRestriction |
protected boolean |
hideFirstLabel |
protected boolean |
hideIcon |
protected boolean |
hideSecondLabel |
protected boolean |
hideThirdLabel |
static String |
ID |
protected String |
lang |
protected String |
permission |
protected org.nuxeo.ecm.core.api.security.PermissionProvider |
permissionProvider |
protected String |
prefix |
protected org.nuxeo.ecm.core.schema.SchemaManager |
schemaManager |
protected String |
searchType |
protected String |
secondLabelField |
protected String |
thirdLabelField |
protected org.nuxeo.ecm.platform.usermanager.UserManager |
userManager |
protected Integer |
userSuggestionMaxSearchResults |
| Constructor and Description |
|---|
SuggestUserEntriesWithPermission() |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
getGroupsForPermission(org.nuxeo.ecm.core.api.DocumentModel document,
String permission) |
protected String |
getLang() |
protected Locale |
getLocale() |
boolean |
permissionMatch(String[] perms,
String perm) |
org.nuxeo.ecm.core.api.Blob |
run() |
public static final String ID
protected org.nuxeo.ecm.automation.OperationContext ctx
protected org.nuxeo.ecm.core.api.security.PermissionProvider permissionProvider
protected org.nuxeo.ecm.core.schema.SchemaManager schemaManager
protected String prefix
protected org.nuxeo.ecm.core.api.DocumentModel document
protected String permission
protected String searchType
protected String groupRestriction
protected Integer userSuggestionMaxSearchResults
protected String firstLabelField
protected String secondLabelField
protected String thirdLabelField
protected boolean hideFirstLabel
protected boolean hideSecondLabel
protected boolean hideThirdLabel
protected boolean displayEmailInSuggestion
protected boolean hideIcon
protected org.nuxeo.ecm.platform.usermanager.UserManager userManager
protected org.nuxeo.ecm.directory.api.DirectoryService directoryService
protected String lang
public org.nuxeo.ecm.core.api.Blob run()
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionprotected List<String> getGroupsForPermission(org.nuxeo.ecm.core.api.DocumentModel document, String permission)
document - permission - public boolean permissionMatch(String[] perms, String perm)
perms - perm - protected String getLang()
protected Locale getLocale()
Copyright © 2024. All rights reserved.