Uses of Interface
org.nuxeo.ecm.core.api.NuxeoPrincipal
-
-
Uses of NuxeoPrincipal in org.nuxeo.drive.adapter.impl
Fields in org.nuxeo.drive.adapter.impl declared as NuxeoPrincipal Modifier and Type Field Description protected NuxeoPrincipalAbstractFileSystemItem. principalConstructors in org.nuxeo.drive.adapter.impl with parameters of type NuxeoPrincipal Constructor Description AbstractFileSystemItem(String factoryName, NuxeoPrincipal principal, boolean relaxSyncRootConstraint)AbstractVirtualFolderItem(String factoryName, NuxeoPrincipal principal, String parentId, String parentPath, String folderName)DefaultTopLevelFolderItem(String factoryName, NuxeoPrincipal principal, String folderName) -
Uses of NuxeoPrincipal in org.nuxeo.drive.hierarchy.permission.adapter
Constructors in org.nuxeo.drive.hierarchy.permission.adapter with parameters of type NuxeoPrincipal Constructor Description PermissionTopLevelFolderItem(String factoryName, NuxeoPrincipal principal, String folderName, List<String> childrenFactoryNames)SharedSyncRootParentFolderItem(String factoryName, NuxeoPrincipal principal, String parentId, String parentPath, String folderName) -
Uses of NuxeoPrincipal in org.nuxeo.drive.hierarchy.permission.factory
Methods in org.nuxeo.drive.hierarchy.permission.factory with parameters of type NuxeoPrincipal Modifier and Type Method Description FolderItemPermissionTopLevelFactory. getTopLevelFolderItem(NuxeoPrincipal principal)protected FolderItemUserSyncRootParentFactory. getTopLevelFolderItem(NuxeoPrincipal principal)FolderItemPermissionTopLevelFactory. getVirtualFolderItem(NuxeoPrincipal principal)FolderItemSharedSyncRootParentFactory. getVirtualFolderItem(NuxeoPrincipal principal)FolderItemUserSyncRootParentFactory. getVirtualFolderItem(NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.drive.hierarchy.userworkspace.adapter
Constructors in org.nuxeo.drive.hierarchy.userworkspace.adapter with parameters of type NuxeoPrincipal Constructor Description UserWorkspaceSyncRootParentFolderItem(String factoryName, NuxeoPrincipal principal, String parentId, String parentPath, String folderName) -
Uses of NuxeoPrincipal in org.nuxeo.drive.hierarchy.userworkspace.factory
Methods in org.nuxeo.drive.hierarchy.userworkspace.factory with parameters of type NuxeoPrincipal Modifier and Type Method Description FolderItemUserWorkspaceTopLevelFactory. getTopLevelFolderItem(NuxeoPrincipal principal)FolderItemUserWorkspaceSyncRootParentFactory. getVirtualFolderItem(NuxeoPrincipal principal)FolderItemUserWorkspaceTopLevelFactory. getVirtualFolderItem(NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.drive.listener
Methods in org.nuxeo.drive.listener with parameters of type NuxeoPrincipal Modifier and Type Method Description protected voidNuxeoDriveFileSystemDeletionListener. fireVirtualEventLogEntries(DocumentModel doc, String eventName, NuxeoPrincipal principal, String impactedUserName, CoreSession session) -
Uses of NuxeoPrincipal in org.nuxeo.drive.service
Methods in org.nuxeo.drive.service with parameters of type NuxeoPrincipal Modifier and Type Method Description booleanFileSystemItemManager. canMove(String srcId, String destId, NuxeoPrincipal principal)Return true if theFileSystemItemwith the given source id can be moved to theFileSystemItemwith the given destination id for the given principal.default FileItemFileSystemItemManager. createFile(String parentId, Blob blob, NuxeoPrincipal principal)Deprecated.since 9.1, useFileSystemItemManager.createFile(String, Blob, NuxeoPrincipal, boolean)insteadFileItemFileSystemItemManager. createFile(String parentId, Blob blob, NuxeoPrincipal principal, boolean overwrite)Creates a file with the given blob in theFileSystemItemwith the given id for the given principal.default FolderItemFileSystemItemManager. createFolder(String parentId, String name, NuxeoPrincipal principal)Deprecated.since 9.1, useFileSystemItemManager.createFolder(String, String, NuxeoPrincipal, boolean)insteadFolderItemFileSystemItemManager. createFolder(String parentId, String name, NuxeoPrincipal principal, boolean overwrite)Creates a folder with the given name in theFileSystemItemwith the given id for the given principal.voidFileSystemItemManager. delete(String id, String parentId, NuxeoPrincipal principal)Deletes theFileSystemItemwith the given id and parent id for the given principal.voidFileSystemItemManager. delete(String id, NuxeoPrincipal principal)Deletes theFileSystemItemwith the given id for the given principal.booleanFileSystemItemFactory. exists(String id, NuxeoPrincipal principal)Returns true if aFileSystemItemwith the given id exists for the given principal.booleanFileSystemItemManager. exists(String id, NuxeoPrincipal principal)Returns true if aFileSystemItemwith the given id exists for the given principal.FileSystemChangeSummaryNuxeoDriveManager. getChangeSummary(NuxeoPrincipal principal, Map<String,Set<IdRef>> lastSyncRootRefs, long lowerBound)Gets a summary of document changes in all repositories for the given user's synchronization roots, from the lower bound sent by the user's device.List<FileSystemItem>FileSystemItemManager. getChildren(String id, NuxeoPrincipal principal)Gets the children of theFileSystemItemwith the given id for the given principal.Map<String,Set<String>>NuxeoDriveManager. getCollectionSyncRootMemberIds(NuxeoPrincipal principal)Fetch all the collection sync root member ids for a given user.FileSystemItemFileSystemItemFactory. getFileSystemItemById(String id, String parentId, NuxeoPrincipal principal)Gets theFileSystemItemwith the given id and parent id using a core session fetched with the given principal.FileSystemItemFileSystemItemFactory. getFileSystemItemById(String id, NuxeoPrincipal principal)Gets theFileSystemItemwith the given id using a core session fetched with the given principal.FileSystemItemFileSystemItemManager. getFileSystemItemById(String id, String parentId, NuxeoPrincipal principal)Gets theFileSystemItemwith the given id and parent id for the given principal.FileSystemItemFileSystemItemManager. getFileSystemItemById(String id, NuxeoPrincipal principal)Gets theFileSystemItemwith the given id for the given principal.Map<String,SynchronizationRoots>NuxeoDriveManager. getSynchronizationRoots(NuxeoPrincipal principal)Fetch all the synchronization root references and paths for a given user.FolderItemFileSystemItemManager. getTopLevelFolder(NuxeoPrincipal principal)Gets the top levelFolderItemfor the given principal.FolderItemTopLevelFolderItemFactory. getTopLevelFolderItem(NuxeoPrincipal principal)FolderItemVirtualFolderItemFactory. getVirtualFolderItem(NuxeoPrincipal principal)Returns the (unique) virtualFolderItem.booleanNuxeoDriveManager. isSynchronizationRoot(NuxeoPrincipal principal, DocumentModel doc)Checks if the givenDocumentModelis a synchronization root for the given user.FileSystemItemFileSystemItemManager. move(String srcId, String destId, NuxeoPrincipal principal)Moves theFileSystemItemwith the given source id to theFileSystemItemwith the given destination id for the given principal.voidNuxeoDriveManager. registerSynchronizationRoot(NuxeoPrincipal principal, DocumentModel newRootContainer, CoreSession session)FileSystemItemFileSystemItemManager. rename(String id, String name, NuxeoPrincipal principal)Renames theFileSystemItemwith the given id with the given name for the given principal.ScrollFileSystemItemListFileSystemItemManager. scrollDescendants(String id, NuxeoPrincipal principal, String scrollId, int batchSize, long keepAlive)Retrieves at mostbatchSizedescendants of theFolderItemwith the givenidfor the givenprincipaland the givenscrollId.voidNuxeoDriveManager. unregisterSynchronizationRoot(NuxeoPrincipal principal, DocumentModel rootContainer, CoreSession session)FileItemFileSystemItemManager. updateFile(String id, String parentId, Blob blob, NuxeoPrincipal principal)Updates theFileSystemItemwith the given id and parent id with the given blob for the given principal.FileItemFileSystemItemManager. updateFile(String id, Blob blob, NuxeoPrincipal principal)Updates theFileSystemItemwith the given id with the given blob for the given principal. -
Uses of NuxeoPrincipal in org.nuxeo.drive.service.impl
Methods in org.nuxeo.drive.service.impl with parameters of type NuxeoPrincipal Modifier and Type Method Description booleanFileSystemItemManagerImpl. canMove(String srcId, String destId, NuxeoPrincipal principal)protected Map<String,Set<String>>NuxeoDriveManagerImpl. computeCollectionSyncRootMemberIds(NuxeoPrincipal principal)protected Map<String,SynchronizationRoots>NuxeoDriveManagerImpl. computeSynchronizationRoots(String query, NuxeoPrincipal principal)FileItemFileSystemItemManagerImpl. createFile(String parentId, Blob blob, NuxeoPrincipal principal, boolean overwrite)FolderItemFileSystemItemManagerImpl. createFolder(String parentId, String name, NuxeoPrincipal principal, boolean overwrite)voidFileSystemItemManagerImpl. delete(String id, String parentId, NuxeoPrincipal principal)voidFileSystemItemManagerImpl. delete(String id, NuxeoPrincipal principal)booleanAbstractFileSystemItemFactory. exists(String id, NuxeoPrincipal principal)The default factory considers that aFileSystemItemwith the given id exists if the backingDocumentModelcan be fetched andAbstractFileSystemItemFactory.isFileSystemItem(DocumentModel)returns true.booleanAbstractVirtualFolderItemFactory. exists(String id, NuxeoPrincipal principal)booleanFileSystemItemManagerImpl. exists(String id, NuxeoPrincipal principal)FileSystemChangeSummaryNuxeoDriveManagerImpl. getChangeSummary(NuxeoPrincipal principal, Map<String,Set<IdRef>> lastSyncRootRefs, long lowerBound)Uses theAuditChangeFinderto get the summary of document changes for the given user and lower bound.List<FileSystemItem>FileSystemItemManagerImpl. getChildren(String id, NuxeoPrincipal principal)Map<String,Set<String>>NuxeoDriveManagerImpl. getCollectionSyncRootMemberIds(NuxeoPrincipal principal)FileSystemItemAbstractFileSystemItemFactory. getFileSystemItemById(String id, String parentId, NuxeoPrincipal principal)FileSystemItemAbstractFileSystemItemFactory. getFileSystemItemById(String id, NuxeoPrincipal principal)FileSystemItemAbstractVirtualFolderItemFactory. getFileSystemItemById(String id, String parentId, NuxeoPrincipal principal)FileSystemItemAbstractVirtualFolderItemFactory. getFileSystemItemById(String id, NuxeoPrincipal principal)FileSystemItemFileSystemItemManagerImpl. getFileSystemItemById(String id, String parentId, NuxeoPrincipal principal)FileSystemItemFileSystemItemManagerImpl. getFileSystemItemById(String id, NuxeoPrincipal principal)Map<String,SynchronizationRoots>NuxeoDriveManagerImpl. getSynchronizationRoots(NuxeoPrincipal principal)FolderItemFileSystemItemManagerImpl. getTopLevelFolder(NuxeoPrincipal principal)FolderItemDefaultTopLevelFolderItemFactory. getTopLevelFolderItem(NuxeoPrincipal principal)FolderItemDefaultTopLevelFolderItemFactory. getVirtualFolderItem(NuxeoPrincipal principal)booleanNuxeoDriveManagerImpl. isSynchronizationRoot(NuxeoPrincipal principal, DocumentModel doc)FileSystemItemFileSystemItemManagerImpl. move(String srcId, String destId, NuxeoPrincipal principal)voidNuxeoDriveManagerImpl. registerSynchronizationRoot(NuxeoPrincipal principal, DocumentModel newRootContainer, CoreSession session)FileSystemItemFileSystemItemManagerImpl. rename(String id, String name, NuxeoPrincipal principal)ScrollFileSystemItemListFileSystemItemManagerImpl. scrollDescendants(String id, NuxeoPrincipal principal, String scrollId, int batchSize, long keepAlive)voidNuxeoDriveManagerImpl. unregisterSynchronizationRoot(NuxeoPrincipal principal, DocumentModel rootContainer, CoreSession session)FileItemFileSystemItemManagerImpl. updateFile(String id, String parentId, Blob blob, NuxeoPrincipal principal)FileItemFileSystemItemManagerImpl. updateFile(String id, Blob blob, NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.duoweb.authentication
Methods in org.nuxeo.duoweb.authentication that return NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipalDuoFactorsAuthenticator. createIdentity(String username)protected NuxeoPrincipalDuoFactorsAuthenticator. validateUserIdentity() -
Uses of NuxeoPrincipal in org.nuxeo.ecm.automation
Methods in org.nuxeo.ecm.automation that return NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipalOperationContext. getPrincipal() -
Uses of NuxeoPrincipal in org.nuxeo.ecm.automation.core.operations.services
Methods in org.nuxeo.ecm.automation.core.operations.services with parameters of type NuxeoPrincipal Modifier and Type Method Description StringUserInvite. run(NuxeoPrincipal user) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.automation.core.scripting
Fields in org.nuxeo.ecm.automation.core.scripting declared as NuxeoPrincipal Modifier and Type Field Description protected NuxeoPrincipalPrincipalWrapper. principalMethods in org.nuxeo.ecm.automation.core.scripting that return NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipalPrincipalWrapper. getPrincipal()Constructors in org.nuxeo.ecm.automation.core.scripting with parameters of type NuxeoPrincipal Constructor Description PrincipalWrapper(NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.automation.features
Methods in org.nuxeo.ecm.automation.features that return NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipalPlatformFunctions. getPrincipal(String username)NuxeoPrincipalPlatformFunctions. getPrincipal(String username, boolean fetchReferences)Methods in org.nuxeo.ecm.automation.features that return types with arguments of type NuxeoPrincipal Modifier and Type Method Description Set<NuxeoPrincipal>PrincipalHelper. getPrincipalsForPermission(DocumentModel input, String permission, boolean ignoreGroups, boolean resolveGroups)Set<NuxeoPrincipal>PlatformFunctions. getPrincipalsFromGroup(String group)Set<NuxeoPrincipal>PlatformFunctions. getPrincipalsFromGroup(String group, boolean ignoreGroups)Set<NuxeoPrincipal>PrincipalHelper. getPrincipalsFromGroup(String groupId, boolean resolveGroups)Methods in org.nuxeo.ecm.automation.features with parameters of type NuxeoPrincipal Modifier and Type Method Description voidPrincipalHelper.EmailCollector. collect(NuxeoPrincipal principal)protected StringPlatformFunctions. getEmail(NuxeoPrincipal principal, String userSchemaName, String userEmailFieldName)Method parameters in org.nuxeo.ecm.automation.features with type arguments of type NuxeoPrincipal Modifier and Type Method Description StringListPlatformFunctions. getPrincipalEmails(List<NuxeoPrincipal> principals) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.api
Classes in org.nuxeo.ecm.core.api that implement NuxeoPrincipal Modifier and Type Class Description classSystemPrincipalMethods in org.nuxeo.ecm.core.api that return NuxeoPrincipal Modifier and Type Method Description static NuxeoPrincipalNuxeoPrincipal. getCurrent()Returns the current logged inNuxeoPrincipal.protected static NuxeoPrincipalCoreInstance. getPrincipal(String username)NuxeoPrincipalCoreSession. getPrincipal()Gets the principal that created the client session.NuxeoPrincipalDocumentModel. getPrincipal()Gets the principal attached to this document's session.Methods in org.nuxeo.ecm.core.api with parameters of type NuxeoPrincipal Modifier and Type Method Description CloseableCoreSessionCoreSessionService. createCoreSession(String repositoryName, NuxeoPrincipal principal)Instantiates aCoreSession.CloseableCoreSessionCoreSessionServiceImpl. createCoreSession(String repositoryName, NuxeoPrincipal principal)Collection<String>AbstractSession. filterGrantedPermissions(NuxeoPrincipal principal, DocumentRef docRef, Collection<String> permissions)Collection<String>CoreSession. filterGrantedPermissions(NuxeoPrincipal principal, DocumentRef docRef, Collection<String> permissions)Filters the supplied permissions based on whether they are granted to a given principal for a given document.static CoreSessionCoreInstance. getCoreSession(String repositoryName, NuxeoPrincipal principal)Gets aCoreSessionfor the given principal.booleanAbstractSession. hasPermission(NuxeoPrincipal principal, DocumentRef docRef, String permission)protected booleanAbstractSession. hasPermission(NuxeoPrincipal principal, Document doc, String permission)booleanCoreSession. hasPermission(NuxeoPrincipal principal, DocumentRef docRef, String permission)Checks if a given principal has the given privilege on the referred document.static CloseableCoreSessionCoreInstance. openCoreSession(String repositoryName, NuxeoPrincipal principal)Deprecated.since 11.1, useCoreInstance.getCoreSession(String, NuxeoPrincipal)insteadConstructors in org.nuxeo.ecm.core.api with parameters of type NuxeoPrincipal Constructor Description InstanceRef(DocumentModel doc, NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.api.impl
Classes in org.nuxeo.ecm.core.api.impl that implement NuxeoPrincipal Modifier and Type Class Description classUserPrincipalNuxeoPrincipal stub implementation.Fields in org.nuxeo.ecm.core.api.impl declared as NuxeoPrincipal Modifier and Type Field Description protected NuxeoPrincipalDocumentModelImpl. principalMethods in org.nuxeo.ecm.core.api.impl that return NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipalDocumentModelImpl. getPrincipal()NuxeoPrincipalSimpleDocumentModel. getPrincipal()Constructors in org.nuxeo.ecm.core.api.impl with parameters of type NuxeoPrincipal Constructor Description DocumentModelImpl(String type, String id, Path path, DocumentRef docRef, DocumentRef parentRef, String[] schemas, Set<String> facets, String sourceId, boolean isProxy, CoreSession coreSession, String repositoryName, NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.api.local
Fields in org.nuxeo.ecm.core.api.local declared as NuxeoPrincipal Modifier and Type Field Description protected NuxeoPrincipalLocalSession. principalMethods in org.nuxeo.ecm.core.api.local that return NuxeoPrincipal Modifier and Type Method Description static NuxeoPrincipalClientLoginModule. getCurrentPrincipal()Deprecated.since 11.1, usegetCurrent()insteadNuxeoPrincipalLocalSession. getPrincipal()Constructors in org.nuxeo.ecm.core.api.local with parameters of type NuxeoPrincipal Constructor Description LocalSession(String repositoryName, NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.api.trash
Methods in org.nuxeo.ecm.core.api.trash with parameters of type NuxeoPrincipal Modifier and Type Method Description booleanTrashService. canPurgeOrUntrash(List<DocumentModel> docs, NuxeoPrincipal principal)Are all documents purgeable/undeletable?default booleanTrashService. canPurgeOrUntrash(DocumentModel doc, NuxeoPrincipal principal)Is document purgeable/untrashable?DocumentModelTrashService. getAboveDocument(DocumentModel doc, NuxeoPrincipal principal)Gets the first non trashed ancestor. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.event
Methods in org.nuxeo.ecm.core.event that return NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipalEventContext. getPrincipal()Gets the current principal.Methods in org.nuxeo.ecm.core.event with parameters of type NuxeoPrincipal Modifier and Type Method Description voidEventContext. setPrincipal(NuxeoPrincipal principal)Sets the principal. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.event.impl
Fields in org.nuxeo.ecm.core.event.impl declared as NuxeoPrincipal Modifier and Type Field Description protected NuxeoPrincipalEventContextImpl. principalMethods in org.nuxeo.ecm.core.event.impl that return NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipalEventContextImpl. getPrincipal()NuxeoPrincipalShallowDocumentModel. getPrincipal()Methods in org.nuxeo.ecm.core.event.impl with parameters of type NuxeoPrincipal Modifier and Type Method Description voidEventContextImpl. setPrincipal(NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.io.download
Methods in org.nuxeo.ecm.core.io.download that return NuxeoPrincipal Modifier and Type Method Description protected static NuxeoPrincipalDownloadServiceImpl. getPrincipal() -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.model
Methods in org.nuxeo.ecm.core.model with parameters of type NuxeoPrincipal Modifier and Type Method Description static booleanBaseSession. canDeleteUndeletable(NuxeoPrincipal principal)Can undeletable documents be deleted.voidDocument. remove(NuxeoPrincipal principal)Removes this document and all its children, if any. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.opencmis.impl.server
Methods in org.nuxeo.ecm.core.opencmis.impl.server with parameters of type NuxeoPrincipal Modifier and Type Method Description protected StringCMISQLQueryMaker. applySecurityPolicyQueryTransformers(NuxeoCmisService service, NuxeoPrincipal principal, String statement)Applies security policies query transformers to the statement, if possible. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.query
Fields in org.nuxeo.ecm.core.query declared as NuxeoPrincipal Modifier and Type Field Description protected NuxeoPrincipalQueryFilter. principalMethods in org.nuxeo.ecm.core.query that return NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipalQueryFilter. getPrincipal()Constructors in org.nuxeo.ecm.core.query with parameters of type NuxeoPrincipal Constructor Description QueryFilter(NuxeoPrincipal principal, String[] principals, String[] permissions, FacetFilter facetFilter, Collection<SQLQuery.Transformer> queryTransformers, long limit, long offset)Constructs a query filter. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.query.sql.model
Methods in org.nuxeo.ecm.core.query.sql.model with parameters of type NuxeoPrincipal Modifier and Type Method Description SQLQuerySQLQuery.IdentityTransformer. transform(NuxeoPrincipal principal, SQLQuery query)SQLQuerySQLQuery.Transformer. transform(NuxeoPrincipal principal, SQLQuery query) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.security
Methods in org.nuxeo.ecm.core.security with parameters of type NuxeoPrincipal Modifier and Type Method Description AccessCheckInSecurityPolicy. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals)AccessLockSecurityPolicy. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals)AccessRetentionAndHoldSecurityPolicy. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals)AccessSecurityPolicy. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals)Checks given permission for doc and principal.AccessSecurityPolicyService. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] principalsToCheck)Checks given permission for doc and principal.AccessSecurityPolicyServiceImpl. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals)booleanSecurityService. checkPermission(Document doc, NuxeoPrincipal principal, String permission)Collection<String>SecurityService. filterGrantedPermissions(Document doc, NuxeoPrincipal principal, Collection<String> permissions)Filters the supplied permissions based on whether they are granted to a given principal for a given document.static String[]SecurityService. getPrincipalsToCheck(NuxeoPrincipal principal)StringSecurityPolicy.IdentityQueryTransformer. transform(NuxeoPrincipal principal, String query)StringSecurityPolicy.QueryTransformer. transform(NuxeoPrincipal principal, String query)Transforms a query into another query that has the security policy applied. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.storage.dbs
Methods in org.nuxeo.ecm.core.storage.dbs with parameters of type NuxeoPrincipal Modifier and Type Method Description voidDBSDocument. remove(NuxeoPrincipal principal)protected voidDBSSession. remove(String rootId, NuxeoPrincipal principal)Removes a document. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.storage.sql.coremodel
Methods in org.nuxeo.ecm.core.storage.sql.coremodel with parameters of type NuxeoPrincipal Modifier and Type Method Description voidSQLDocumentLive. remove(NuxeoPrincipal principal)voidSQLDocumentProxy. remove(NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.storage.sql.security
Methods in org.nuxeo.ecm.core.storage.sql.security with parameters of type NuxeoPrincipal Modifier and Type Method Description AccessNoFileSecurityPolicy. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals)SQLQueryNoFile2SecurityPolicy.NoFileTransformer. transform(NuxeoPrincipal principal, SQLQuery query) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.trash
Methods in org.nuxeo.ecm.core.trash with parameters of type NuxeoPrincipal Modifier and Type Method Description booleanAbstractTrashService. canDelete(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies)booleanTrashService. canDelete(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies)Deprecated.since 10.1 only used in JSF part, no replacementdefault booleanTrashService. canPurgeOrUndelete(List<DocumentModel> docs, NuxeoPrincipal principal)Deprecated.since 10.1, useTrashService.canPurgeOrUntrash(List, NuxeoPrincipal)booleanAbstractTrashService. canPurgeOrUntrash(List<DocumentModel> docs, NuxeoPrincipal principal)DocumentModelAbstractTrashService. getAboveDocument(DocumentModel doc, NuxeoPrincipal principal)protected TrashInfoAbstractTrashService. getInfo(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies, boolean checkDeleted)TrashInfoAbstractTrashService. getTrashInfo(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies, boolean checkDeleted)TrashInfoTrashService. getTrashInfo(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies, boolean checkDeleted)Deprecated.since 10.1 only used in JSF part, no replacement -
Uses of NuxeoPrincipal in org.nuxeo.ecm.multi.tenant
Classes in org.nuxeo.ecm.multi.tenant that implement NuxeoPrincipal Modifier and Type Class Description classMultiTenantPrincipalMethods in org.nuxeo.ecm.multi.tenant that return NuxeoPrincipal Modifier and Type Method Description protected NuxeoPrincipalMultiTenantUserManager. makePrincipal(DocumentModel userEntry, boolean anonymous, List<String> groups) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.permissions
Methods in org.nuxeo.ecm.permissions with parameters of type NuxeoPrincipal Modifier and Type Method Description static StringPermissionGrantedNotificationListener. principalFullName(NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.actions
Fields in org.nuxeo.ecm.platform.actions declared as NuxeoPrincipal Modifier and Type Field Description protected NuxeoPrincipalAbstractActionContext. currentPrincipalMethods in org.nuxeo.ecm.platform.actions that return NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipalAbstractActionContext. getCurrentPrincipal()NuxeoPrincipalActionContext. getCurrentPrincipal()Returns the current principal to use for filter evaluationMethods in org.nuxeo.ecm.platform.actions with parameters of type NuxeoPrincipal Modifier and Type Method Description voidAbstractActionContext. setCurrentPrincipal(NuxeoPrincipal currentPrincipal)voidActionContext. setCurrentPrincipal(NuxeoPrincipal currentPrincipal)Sets the current principal to use for filter evaluation -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.audit.provider
Methods in org.nuxeo.ecm.platform.audit.provider with parameters of type NuxeoPrincipal Modifier and Type Method Description protected booleanLatestCreatedUsersOrGroupsPageProvider. canSearchUsersAndGroups(NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.comment.impl
Methods in org.nuxeo.ecm.platform.comment.impl that return NuxeoPrincipal Modifier and Type Method Description protected NuxeoPrincipalAbstractCommentManager. getAuthor(DocumentModel docModel)Methods in org.nuxeo.ecm.platform.comment.impl with parameters of type NuxeoPrincipal Modifier and Type Method Description protected voidTreeCommentManager. subscribeToNotifications(DocumentModel document, NuxeoPrincipal user)Subscribes a user to notifications on the document. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.computedgroups
Methods in org.nuxeo.ecm.platform.computedgroups that return NuxeoPrincipal Modifier and Type Method Description protected NuxeoPrincipalUserManagerWithComputedGroups. makePrincipal(DocumentModel userEntry, boolean anonymous, List<String> groups) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.ec.notification.service
Methods in org.nuxeo.ecm.platform.ec.notification.service with parameters of type NuxeoPrincipal Modifier and Type Method Description voidNotificationService. addSubscription(String username, String notification, DocumentModel doc, Boolean sendConfirmationEmail, NuxeoPrincipal principal, String notificationName)voidNotificationService. addSubscriptions(String username, DocumentModel doc, Boolean sendConfirmationEmail, NuxeoPrincipal principal)voidNotificationService. sendDocumentByMail(DocumentModel doc, String freemarkerTemplateName, String subject, String comment, NuxeoPrincipal sender, List<String> sendTo) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.filemanager.api
Methods in org.nuxeo.ecm.platform.filemanager.api with parameters of type NuxeoPrincipal Modifier and Type Method Description List<DocumentLocation>FileManager. findExistingDocumentWithFile(CoreSession documentManager, String path, String digest, NuxeoPrincipal principal)DocumentModelListFileManager. getCreationContainers(NuxeoPrincipal principal, String docType)Returns the list of document that are to be suggested to principalName as a candidate container for a new document of type docType on all registered repositories. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.filemanager.core.listener
Methods in org.nuxeo.ecm.platform.filemanager.core.listener with parameters of type NuxeoPrincipal Modifier and Type Method Description protected abstract voidAbstractUnicityChecker. onDuplicatedDoc(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs, Event event)protected voidAsynchronousUnicityCheckListener. onDuplicatedDoc(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs, Event event)protected voidSynchronousUnicityCheckListener. onDuplicatedDoc(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs, Event event)protected voidAbstractUnicityChecker. raiseDuplicatedFileEvent(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.filemanager.service
Methods in org.nuxeo.ecm.platform.filemanager.service with parameters of type NuxeoPrincipal Modifier and Type Method Description List<DocumentLocation>FileManagerService. findExistingDocumentWithFile(CoreSession documentManager, String path, String digest, NuxeoPrincipal principal)DocumentModelListFileManagerService. getCreationContainers(NuxeoPrincipal principal, String docType) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.mail.security
Methods in org.nuxeo.ecm.platform.mail.security with parameters of type NuxeoPrincipal Modifier and Type Method Description AccessMailMessageSecurityPolicy. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.notification.api
Methods in org.nuxeo.ecm.platform.notification.api with parameters of type NuxeoPrincipal Modifier and Type Method Description voidNotificationManager. addSubscription(String username, String notification, DocumentModel doc, Boolean sendConfirmationEmail, NuxeoPrincipal principal, String notificationName)Called when a user subscribes to a notification.voidNotificationManager. addSubscriptions(String username, DocumentModel doc, Boolean sendConfirmationEmail, NuxeoPrincipal principal)voidNotificationManager. sendDocumentByMail(DocumentModel doc, String freemarkerTemplateName, String subject, String comment, NuxeoPrincipal sender, List<String> sendTo)Sends an e-mail directly. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.oauth2.clients
Methods in org.nuxeo.ecm.platform.oauth2.clients with parameters of type NuxeoPrincipal Modifier and Type Method Description protected voidOAuth2ClientServiceImpl. checkPermission(NuxeoPrincipal principal)OAuth2ClientOAuth2ClientService. create(OAuth2Client oAuth2Client, NuxeoPrincipal principal)Registers a new oAuth2 client as the given principal.OAuth2ClientOAuth2ClientServiceImpl. create(OAuth2Client oAuth2Client, NuxeoPrincipal principal)voidOAuth2ClientService. delete(String clientId, NuxeoPrincipal principal)Deletes an oAuth2 client as the given principal.voidOAuth2ClientServiceImpl. delete(String clientId, NuxeoPrincipal principal)protected <T> TOAuth2ClientServiceImpl. execute(Function<Session,T> function, NuxeoPrincipal principal)OAuth2ClientOAuth2ClientService. update(String clientId, OAuth2Client oAuth2Client, NuxeoPrincipal principal)Updates an exiting oAuth2 client as the given principal.OAuth2ClientOAuth2ClientServiceImpl. update(String clientId, OAuth2Client oAuth2Client, NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.oauth2.tokens
Methods in org.nuxeo.ecm.platform.oauth2.tokens with parameters of type NuxeoPrincipal Modifier and Type Method Description protected voidOAuth2TokenServiceImpl. checkPermission(NuxeoPrincipal principal)protected List<NuxeoOAuth2Token>OAuth2TokenServiceImpl. findTokens(QueryBuilder queryBuilder, NuxeoPrincipal principal)List<NuxeoOAuth2Token>OAuth2TokenService. getTokens(NuxeoPrincipal principal)Gets the oAuth2 tokens as the given principal.List<NuxeoOAuth2Token>OAuth2TokenService. getTokens(NuxeoOAuth2TokenType type, NuxeoPrincipal principal)Gets the oAuth2 tokens for a given type as the given principal.List<NuxeoOAuth2Token>OAuth2TokenServiceImpl. getTokens(NuxeoPrincipal principal)List<NuxeoOAuth2Token>OAuth2TokenServiceImpl. getTokens(NuxeoOAuth2TokenType type, NuxeoPrincipal principal)List<NuxeoOAuth2Token>OAuth2TokenService. search(String query, NuxeoPrincipal principal)Finds the oAuth2 tokens that match the givenqueryas the given principal.List<NuxeoOAuth2Token>OAuth2TokenServiceImpl. search(String query, NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.publisher.task
Fields in org.nuxeo.ecm.platform.publisher.task declared as NuxeoPrincipal Modifier and Type Field Description protected NuxeoPrincipalCoreProxyWithWorkflowFactory.DocumentPublisherUnrestricted. principalMethods in org.nuxeo.ecm.platform.publisher.task with parameters of type NuxeoPrincipal Modifier and Type Method Description protected voidCoreProxyWithWorkflowFactory. createTask(DocumentModel document, CoreSession session, NuxeoPrincipal principal)protected voidCoreProxyWithWorkflowFactory. endTask(DocumentModel document, NuxeoPrincipal currentUser, CoreSession session, String comment, PublishingEvent event)protected booleanCoreProxyWithWorkflowFactory. hasValidationTask(DocumentModel proxy, NuxeoPrincipal currentUser)protected booleanCoreProxyWithWorkflowFactory. isValidator(DocumentModel document, NuxeoPrincipal principal)protected voidCoreProxyWithWorkflowFactory. restrictPermission(DocumentModel newProxy, NuxeoPrincipal principal, CoreSession coreSession, ACL acl)Constructors in org.nuxeo.ecm.platform.publisher.task with parameters of type NuxeoPrincipal Constructor Description ChangePermissionUnrestricted(CoreSession session, DocumentModel document, String[] validators, NuxeoPrincipal principal, String aclName, ACL acl)DocumentPublisherUnrestricted(CoreSession session, DocumentRef docRef, DocumentRef targetRef, NuxeoPrincipal principal, String comment) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.query.api
Methods in org.nuxeo.ecm.platform.query.api with parameters of type NuxeoPrincipal Modifier and Type Method Description protected voidAbstractPageProvider. fireSearchEvent(NuxeoPrincipal principal, String query, List<T> entries, Long executionTimeMs)Send a search event so that PageProvider calls can be tracked by Audit or other statistic gathering process -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.routing.api
Methods in org.nuxeo.ecm.platform.routing.api with parameters of type NuxeoPrincipal Modifier and Type Method Description booleanDocumentRoutingService. canUserValidateRoute(NuxeoPrincipal currentUser)Deprecated. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.routing.core.impl
Methods in org.nuxeo.ecm.platform.routing.core.impl with parameters of type NuxeoPrincipal Modifier and Type Method Description booleanDocumentRoutingServiceImpl. canUserValidateRoute(NuxeoPrincipal currentUser) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.task
Methods in org.nuxeo.ecm.platform.task with parameters of type NuxeoPrincipal Modifier and Type Method Description StringTaskService. acceptTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment)Ends the task using event nameTaskEventNames.WORKFLOW_TASK_COMPLETEDand marking the task as validated.booleanTaskService. canEndTask(NuxeoPrincipal principal, Task task)Returns true if user is an administrator, the initiator of the task, or an actor of the task.List<Task>TaskService. createTask(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)List<Task>TaskService. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)Creates a task of the given document type and starts it.List<Task>TaskService. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)Creates a task and starts it.List<Task>TaskService. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)Creates a task and starts it.List<Task>TaskService. createTaskForProcess(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, String processName, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)Creates a task of the given documents type and starts it.StringTaskProvider. endTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated)Ends the taskStringTaskService. endTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated)Ends the taskList<Task>TaskProvider. getAllTaskInstances(String processId, NuxeoPrincipal user, CoreSession session)Returns all the tasks instances for the givenprocessIdand where the user is the actor or belongs to the pooled actor list.List<Task>TaskProvider. getTaskInstances(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession)Returns the list of task instances associated with this document for which the user is the actor or belongs to the pooled actor list.StringTaskService. rejectTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment)Ends the task using event nameTaskEventNames.WORKFLOW_TASK_REJECTEDand marking the task as not validated. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.task.core.helpers
Methods in org.nuxeo.ecm.platform.task.core.helpers with parameters of type NuxeoPrincipal Modifier and Type Method Description static List<String>TaskActorsHelper. getTaskActors(NuxeoPrincipal principal)Gets the task actors list: prefixed and unprefixed names of the principal and all its groups. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.task.core.service
Methods in org.nuxeo.ecm.platform.task.core.service with parameters of type NuxeoPrincipal Modifier and Type Method Description StringTaskServiceImpl. acceptTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment)booleanTaskServiceImpl. canEndTask(NuxeoPrincipal principal, Task task)protected booleanTaskServiceImpl. checkPermissions(NuxeoPrincipal principal, Task task)voidCreateTaskUnrestricted. createTask(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, String processName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)voidCreateTaskUnrestricted. createTask(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)voidCreateTaskUnrestricted. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)voidCreateTaskUnrestricted. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)List<Task>TaskServiceImpl. createTask(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)List<Task>TaskServiceImpl. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskDocumentType, String taskName, String taskType, String processId, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)List<Task>TaskServiceImpl. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)List<Task>TaskServiceImpl. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)List<Task>TaskServiceImpl. createTaskForProcess(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, String processName, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)StringDocumentTaskProvider. endTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated)StringTaskServiceImpl. endTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated)Use the task provider held by theTask.TASK_PROVIDER_KEYtask variable to end thetask.List<Task>DocumentTaskProvider. getAllTaskInstances(String processId, NuxeoPrincipal user, CoreSession session)List<Task>TaskServiceImpl. getAllTaskInstances(String processId, NuxeoPrincipal user, CoreSession session)List<Task>DocumentTaskProvider. getTaskInstances(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession)List<Task>TaskServiceImpl. getTaskInstances(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession)protected booleanTaskServiceImpl. isTaskAssignedToUser(Task task, NuxeoPrincipal user, boolean checkDelegatedActors)static voidTaskEventNotificationHelper. notifyEvent(CoreSession coreSession, DocumentModel document, NuxeoPrincipal principal, Task task, String eventId, Map<String,Serializable> properties, String comment, String category)protected voidTaskServiceImpl. notifyEvent(CoreSession session, Task task, List<DocumentModel> docs, String event, Map<String,Serializable> eventInfo, String comment, NuxeoPrincipal principal, List<String> actorIds)static voidTaskEventNotificationHelper. notifyTaskEnded(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, Map<String,Serializable> extraEventProperties)StringTaskServiceImpl. rejectTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment)Constructors in org.nuxeo.ecm.platform.task.core.service with parameters of type NuxeoPrincipal Constructor Description CreateTaskUnrestricted(CoreSession session, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, String processName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)CreateTaskUnrestricted(CoreSession session, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)CreateTaskUnrestricted(CoreSession session, NuxeoPrincipal principal, DocumentModel document, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)CreateTaskUnrestricted(CoreSession session, NuxeoPrincipal principal, DocumentModel document, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)CreateTaskUnrestricted(CoreSession session, NuxeoPrincipal principal, DocumentModel document, String taskName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.ui.web.auth
Methods in org.nuxeo.ecm.platform.ui.web.auth that return NuxeoPrincipal Modifier and Type Method Description protected static NuxeoPrincipalNuxeoAuthenticationFilter. createPrincipal(String username)Creates a principal without checking authentication. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.ui.web.keycloak
Methods in org.nuxeo.ecm.platform.ui.web.keycloak that return NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipalKeycloakUserMapper. getOrCreateAndUpdateNuxeoPrincipal(Object userObject)NuxeoPrincipalKeycloakUserMapper. getOrCreateAndUpdateNuxeoPrincipal(Object userObject, boolean createIfNeeded, boolean update, Map<String,Serializable> params)Methods in org.nuxeo.ecm.platform.ui.web.keycloak with parameters of type NuxeoPrincipal Modifier and Type Method Description ObjectKeycloakUserMapper. wrapNuxeoPrincipal(NuxeoPrincipal principal, Object nativePrincipal, Map<String,Serializable> params) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.usermanager
Classes in org.nuxeo.ecm.platform.usermanager that implement NuxeoPrincipal Modifier and Type Class Description classNuxeoPrincipalImplprotected static classNuxeoPrincipalImpl.TransferableCloneProvides another implementation which marshall the user id instead of transferring the whole content and resolve it when unmarshalled.Methods in org.nuxeo.ecm.platform.usermanager that return NuxeoPrincipal Modifier and Type Method Description protected NuxeoPrincipalNuxeoPrincipalImpl. cloneTransferable()NuxeoPrincipalFakeUserManagerImpl. getPrincipal(String username, boolean fetchReferences)NuxeoPrincipalMultiTenantUserManager. getPrincipal(String username, DocumentModel context)Retrieves the principal with the given username or null if it does not exist into the given context document.default NuxeoPrincipalUserManager. getPrincipal(String username)CallsUserManager.getPrincipal(String, boolean)to retrieve a principal and its references, given its usernameNuxeoPrincipalUserManager. getPrincipal(String username, boolean fetchReferences)Retrieves the principal with the given username or null if it does not exist.NuxeoPrincipalUserManagerImpl. getPrincipal(String username, boolean fetchReferences)NuxeoPrincipalUserManagerImpl. getPrincipal(String username, DocumentModel context)protected NuxeoPrincipalUserManagerImpl. getPrincipal(String username, DocumentModel context, boolean fetchReferences)protected NuxeoPrincipalUserManagerImpl. getPrincipalUsingCache(String username)protected NuxeoPrincipalUserManagerImpl. makeAnonymousPrincipal()protected NuxeoPrincipalUserManagerImpl. makePrincipal(DocumentModel userEntry)protected NuxeoPrincipalUserManagerImpl. makePrincipal(DocumentModel userEntry, boolean anonymous, boolean isTransient, List<String> groups)protected NuxeoPrincipalUserManagerImpl. makePrincipal(DocumentModel userEntry, boolean anonymous, List<String> groups)protected NuxeoPrincipalUserManagerImpl. makeTransientPrincipal(String username)protected NuxeoPrincipalUserManagerImpl. makeVirtualPrincipal(VirtualUser user)Methods in org.nuxeo.ecm.platform.usermanager that return types with arguments of type NuxeoPrincipal Modifier and Type Method Description List<NuxeoPrincipal>FakeUserManagerImpl. searchPrincipals(String pattern)List<NuxeoPrincipal>UserManager. searchPrincipals(String pattern)Deprecated.List<NuxeoPrincipal>UserManagerImpl. searchPrincipals(String pattern) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.usermanager.io
Methods in org.nuxeo.ecm.platform.usermanager.io that return NuxeoPrincipal Modifier and Type Method Description protected NuxeoPrincipalNuxeoPrincipalJsonReader. readEntity(com.fasterxml.jackson.databind.JsonNode jn)Methods in org.nuxeo.ecm.platform.usermanager.io with parameters of type NuxeoPrincipal Modifier and Type Method Description protected voidNuxeoPrincipalJsonWriter. writeEntityBody(NuxeoPrincipal principal, com.fasterxml.jackson.core.JsonGenerator jg) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.usermanager.providers
Fields in org.nuxeo.ecm.platform.usermanager.providers with type parameters of type NuxeoPrincipal Modifier and Type Field Description protected List<NuxeoPrincipal>NuxeoPrincipalsPageProvider. pagePrincipalsMethods in org.nuxeo.ecm.platform.usermanager.providers that return NuxeoPrincipal Modifier and Type Method Description protected NuxeoPrincipalGroupMemberUsersPageProvider. getMember(String id)Methods in org.nuxeo.ecm.platform.usermanager.providers that return types with arguments of type NuxeoPrincipal Modifier and Type Method Description List<NuxeoPrincipal>NuxeoPrincipalsPageProvider. getCurrentPage() -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.userworkspace.api
Methods in org.nuxeo.ecm.platform.userworkspace.api with parameters of type NuxeoPrincipal Modifier and Type Method Description DocumentModelUserWorkspaceService. getUserPersonalWorkspace(NuxeoPrincipal principal, DocumentModel context)Gets a detached user workspace of a specified user depending of the passed principal.booleanUserWorkspaceService. isUnderUserWorkspace(NuxeoPrincipal principal, String username, DocumentModel doc)Checks whether the passed document is under the user's workspace (or is the workspace itself). -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.userworkspace.core.service
Methods in org.nuxeo.ecm.platform.userworkspace.core.service with parameters of type NuxeoPrincipal Modifier and Type Method Description protected DocumentModelAbstractUserWorkspaceImpl. getCurrentUserPersonalWorkspace(NuxeoPrincipal principal, String userName, CoreSession userCoreSession)This method handles the UserWorkspace creation with a Principal or a username.protected PathRefAbstractUserWorkspaceImpl. getExistingUserWorkspace(CoreSession session, PathRef rootref, NuxeoPrincipal principal, String username)protected StringAbstractUserWorkspaceImpl. getUserName(NuxeoPrincipal principal, String username)Gets the base username to use to determine a user's workspace.DocumentModelAbstractUserWorkspaceImpl. getUserPersonalWorkspace(NuxeoPrincipal principal, DocumentModel context)booleanAbstractUserWorkspaceImpl. isUnderUserWorkspace(NuxeoPrincipal principal, String username, DocumentModel doc)protected voidAbstractUserWorkspaceImpl. notifyEvent(CoreSession coreSession, DocumentModel document, NuxeoPrincipal principal, String eventId, Map<String,Serializable> properties) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.restapi.server.jaxrs
Methods in org.nuxeo.ecm.restapi.server.jaxrs that return NuxeoPrincipal Modifier and Type Method Description protected NuxeoPrincipalOAuth2Object. getPrincipal() -
Uses of NuxeoPrincipal in org.nuxeo.ecm.restapi.server.jaxrs.usermanager
Methods in org.nuxeo.ecm.restapi.server.jaxrs.usermanager that return NuxeoPrincipal Modifier and Type Method Description protected NuxeoPrincipalUserRootObject. createArtifact(NuxeoPrincipal principal)NuxeoPrincipalMeObject. doGet(javax.ws.rs.core.Request request)protected NuxeoPrincipalUserRootObject. getArtifact(String id)protected NuxeoPrincipalUserObject. updateArtifact(NuxeoPrincipal principal)Methods in org.nuxeo.ecm.restapi.server.jaxrs.usermanager with parameters of type NuxeoPrincipal Modifier and Type Method Description protected voidUserToGroupObject. addUserToGroup(NuxeoPrincipal principal, NuxeoGroup group)protected voidUserRootObject. checkPrecondition(NuxeoPrincipal principal)protected NuxeoPrincipalUserRootObject. createArtifact(NuxeoPrincipal principal)protected booleanUserObject. isAPowerUserEditableArtifact(NuxeoPrincipal artifact)protected voidUserToGroupObject. removeUserFromGroup(NuxeoPrincipal principal, NuxeoGroup group)protected NuxeoPrincipalUserObject. updateArtifact(NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.restapi.test
Methods in org.nuxeo.ecm.restapi.test that return NuxeoPrincipal Modifier and Type Method Description static NuxeoPrincipalRestServerInit. getPowerUser() -
Uses of NuxeoPrincipal in org.nuxeo.ecm.user.center.profile.rest
Methods in org.nuxeo.ecm.user.center.profile.rest with parameters of type NuxeoPrincipal Modifier and Type Method Description voidUserProfileEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, NuxeoPrincipal nuxeoPrincipal) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.user.invite
Methods in org.nuxeo.ecm.user.invite that return NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipalUserInvitationComponent. createUser(CoreSession session, DocumentModel registrationDoc)NuxeoPrincipalUserInvitationService. createUser(CoreSession session, DocumentModel registrationDoc)NuxeoPrincipalDefaultInvitationUserFactory. doCreateUser(CoreSession session, DocumentModel registrationDoc, UserRegistrationConfiguration configuration)NuxeoPrincipalInvitationUserFactory. doCreateUser(CoreSession session, DocumentModel registrationDoc, UserRegistrationConfiguration configuration)Handle user creationMethods in org.nuxeo.ecm.user.invite with parameters of type NuxeoPrincipal Modifier and Type Method Description protected booleanDefaultInvitationUserFactory. acceptGroup(NuxeoPrincipal originatingPrincipal, String groupName)voidDefaultInvitationUserFactory. doPostUserCreation(CoreSession session, DocumentModel registrationDoc, NuxeoPrincipal user)voidInvitationUserFactory. doPostUserCreation(CoreSession session, DocumentModel registrationDoc, NuxeoPrincipal user)Called just after the user is created -
Uses of NuxeoPrincipal in org.nuxeo.ecm.webengine.model
Methods in org.nuxeo.ecm.webengine.model that return NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipalWebContext. getPrincipal()Gets the principal identifying the user that originated the request. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.webengine.model.impl
Methods in org.nuxeo.ecm.webengine.model.impl that return NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipalAbstractWebContext. getPrincipal() -
Uses of NuxeoPrincipal in org.nuxeo.elasticsearch.http.readonly
Fields in org.nuxeo.elasticsearch.http.readonly declared as NuxeoPrincipal Modifier and Type Field Description protected NuxeoPrincipalAbstractSearchRequestFilterImpl. principalMethods in org.nuxeo.elasticsearch.http.readonly that return NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipalMain. getPrincipal()Constructors in org.nuxeo.elasticsearch.http.readonly with parameters of type NuxeoPrincipal Constructor Description DocRequestFilter(NuxeoPrincipal principal, String indices, String documentId, String rawQuery)DocRequestFilter(NuxeoPrincipal principal, String indices, String types, String documentId, String rawQuery)Deprecated, for removal: This API element is subject to removal in a future version.since 11.4, types have been removed since Elasticsearch 7.x, useDocRequestFilter(NuxeoPrincipal, String, String, String)instead -
Uses of NuxeoPrincipal in org.nuxeo.elasticsearch.http.readonly.filter
Methods in org.nuxeo.elasticsearch.http.readonly.filter with parameters of type NuxeoPrincipal Modifier and Type Method Description voidRequestValidator. checkAccess(NuxeoPrincipal principal, String docAcl) -
Uses of NuxeoPrincipal in org.nuxeo.template.context.extensions
Methods in org.nuxeo.template.context.extensions that return NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipalContextFunctions. getNuxeoPrincipal(String username) -
Uses of NuxeoPrincipal in org.nuxeo.usermapper.extension
Methods in org.nuxeo.usermapper.extension that return NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipalAbstractUserMapper. getOrCreateAndUpdateNuxeoPrincipal(Object userObject)NuxeoPrincipalAbstractUserMapper. getOrCreateAndUpdateNuxeoPrincipal(Object userObject, boolean createIfNeeded, boolean update, Map<String,Serializable> params)NuxeoPrincipalUserMapper. getOrCreateAndUpdateNuxeoPrincipal(Object userObject)Should retrieve (create if needed) and update the NuxeoPrincipal according to the given userObjectNuxeoPrincipalUserMapper. getOrCreateAndUpdateNuxeoPrincipal(Object userObject, boolean createIfNeeded, boolean update, Map<String,Serializable> params)Should retrieve (create if needed) and update the NuxeoPrincipal according to the given userObjectMethods in org.nuxeo.usermapper.extension with parameters of type NuxeoPrincipal Modifier and Type Method Description ObjectGroovyUserMapper. wrapNuxeoPrincipal(NuxeoPrincipal principal, Object userObject, Map<String,Serializable> params)ObjectNashornUserMapper. wrapNuxeoPrincipal(NuxeoPrincipal principal, Object userObject, Map<String,Serializable> params)ObjectUserMapper. wrapNuxeoPrincipal(NuxeoPrincipal principal, Object nativePrincipal, Map<String,Serializable> params)Wrap theNuxeoPrincipalas the userObject used in the external authentication system -
Uses of NuxeoPrincipal in org.nuxeo.usermapper.service
Methods in org.nuxeo.usermapper.service that return NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipalUserMapperComponent. getOrCreateAndUpdateNuxeoPrincipal(String mappingName, Object userObject)NuxeoPrincipalUserMapperComponent. getOrCreateAndUpdateNuxeoPrincipal(String mappingName, Object userObject, boolean createIfNeeded, boolean update, Map<String,Serializable> params)NuxeoPrincipalUserMapperService. getOrCreateAndUpdateNuxeoPrincipal(String mappingName, Object userObject)Should retrieve (create if needed) and update the NuxeoPrincipal according to the given userObjectNuxeoPrincipalUserMapperService. getOrCreateAndUpdateNuxeoPrincipal(String mappingName, Object userObject, boolean createIfNeeded, boolean update, Map<String,Serializable> params)Should retrieve (create if needed) and update the NuxeoPrincipal according to the given userObjectMethods in org.nuxeo.usermapper.service with parameters of type NuxeoPrincipal Modifier and Type Method Description ObjectUserMapperComponent. wrapNuxeoPrincipal(String mappingName, NuxeoPrincipal principal, Object nativePrincipal, Map<String,Serializable> params)ObjectUserMapperService. wrapNuxeoPrincipal(String mappingName, NuxeoPrincipal principal, Object nativePrincipal, Map<String,Serializable> params)Wrap theNuxeoPrincipalas the userObject used in the external authentication system * -
Uses of NuxeoPrincipal in org.nuxeo.wopi
Methods in org.nuxeo.wopi with parameters of type NuxeoPrincipal Modifier and Type Method Description static StringHelpers. principalFullName(NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.wopi.lock
Methods in org.nuxeo.wopi.lock with parameters of type NuxeoPrincipal Modifier and Type Method Description AccessWOPILockSecurityPolicy. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals)
-