Uses of Interface
org.nuxeo.ecm.core.api.NuxeoPrincipal
Packages that use NuxeoPrincipal
-
Uses of NuxeoPrincipal in org.nuxeo.audit.api
Methods in org.nuxeo.audit.api with parameters of type NuxeoPrincipal -
Uses of NuxeoPrincipal in org.nuxeo.audit.io
Methods in org.nuxeo.audit.io that return NuxeoPrincipalModifier and TypeMethodDescriptionprotected NuxeoPrincipalLogEntryJsonWriter.getPrincipal(String principalName) -
Uses of NuxeoPrincipal in org.nuxeo.audit.provider
Methods in org.nuxeo.audit.provider with parameters of type NuxeoPrincipalModifier and TypeMethodDescriptionprotected booleanLatestCreatedUsersOrGroupsPageProvider.canSearchUsersAndGroups(NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.drive.adapter.impl
Fields in org.nuxeo.drive.adapter.impl declared as NuxeoPrincipalConstructors in org.nuxeo.drive.adapter.impl with parameters of type NuxeoPrincipalModifierConstructorDescriptionprotectedAbstractFileSystemItem(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 NuxeoPrincipalModifierConstructorDescriptionPermissionTopLevelFolderItem(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 NuxeoPrincipalModifier and TypeMethodDescriptionPermissionTopLevelFactory.getTopLevelFolderItem(NuxeoPrincipal principal) protected FolderItemUserSyncRootParentFactory.getTopLevelFolderItem(NuxeoPrincipal principal) PermissionTopLevelFactory.getVirtualFolderItem(NuxeoPrincipal principal) SharedSyncRootParentFactory.getVirtualFolderItem(NuxeoPrincipal principal) UserSyncRootParentFactory.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 NuxeoPrincipalModifierConstructorDescriptionUserWorkspaceSyncRootParentFolderItem(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 NuxeoPrincipalModifier and TypeMethodDescriptionUserWorkspaceTopLevelFactory.getTopLevelFolderItem(NuxeoPrincipal principal) UserWorkspaceSyncRootParentFactory.getVirtualFolderItem(NuxeoPrincipal principal) UserWorkspaceTopLevelFactory.getVirtualFolderItem(NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.drive.listener
Methods in org.nuxeo.drive.listener with parameters of type NuxeoPrincipalModifier and TypeMethodDescriptionprotected 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 NuxeoPrincipalModifier and TypeMethodDescriptionbooleanFileSystemItemManager.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.FileSystemItemManager.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.FileSystemItemManager.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.NuxeoDriveManager.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.FileSystemItemManager.getChildren(String id, NuxeoPrincipal principal) Gets the children of theFileSystemItemwith the given id for the given principal.NuxeoDriveManager.getCollectionSyncRootMemberIds(NuxeoPrincipal principal) Fetch all the collection sync root member ids for a given user.FileSystemItemFactory.getFileSystemItemById(String id, String parentId, NuxeoPrincipal principal) Gets theFileSystemItemwith the given id and parent id using a core session fetched with the given principal.FileSystemItemFactory.getFileSystemItemById(String id, NuxeoPrincipal principal) Gets theFileSystemItemwith the given id using a core session fetched with the given principal.FileSystemItemManager.getFileSystemItemById(String id, String parentId, NuxeoPrincipal principal) Gets theFileSystemItemwith the given id and parent id for the given principal.FileSystemItemManager.getFileSystemItemById(String id, NuxeoPrincipal principal) Gets theFileSystemItemwith the given id for the given principal.NuxeoDriveManager.getSynchronizationRoots(NuxeoPrincipal principal) Fetch all the synchronization root references and paths for a given user.FileSystemItemManager.getTopLevelFolder(NuxeoPrincipal principal) Gets the top levelFolderItemfor the given principal.TopLevelFolderItemFactory.getTopLevelFolderItem(NuxeoPrincipal principal) VirtualFolderItemFactory.getVirtualFolderItem(NuxeoPrincipal principal) Returns the (unique) virtualFolderItem.booleanNuxeoDriveManager.isSynchronizationRoot(NuxeoPrincipal principal, DocumentModel doc) Checks if the givenDocumentModelis a synchronization root for the given user.FileSystemItemManager.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) FileSystemItemManager.rename(String id, String name, NuxeoPrincipal principal) Renames theFileSystemItemwith the given id with the given name for the given principal.FileSystemItemManager.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) FileSystemItemManager.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.FileSystemItemManager.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 NuxeoPrincipalModifier and TypeMethodDescriptionbooleanFileSystemItemManagerImpl.canMove(String srcId, String destId, NuxeoPrincipal principal) NuxeoDriveManagerImpl.computeCollectionSyncRootMemberIds(NuxeoPrincipal principal) protected Map<String, SynchronizationRoots> NuxeoDriveManagerImpl.computeSynchronizationRoots(String query, NuxeoPrincipal principal) FileSystemItemManagerImpl.createFile(String parentId, Blob blob, NuxeoPrincipal principal, boolean overwrite) FileSystemItemManagerImpl.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) NuxeoDriveManagerImpl.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.FileSystemItemManagerImpl.getChildren(String id, NuxeoPrincipal principal) NuxeoDriveManagerImpl.getCollectionSyncRootMemberIds(NuxeoPrincipal principal) AbstractFileSystemItemFactory.getFileSystemItemById(String id, String parentId, NuxeoPrincipal principal) AbstractFileSystemItemFactory.getFileSystemItemById(String id, NuxeoPrincipal principal) AbstractVirtualFolderItemFactory.getFileSystemItemById(String id, String parentId, NuxeoPrincipal principal) AbstractVirtualFolderItemFactory.getFileSystemItemById(String id, NuxeoPrincipal principal) FileSystemItemManagerImpl.getFileSystemItemById(String id, String parentId, NuxeoPrincipal principal) FileSystemItemManagerImpl.getFileSystemItemById(String id, NuxeoPrincipal principal) NuxeoDriveManagerImpl.getSynchronizationRoots(NuxeoPrincipal principal) FileSystemItemManagerImpl.getTopLevelFolder(NuxeoPrincipal principal) DefaultTopLevelFolderItemFactory.getTopLevelFolderItem(NuxeoPrincipal principal) DefaultTopLevelFolderItemFactory.getVirtualFolderItem(NuxeoPrincipal principal) booleanNuxeoDriveManagerImpl.isSynchronizationRoot(NuxeoPrincipal principal, DocumentModel doc) FileSystemItemManagerImpl.move(String srcId, String destId, NuxeoPrincipal principal) voidNuxeoDriveManagerImpl.registerSynchronizationRoot(NuxeoPrincipal principal, DocumentModel newRootContainer, CoreSession session) FileSystemItemManagerImpl.rename(String id, String name, NuxeoPrincipal principal) FileSystemItemManagerImpl.scrollDescendants(String id, NuxeoPrincipal principal, String scrollId, int batchSize, long keepAlive) voidNuxeoDriveManagerImpl.unregisterSynchronizationRoot(NuxeoPrincipal principal, DocumentModel rootContainer, CoreSession session) FileSystemItemManagerImpl.updateFile(String id, String parentId, Blob blob, NuxeoPrincipal principal) FileSystemItemManagerImpl.updateFile(String id, Blob blob, NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.duoweb.authentication
Methods in org.nuxeo.duoweb.authentication that return NuxeoPrincipalModifier and TypeMethodDescriptionDuoFactorsAuthenticator.createIdentity(String username) protected NuxeoPrincipalDuoFactorsAuthenticator.validateUserIdentity(UserIdentificationInfo userIdentity) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.automation
Methods in org.nuxeo.ecm.automation that return NuxeoPrincipal -
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 -
Uses of NuxeoPrincipal in org.nuxeo.ecm.automation.core.scripting
Fields in org.nuxeo.ecm.automation.core.scripting declared as NuxeoPrincipalMethods in org.nuxeo.ecm.automation.core.scripting that return NuxeoPrincipalConstructors in org.nuxeo.ecm.automation.core.scripting with parameters of type NuxeoPrincipal -
Uses of NuxeoPrincipal in org.nuxeo.ecm.automation.features
Methods in org.nuxeo.ecm.automation.features that return NuxeoPrincipalModifier and TypeMethodDescriptionPlatformFunctions.getPrincipal(String username) PlatformFunctions.getPrincipal(String username, boolean fetchReferences) Methods in org.nuxeo.ecm.automation.features that return types with arguments of type NuxeoPrincipalModifier and TypeMethodDescriptionPrincipalHelper.getPrincipalsForPermission(DocumentModel input, String permission, boolean ignoreGroups, boolean resolveGroups) PlatformFunctions.getPrincipalsFromGroup(String group) PlatformFunctions.getPrincipalsFromGroup(String group, boolean ignoreGroups) PrincipalHelper.getPrincipalsFromGroup(String groupId, boolean resolveGroups) Methods in org.nuxeo.ecm.automation.features with parameters of type NuxeoPrincipalModifier and TypeMethodDescriptionvoidPrincipalHelper.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 NuxeoPrincipalModifier and TypeMethodDescriptionPlatformFunctions.getPrincipalEmails(List<NuxeoPrincipal> principals) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.api
Classes in org.nuxeo.ecm.core.api that implement NuxeoPrincipalMethods in org.nuxeo.ecm.core.api that return NuxeoPrincipalModifier and TypeMethodDescriptionstatic NuxeoPrincipalNuxeoPrincipal.getCurrent()Returns the current logged inNuxeoPrincipal.protected static NuxeoPrincipalCoreInstance.getPrincipal(String username) CoreSession.getPrincipal()Gets the principal that created the client session.DocumentModel.getPrincipal()Gets the principal attached to this document's session.Methods in org.nuxeo.ecm.core.api with parameters of type NuxeoPrincipalModifier and TypeMethodDescriptionCoreSessionService.createCoreSession(String repositoryName, NuxeoPrincipal principal) Instantiates aCoreSession.CoreSessionServiceImpl.createCoreSession(String repositoryName, NuxeoPrincipal principal) AbstractSession.filterGrantedPermissions(NuxeoPrincipal principal, DocumentRef docRef, Collection<String> permissions) 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 final 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.Constructors in org.nuxeo.ecm.core.api with parameters of type NuxeoPrincipal -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.api.impl
Classes in org.nuxeo.ecm.core.api.impl that implement NuxeoPrincipalFields in org.nuxeo.ecm.core.api.impl declared as NuxeoPrincipalMethods in org.nuxeo.ecm.core.api.impl that return NuxeoPrincipalModifier and TypeMethodDescriptionDocumentModelImpl.getPrincipal()SimpleDocumentModel.getPrincipal()Constructors in org.nuxeo.ecm.core.api.impl with parameters of type NuxeoPrincipalModifierConstructorDescriptionDocumentModelImpl(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 NuxeoPrincipalMethods in org.nuxeo.ecm.core.api.local that return NuxeoPrincipalModifier and TypeMethodDescriptionstatic NuxeoPrincipalClientLoginModule.getCurrentPrincipal()Deprecated.since 11.1, usegetCurrent()insteadLocalSession.getPrincipal()Constructors in org.nuxeo.ecm.core.api.local with parameters of type NuxeoPrincipal -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.api.trash
Methods in org.nuxeo.ecm.core.api.trash with parameters of type NuxeoPrincipalModifier and TypeMethodDescriptionbooleanTrashService.canPurgeOrUntrash(List<DocumentModel> docs, NuxeoPrincipal principal) Are all documents purgeable/undeletable?default booleanTrashService.canPurgeOrUntrash(DocumentModel doc, NuxeoPrincipal principal) Is document purgeable/untrashable?TrashService.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 NuxeoPrincipalMethods in org.nuxeo.ecm.core.event with parameters of type NuxeoPrincipalModifier and TypeMethodDescriptionvoidEventContext.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 NuxeoPrincipalMethods in org.nuxeo.ecm.core.event.impl that return NuxeoPrincipalModifier and TypeMethodDescriptionEventContextImpl.getPrincipal()ShallowDocumentModel.getPrincipal()Methods in org.nuxeo.ecm.core.event.impl with parameters of type NuxeoPrincipalConstructors in org.nuxeo.ecm.core.event.impl with parameters of type NuxeoPrincipalModifierConstructorDescriptionBlobEventContext(NuxeoPrincipal principal, String repositoryName, String docId, String xpath, ManagedBlob blob) DocumentDomainEventContext(NuxeoPrincipal principal, Document doc) DocumentEventContext(CoreSession session, NuxeoPrincipal principal, DocumentModel source) DocumentEventContext(CoreSession session, NuxeoPrincipal principal, DocumentModel source, DocumentRef destDoc) EventContextImpl(CoreSession session, NuxeoPrincipal principal) EventContextImpl(CoreSession session, NuxeoPrincipal principal, Object... args) InlineEventContext(CoreSession session, NuxeoPrincipal principal, Map<String, Serializable> properties) InlineEventContext(NuxeoPrincipal principal, Map<String, Serializable> properties) UnboundEventContext(CoreSession session, NuxeoPrincipal principal, Map<String, Serializable> properties) UnboundEventContext(NuxeoPrincipal principal, Map<String, Serializable> properties) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.io.download
Methods in org.nuxeo.ecm.core.io.download that return NuxeoPrincipalModifier and TypeMethodDescriptionprotected static NuxeoPrincipalDownloadServiceImpl.getPrincipal() -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.model
Methods in org.nuxeo.ecm.core.model with parameters of type NuxeoPrincipalModifier and TypeMethodDescriptionstatic 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 NuxeoPrincipalModifier and TypeMethodDescriptionprotected 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 NuxeoPrincipalMethods in org.nuxeo.ecm.core.query that return NuxeoPrincipalConstructors in org.nuxeo.ecm.core.query with parameters of type NuxeoPrincipalModifierConstructorDescriptionQueryFilter(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 NuxeoPrincipalModifier and TypeMethodDescriptionSQLQuery.IdentityTransformer.transform(NuxeoPrincipal principal, SQLQuery query) SQLQuery.Transformer.transform(NuxeoPrincipal principal, SQLQuery query) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.search
Fields in org.nuxeo.ecm.core.search declared as NuxeoPrincipalModifier and TypeFieldDescriptionprotected final NuxeoPrincipalSearchQueryImpl.Builder.principalprotected final NuxeoPrincipalSearchQueryImpl.principalMethods in org.nuxeo.ecm.core.search that return NuxeoPrincipalMethods in org.nuxeo.ecm.core.search with parameters of type NuxeoPrincipalModifier and TypeMethodDescriptionstatic SearchQueryImpl.BuilderSearchQuery.builder(String nxql, NuxeoPrincipal principal) Returns a query builder initialized with an NXQL query on a given principal.static SearchQueryImpl.BuilderSearchQuery.builder(List<SearchIndex> searchIndexes, String nxql, NuxeoPrincipal principal) Deprecated, for removal: This API element is subject to removal in a future version.since 2025.1, useSearchQuery.builder(String, NuxeoPrincipal)instead.static SearchQueryImpl.BuilderSearchQuery.builder(SearchIndex searchIndex, String nxql, NuxeoPrincipal principal) Deprecated, for removal: This API element is subject to removal in a future version.since 2025.1, useSearchQuery.builder(String, NuxeoPrincipal)instead.Constructors in org.nuxeo.ecm.core.search with parameters of type NuxeoPrincipalModifierConstructorDescriptionprotectedBuilder(String nxql, NuxeoPrincipal principal) Creates a SearchQuery builder.protectedBuilder(List<SearchIndex> searchIndexes, String nxql, NuxeoPrincipal principal) Deprecated, for removal: This API element is subject to removal in a future version.since 2025.1, useBuilder(String, NuxeoPrincipal)instead. -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.security
Methods in org.nuxeo.ecm.core.security with parameters of type NuxeoPrincipalModifier and TypeMethodDescriptionCheckInSecurityPolicy.checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals) LockSecurityPolicy.checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals) RetentionAndHoldSecurityPolicy.checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals) SecurityPolicy.checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals) Checks given permission for doc and principal.SecurityPolicyService.checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] principalsToCheck) Checks given permission for doc and principal.SecurityPolicyServiceImpl.checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals) booleanSecurityService.checkPermission(Document doc, NuxeoPrincipal principal, String permission) 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) SecurityPolicy.IdentityQueryTransformer.transform(NuxeoPrincipal principal, String query) SecurityPolicy.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 NuxeoPrincipalModifier and TypeMethodDescriptionvoidDBSDocument.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 NuxeoPrincipalModifier and TypeMethodDescriptionvoidSQLDocumentLive.remove(NuxeoPrincipal principal) voidSQLDocumentProxy.remove(NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.core.trash
Methods in org.nuxeo.ecm.core.trash with parameters of type NuxeoPrincipalModifier and TypeMethodDescriptionbooleanAbstractTrashService.canPurgeOrUntrash(List<DocumentModel> docs, NuxeoPrincipal principal) AbstractTrashService.getAboveDocument(DocumentModel doc, NuxeoPrincipal principal) protected TrashInfoAbstractTrashService.getInfo(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies, boolean checkDeleted) protected TrashInfoAbstractTrashService.getTrashInfo(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies, boolean checkDeleted) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.multi.tenant
Classes in org.nuxeo.ecm.multi.tenant that implement NuxeoPrincipalMethods in org.nuxeo.ecm.multi.tenant that return NuxeoPrincipalModifier and TypeMethodDescriptionprotected 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 NuxeoPrincipalModifier and TypeMethodDescriptionstatic StringPermissionGrantedNotificationListener.principalFullName(NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.actions
Fields in org.nuxeo.ecm.platform.actions declared as NuxeoPrincipalMethods in org.nuxeo.ecm.platform.actions that return NuxeoPrincipalModifier and TypeMethodDescriptionfinal NuxeoPrincipalAbstractActionContext.getCurrentPrincipal()ActionContext.getCurrentPrincipal()Returns the current principal to use for filter evaluationMethods in org.nuxeo.ecm.platform.actions with parameters of type NuxeoPrincipalModifier and TypeMethodDescriptionfinal 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.comment.impl
Methods in org.nuxeo.ecm.platform.comment.impl that return NuxeoPrincipalModifier and TypeMethodDescriptionprotected NuxeoPrincipalAbstractCommentManager.getAuthor(DocumentModel docModel) Methods in org.nuxeo.ecm.platform.comment.impl with parameters of type NuxeoPrincipalModifier and TypeMethodDescriptionprotected 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 NuxeoPrincipalModifier and TypeMethodDescriptionprotected 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 NuxeoPrincipalModifier and TypeMethodDescriptionvoidNotificationService.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 NuxeoPrincipalModifier and TypeMethodDescriptionFileManager.findExistingDocumentWithFile(CoreSession documentManager, String path, String digest, NuxeoPrincipal principal) FileManager.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 NuxeoPrincipalModifier and TypeMethodDescriptionprotected 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 NuxeoPrincipalModifier and TypeMethodDescriptionFileManagerService.findExistingDocumentWithFile(CoreSession documentManager, String path, String digest, NuxeoPrincipal principal) FileManagerService.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 NuxeoPrincipalModifier and TypeMethodDescriptionMailMessageSecurityPolicy.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 NuxeoPrincipalModifier and TypeMethodDescriptionvoidNotificationManager.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 NuxeoPrincipalModifier and TypeMethodDescriptionprotected voidOAuth2ClientServiceImpl.checkPermission(NuxeoPrincipal principal) OAuth2ClientService.create(OAuth2Client oAuth2Client, NuxeoPrincipal principal) Registers a new oAuth2 client as the given principal.OAuth2ClientServiceImpl.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) OAuth2ClientService.update(String clientId, OAuth2Client oAuth2Client, NuxeoPrincipal principal) Updates an exiting oAuth2 client as the given principal.OAuth2ClientServiceImpl.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 NuxeoPrincipalModifier and TypeMethodDescriptionprotected voidOAuth2TokenServiceImpl.checkPermission(NuxeoPrincipal principal) protected List<NuxeoOAuth2Token> OAuth2TokenServiceImpl.findTokens(QueryBuilder queryBuilder, NuxeoPrincipal principal) OAuth2TokenService.getTokens(NuxeoPrincipal principal) Gets the oAuth2 tokens as the given principal.OAuth2TokenService.getTokens(NuxeoOAuth2TokenType type, NuxeoPrincipal principal) Gets the oAuth2 tokens for a given type as the given principal.OAuth2TokenServiceImpl.getTokens(NuxeoPrincipal principal) OAuth2TokenServiceImpl.getTokens(NuxeoOAuth2TokenType type, NuxeoPrincipal principal) OAuth2TokenService.search(String query, NuxeoPrincipal principal) Finds the oAuth2 tokens that match the givenqueryas the given principal.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 NuxeoPrincipalModifier and TypeFieldDescriptionprotected NuxeoPrincipalCoreProxyWithWorkflowFactory.DocumentPublisherUnrestricted.principalMethods in org.nuxeo.ecm.platform.publisher.task with parameters of type NuxeoPrincipalModifier and TypeMethodDescriptionprotected 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 NuxeoPrincipalModifierConstructorDescriptionChangePermissionUnrestricted(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 NuxeoPrincipalModifier and TypeMethodDescriptionprotected 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.task
Methods in org.nuxeo.ecm.platform.task with parameters of type NuxeoPrincipalModifier and TypeMethodDescriptionTaskService.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.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.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.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.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.TaskProvider.endTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated) Ends the taskTaskService.endTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated) Ends the taskTaskProvider.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.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.TaskService.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 NuxeoPrincipalModifier and TypeMethodDescriptionTaskActorsHelper.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 NuxeoPrincipalModifier and TypeMethodDescriptionTaskServiceImpl.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) 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) 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) 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) 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) DocumentTaskProvider.endTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated) TaskServiceImpl.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.DocumentTaskProvider.getAllTaskInstances(String processId, NuxeoPrincipal user, CoreSession session) TaskServiceImpl.getAllTaskInstances(String processId, NuxeoPrincipal user, CoreSession session) DocumentTaskProvider.getTaskInstances(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession) 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) TaskServiceImpl.rejectTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment) Constructors in org.nuxeo.ecm.platform.task.core.service with parameters of type NuxeoPrincipalModifierConstructorDescriptionCreateTaskUnrestricted(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 NuxeoPrincipalModifier and TypeMethodDescriptionprotected 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 NuxeoPrincipalModifier and TypeMethodDescriptionKeycloakUserMapper.getOrCreateAndUpdateNuxeoPrincipal(Object userObject) KeycloakUserMapper.getOrCreateAndUpdateNuxeoPrincipal(Object userObject, boolean createIfNeeded, boolean update, Map<String, Serializable> params) Methods in org.nuxeo.ecm.platform.ui.web.keycloak with parameters of type NuxeoPrincipalModifier and TypeMethodDescriptionKeycloakUserMapper.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 NuxeoPrincipalModifier and TypeClassDescriptionclassprotected static classProvides 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 NuxeoPrincipalModifier and TypeMethodDescriptionprotected NuxeoPrincipalNuxeoPrincipalImpl.cloneTransferable()FakeUserManagerImpl.getPrincipal(String username, boolean fetchReferences) MultiTenantUserManager.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 usernameUserManager.getPrincipal(String username, boolean fetchReferences) Retrieves the principal with the given username or null if it does not exist.UserManagerImpl.getPrincipal(String username, boolean fetchReferences) UserManagerImpl.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) Deprecated, for removal: This API element is subject to removal in a future version.since 2025.8, the transient flag is deduced from the userId whether it is starting withtransient/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 NuxeoPrincipalModifier and TypeMethodDescriptionFakeUserManagerImpl.searchPrincipals(String pattern) UserManager.searchPrincipals(String pattern) Deprecated.UserManagerImpl.searchPrincipals(String pattern) Methods in org.nuxeo.ecm.platform.usermanager with parameters of type NuxeoPrincipalModifier and TypeMethodDescriptionstatic voidUserManagerHelper.addUserToGroup(NuxeoPrincipal principal, NuxeoGroup group) static voidUserManagerHelper.addUserToGroup(NuxeoPrincipal principal, NuxeoGroup group, boolean loadGroupMembers) static voidUserManagerHelper.removeUserFromGroup(NuxeoPrincipal principal, NuxeoGroup group) static voidUserManagerHelper.removeUserFromGroup(NuxeoPrincipal principal, NuxeoGroup group, boolean loadGroupMembers) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.usermanager.io
Methods in org.nuxeo.ecm.platform.usermanager.io that return NuxeoPrincipalModifier and TypeMethodDescriptionprotected NuxeoPrincipalNuxeoPrincipalJsonReader.readEntity(com.fasterxml.jackson.databind.JsonNode jn) Methods in org.nuxeo.ecm.platform.usermanager.io with parameters of type NuxeoPrincipalModifier and TypeMethodDescriptionprotected 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 NuxeoPrincipalModifier and TypeFieldDescriptionprotected List<NuxeoPrincipal> NuxeoPrincipalsPageProvider.pagePrincipalsMethods in org.nuxeo.ecm.platform.usermanager.providers that return NuxeoPrincipalMethods in org.nuxeo.ecm.platform.usermanager.providers that return types with arguments of type NuxeoPrincipal -
Uses of NuxeoPrincipal in org.nuxeo.ecm.platform.userworkspace.api
Methods in org.nuxeo.ecm.platform.userworkspace.api with parameters of type NuxeoPrincipalModifier and TypeMethodDescriptionUserWorkspaceService.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 NuxeoPrincipalModifier and TypeMethodDescriptionprotected 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.AbstractUserWorkspaceImpl.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.opensearch1
Fields in org.nuxeo.ecm.restapi.opensearch1 declared as NuxeoPrincipalModifier and TypeFieldDescriptionprotected NuxeoPrincipalAbstractSearchRequestFilterImpl.principalMethods in org.nuxeo.ecm.restapi.opensearch1 that return NuxeoPrincipalConstructors in org.nuxeo.ecm.restapi.opensearch1 with parameters of type NuxeoPrincipalModifierConstructorDescriptionDocRequestFilter(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.ecm.restapi.opensearch1.filter
Methods in org.nuxeo.ecm.restapi.opensearch1.filter with parameters of type NuxeoPrincipalModifier and TypeMethodDescriptionvoidRequestValidator.checkAccess(NuxeoPrincipal principal, String docAcl) -
Uses of NuxeoPrincipal in org.nuxeo.ecm.restapi.server
Methods in org.nuxeo.ecm.restapi.server that return NuxeoPrincipal -
Uses of NuxeoPrincipal in org.nuxeo.ecm.restapi.server.usermanager
Methods in org.nuxeo.ecm.restapi.server.usermanager that return NuxeoPrincipalModifier and TypeMethodDescriptionprotected NuxeoPrincipalUserRootObject.createArtifact(NuxeoPrincipal principal) MeObject.doGet(jakarta.ws.rs.core.Request request) protected NuxeoPrincipalUserRootObject.getArtifact(String id) protected NuxeoPrincipalUserObject.updateArtifact(NuxeoPrincipal principal) Methods in org.nuxeo.ecm.restapi.server.usermanager with parameters of type NuxeoPrincipalModifier and TypeMethodDescriptionprotected 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 -
Uses of NuxeoPrincipal in org.nuxeo.ecm.user.center.profile.rest
Methods in org.nuxeo.ecm.user.center.profile.rest with parameters of type NuxeoPrincipalModifier and TypeMethodDescriptionvoidUserProfileEnricher.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 NuxeoPrincipalModifier and TypeMethodDescriptionUserInvitationComponent.createUser(CoreSession session, DocumentModel registrationDoc) UserInvitationService.createUser(CoreSession session, DocumentModel registrationDoc) DefaultInvitationUserFactory.doCreateUser(CoreSession session, DocumentModel registrationDoc, UserRegistrationConfiguration configuration) InvitationUserFactory.doCreateUser(CoreSession session, DocumentModel registrationDoc, UserRegistrationConfiguration configuration) Handle user creationMethods in org.nuxeo.ecm.user.invite with parameters of type NuxeoPrincipalModifier and TypeMethodDescriptionprotected 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 NuxeoPrincipalModifier and TypeMethodDescriptionWebContext.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 -
Uses of NuxeoPrincipal in org.nuxeo.template.context.extensions
Methods in org.nuxeo.template.context.extensions that return NuxeoPrincipal -
Uses of NuxeoPrincipal in org.nuxeo.usermapper.extension
Methods in org.nuxeo.usermapper.extension that return NuxeoPrincipalModifier and TypeMethodDescriptionAbstractUserMapper.getOrCreateAndUpdateNuxeoPrincipal(Object userObject) AbstractUserMapper.getOrCreateAndUpdateNuxeoPrincipal(Object userObject, boolean createIfNeeded, boolean update, Map<String, Serializable> params) UserMapper.getOrCreateAndUpdateNuxeoPrincipal(Object userObject) Should retrieve (create if needed) and update the NuxeoPrincipal according to the given userObjectUserMapper.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 NuxeoPrincipalModifier and TypeMethodDescriptionGroovyUserMapper.wrapNuxeoPrincipal(NuxeoPrincipal principal, Object userObject, Map<String, Serializable> params) NashornUserMapper.wrapNuxeoPrincipal(NuxeoPrincipal principal, Object userObject, Map<String, Serializable> params) UserMapper.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 NuxeoPrincipalModifier and TypeMethodDescriptionUserMapperComponent.getOrCreateAndUpdateNuxeoPrincipal(String mappingName, Object userObject) UserMapperComponent.getOrCreateAndUpdateNuxeoPrincipal(String mappingName, Object userObject, boolean createIfNeeded, boolean update, Map<String, Serializable> params) UserMapperService.getOrCreateAndUpdateNuxeoPrincipal(String mappingName, Object userObject) Should retrieve (create if needed) and update the NuxeoPrincipal according to the given userObjectUserMapperService.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 NuxeoPrincipalModifier and TypeMethodDescriptionUserMapperComponent.wrapNuxeoPrincipal(String mappingName, NuxeoPrincipal principal, Object nativePrincipal, Map<String, Serializable> params) UserMapperService.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 NuxeoPrincipalModifier and TypeMethodDescriptionstatic StringHelpers.principalFullName(NuxeoPrincipal principal) -
Uses of NuxeoPrincipal in org.nuxeo.wopi.lock
Methods in org.nuxeo.wopi.lock with parameters of type NuxeoPrincipalModifier and TypeMethodDescriptionWOPILockSecurityPolicy.checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals)
CoreInstance.getCoreSession(String, NuxeoPrincipal)instead