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 NuxeoPrincipal
AbstractFileSystemItem. principal
Constructors 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 FolderItem
PermissionTopLevelFactory. getTopLevelFolderItem(NuxeoPrincipal principal)
protected FolderItem
UserSyncRootParentFactory. getTopLevelFolderItem(NuxeoPrincipal principal)
FolderItem
PermissionTopLevelFactory. getVirtualFolderItem(NuxeoPrincipal principal)
FolderItem
SharedSyncRootParentFactory. getVirtualFolderItem(NuxeoPrincipal principal)
FolderItem
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 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 FolderItem
UserWorkspaceTopLevelFactory. getTopLevelFolderItem(NuxeoPrincipal principal)
FolderItem
UserWorkspaceSyncRootParentFactory. getVirtualFolderItem(NuxeoPrincipal principal)
FolderItem
UserWorkspaceTopLevelFactory. 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 void
NuxeoDriveFileSystemDeletionListener. 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 boolean
FileSystemItemManager. canMove(String srcId, String destId, NuxeoPrincipal principal)
Return true if theFileSystemItem
with the given source id can be moved to theFileSystemItem
with the given destination id for the given principal.default FileItem
FileSystemItemManager. createFile(String parentId, Blob blob, NuxeoPrincipal principal)
Deprecated.since 9.1, useFileSystemItemManager.createFile(String, Blob, NuxeoPrincipal, boolean)
insteadFileItem
FileSystemItemManager. createFile(String parentId, Blob blob, NuxeoPrincipal principal, boolean overwrite)
Creates a file with the given blob in theFileSystemItem
with the given id for the given principal.default FolderItem
FileSystemItemManager. createFolder(String parentId, String name, NuxeoPrincipal principal)
Deprecated.since 9.1, useFileSystemItemManager.createFolder(String, String, NuxeoPrincipal, boolean)
insteadFolderItem
FileSystemItemManager. createFolder(String parentId, String name, NuxeoPrincipal principal, boolean overwrite)
Creates a folder with the given name in theFileSystemItem
with the given id for the given principal.void
FileSystemItemManager. delete(String id, String parentId, NuxeoPrincipal principal)
Deletes theFileSystemItem
with the given id and parent id for the given principal.void
FileSystemItemManager. delete(String id, NuxeoPrincipal principal)
Deletes theFileSystemItem
with the given id for the given principal.boolean
FileSystemItemFactory. exists(String id, NuxeoPrincipal principal)
Returns true if aFileSystemItem
with the given id exists for the given principal.boolean
FileSystemItemManager. exists(String id, NuxeoPrincipal principal)
Returns true if aFileSystemItem
with the given id exists for the given principal.FileSystemChangeSummary
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.List<FileSystemItem>
FileSystemItemManager. getChildren(String id, NuxeoPrincipal principal)
Gets the children of theFileSystemItem
with 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.FileSystemItem
FileSystemItemFactory. getFileSystemItemById(String id, String parentId, NuxeoPrincipal principal)
Gets theFileSystemItem
with the given id and parent id using a core session fetched with the given principal.FileSystemItem
FileSystemItemFactory. getFileSystemItemById(String id, NuxeoPrincipal principal)
Gets theFileSystemItem
with the given id using a core session fetched with the given principal.FileSystemItem
FileSystemItemManager. getFileSystemItemById(String id, String parentId, NuxeoPrincipal principal)
Gets theFileSystemItem
with the given id and parent id for the given principal.FileSystemItem
FileSystemItemManager. getFileSystemItemById(String id, NuxeoPrincipal principal)
Gets theFileSystemItem
with 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.FolderItem
FileSystemItemManager. getTopLevelFolder(NuxeoPrincipal principal)
Gets the top levelFolderItem
for the given principal.FolderItem
TopLevelFolderItemFactory. getTopLevelFolderItem(NuxeoPrincipal principal)
FolderItem
VirtualFolderItemFactory. getVirtualFolderItem(NuxeoPrincipal principal)
Returns the (unique) virtualFolderItem
.boolean
NuxeoDriveManager. isSynchronizationRoot(NuxeoPrincipal principal, DocumentModel doc)
Checks if the givenDocumentModel
is a synchronization root for the given user.FileSystemItem
FileSystemItemManager. move(String srcId, String destId, NuxeoPrincipal principal)
Moves theFileSystemItem
with the given source id to theFileSystemItem
with the given destination id for the given principal.void
NuxeoDriveManager. registerSynchronizationRoot(NuxeoPrincipal principal, DocumentModel newRootContainer, CoreSession session)
FileSystemItem
FileSystemItemManager. rename(String id, String name, NuxeoPrincipal principal)
Renames theFileSystemItem
with the given id with the given name for the given principal.ScrollFileSystemItemList
FileSystemItemManager. scrollDescendants(String id, NuxeoPrincipal principal, String scrollId, int batchSize, long keepAlive)
Retrieves at mostbatchSize
descendants of theFolderItem
with the givenid
for the givenprincipal
and the givenscrollId
.void
NuxeoDriveManager. unregisterSynchronizationRoot(NuxeoPrincipal principal, DocumentModel rootContainer, CoreSession session)
FileItem
FileSystemItemManager. updateFile(String id, String parentId, Blob blob, NuxeoPrincipal principal)
Updates theFileSystemItem
with the given id and parent id with the given blob for the given principal.FileItem
FileSystemItemManager. updateFile(String id, Blob blob, NuxeoPrincipal principal)
Updates theFileSystemItem
with 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 boolean
FileSystemItemManagerImpl. 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)
FileItem
FileSystemItemManagerImpl. createFile(String parentId, Blob blob, NuxeoPrincipal principal, boolean overwrite)
FolderItem
FileSystemItemManagerImpl. createFolder(String parentId, String name, NuxeoPrincipal principal, boolean overwrite)
void
FileSystemItemManagerImpl. delete(String id, String parentId, NuxeoPrincipal principal)
void
FileSystemItemManagerImpl. delete(String id, NuxeoPrincipal principal)
boolean
AbstractFileSystemItemFactory. exists(String id, NuxeoPrincipal principal)
The default factory considers that aFileSystemItem
with the given id exists if the backingDocumentModel
can be fetched andAbstractFileSystemItemFactory.isFileSystemItem(DocumentModel)
returns true.boolean
AbstractVirtualFolderItemFactory. exists(String id, NuxeoPrincipal principal)
boolean
FileSystemItemManagerImpl. exists(String id, NuxeoPrincipal principal)
FileSystemChangeSummary
NuxeoDriveManagerImpl. getChangeSummary(NuxeoPrincipal principal, Map<String,Set<IdRef>> lastSyncRootRefs, long lowerBound)
Uses theAuditChangeFinder
to 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)
FileSystemItem
AbstractFileSystemItemFactory. getFileSystemItemById(String id, String parentId, NuxeoPrincipal principal)
FileSystemItem
AbstractFileSystemItemFactory. getFileSystemItemById(String id, NuxeoPrincipal principal)
FileSystemItem
AbstractVirtualFolderItemFactory. getFileSystemItemById(String id, String parentId, NuxeoPrincipal principal)
FileSystemItem
AbstractVirtualFolderItemFactory. getFileSystemItemById(String id, NuxeoPrincipal principal)
FileSystemItem
FileSystemItemManagerImpl. getFileSystemItemById(String id, String parentId, NuxeoPrincipal principal)
FileSystemItem
FileSystemItemManagerImpl. getFileSystemItemById(String id, NuxeoPrincipal principal)
Map<String,SynchronizationRoots>
NuxeoDriveManagerImpl. getSynchronizationRoots(NuxeoPrincipal principal)
FolderItem
FileSystemItemManagerImpl. getTopLevelFolder(NuxeoPrincipal principal)
FolderItem
DefaultTopLevelFolderItemFactory. getTopLevelFolderItem(NuxeoPrincipal principal)
FolderItem
DefaultTopLevelFolderItemFactory. getVirtualFolderItem(NuxeoPrincipal principal)
boolean
NuxeoDriveManagerImpl. isSynchronizationRoot(NuxeoPrincipal principal, DocumentModel doc)
FileSystemItem
FileSystemItemManagerImpl. move(String srcId, String destId, NuxeoPrincipal principal)
void
NuxeoDriveManagerImpl. registerSynchronizationRoot(NuxeoPrincipal principal, DocumentModel newRootContainer, CoreSession session)
FileSystemItem
FileSystemItemManagerImpl. rename(String id, String name, NuxeoPrincipal principal)
ScrollFileSystemItemList
FileSystemItemManagerImpl. scrollDescendants(String id, NuxeoPrincipal principal, String scrollId, int batchSize, long keepAlive)
void
NuxeoDriveManagerImpl. unregisterSynchronizationRoot(NuxeoPrincipal principal, DocumentModel rootContainer, CoreSession session)
FileItem
FileSystemItemManagerImpl. updateFile(String id, String parentId, Blob blob, NuxeoPrincipal principal)
FileItem
FileSystemItemManagerImpl. 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 NuxeoPrincipal
DuoFactorsAuthenticator. createIdentity(String username)
protected NuxeoPrincipal
DuoFactorsAuthenticator. validateUserIdentity()
-
Uses of NuxeoPrincipal in org.nuxeo.ecm.automation
Methods in org.nuxeo.ecm.automation that return NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipal
OperationContext. 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 String
UserInvite. 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 NuxeoPrincipal
PrincipalWrapper. principal
Methods in org.nuxeo.ecm.automation.core.scripting that return NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipal
PrincipalWrapper. 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 NuxeoPrincipal
PlatformFunctions. getPrincipal(String username)
NuxeoPrincipal
PlatformFunctions. 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 void
PrincipalHelper.EmailCollector. collect(NuxeoPrincipal principal)
protected String
PlatformFunctions. 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 StringList
PlatformFunctions. 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 class
SystemPrincipal
Methods in org.nuxeo.ecm.core.api that return NuxeoPrincipal Modifier and Type Method Description static NuxeoPrincipal
NuxeoPrincipal. getCurrent()
Returns the current logged inNuxeoPrincipal
.protected static NuxeoPrincipal
CoreInstance. getPrincipal(String username)
NuxeoPrincipal
CoreSession. getPrincipal()
Gets the principal that created the client session.NuxeoPrincipal
DocumentModel. 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 CloseableCoreSession
CoreSessionService. createCoreSession(String repositoryName, NuxeoPrincipal principal)
Instantiates aCoreSession
.CloseableCoreSession
CoreSessionServiceImpl. 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 CoreSession
CoreInstance. getCoreSession(String repositoryName, NuxeoPrincipal principal)
Gets aCoreSession
for the given principal.boolean
AbstractSession. hasPermission(NuxeoPrincipal principal, DocumentRef docRef, String permission)
protected boolean
AbstractSession. hasPermission(NuxeoPrincipal principal, Document doc, String permission)
boolean
CoreSession. hasPermission(NuxeoPrincipal principal, DocumentRef docRef, String permission)
Checks if a given principal has the given privilege on the referred document.static CloseableCoreSession
CoreInstance. 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 class
UserPrincipal
NuxeoPrincipal stub implementation.Fields in org.nuxeo.ecm.core.api.impl declared as NuxeoPrincipal Modifier and Type Field Description protected NuxeoPrincipal
DocumentModelImpl. principal
Methods in org.nuxeo.ecm.core.api.impl that return NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipal
DocumentModelImpl. getPrincipal()
NuxeoPrincipal
SimpleDocumentModel. 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 NuxeoPrincipal
LocalSession. principal
Methods in org.nuxeo.ecm.core.api.local that return NuxeoPrincipal Modifier and Type Method Description static NuxeoPrincipal
ClientLoginModule. getCurrentPrincipal()
Deprecated.since 11.1, usegetCurrent()
insteadNuxeoPrincipal
LocalSession. 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 boolean
TrashService. canPurgeOrUntrash(List<DocumentModel> docs, NuxeoPrincipal principal)
Are all documents purgeable/undeletable?default boolean
TrashService. canPurgeOrUntrash(DocumentModel doc, NuxeoPrincipal principal)
Is document purgeable/untrashable?DocumentModel
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 NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipal
EventContext. getPrincipal()
Gets the current principal.Methods in org.nuxeo.ecm.core.event with parameters of type NuxeoPrincipal Modifier and Type Method Description void
EventContext. 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 NuxeoPrincipal
EventContextImpl. principal
Methods in org.nuxeo.ecm.core.event.impl that return NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipal
EventContextImpl. getPrincipal()
NuxeoPrincipal
ShallowDocumentModel. getPrincipal()
Methods in org.nuxeo.ecm.core.event.impl with parameters of type NuxeoPrincipal Modifier and Type Method Description void
EventContextImpl. 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 NuxeoPrincipal
DownloadServiceImpl. 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 boolean
BaseSession. canDeleteUndeletable(NuxeoPrincipal principal)
Can undeletable documents be deleted.void
Document. 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 String
CMISQLQueryMaker. 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 NuxeoPrincipal
QueryFilter. principal
Methods in org.nuxeo.ecm.core.query that return NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipal
QueryFilter. 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 SQLQuery
SQLQuery.IdentityTransformer. transform(NuxeoPrincipal principal, SQLQuery query)
SQLQuery
SQLQuery.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 Access
CheckInSecurityPolicy. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals)
Access
LockSecurityPolicy. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals)
Access
RetentionAndHoldSecurityPolicy. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals)
Access
SecurityPolicy. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals)
Checks given permission for doc and principal.Access
SecurityPolicyService. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] principalsToCheck)
Checks given permission for doc and principal.Access
SecurityPolicyServiceImpl. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals)
boolean
SecurityService. 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)
String
SecurityPolicy.IdentityQueryTransformer. transform(NuxeoPrincipal principal, String query)
String
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 NuxeoPrincipal Modifier and Type Method Description void
DBSDocument. remove(NuxeoPrincipal principal)
protected void
DBSSession. 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 void
SQLDocumentLive. remove(NuxeoPrincipal principal)
void
SQLDocumentProxy. 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 Access
NoFileSecurityPolicy. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals)
SQLQuery
NoFile2SecurityPolicy.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 boolean
AbstractTrashService. canDelete(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies)
boolean
TrashService. canDelete(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies)
Deprecated.since 10.1 only used in JSF part, no replacementdefault boolean
TrashService. canPurgeOrUndelete(List<DocumentModel> docs, NuxeoPrincipal principal)
Deprecated.since 10.1, useTrashService.canPurgeOrUntrash(List, NuxeoPrincipal)
boolean
AbstractTrashService. canPurgeOrUntrash(List<DocumentModel> docs, NuxeoPrincipal principal)
DocumentModel
AbstractTrashService. getAboveDocument(DocumentModel doc, NuxeoPrincipal principal)
protected TrashInfo
AbstractTrashService. getInfo(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies, boolean checkDeleted)
TrashInfo
AbstractTrashService. getTrashInfo(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies, boolean checkDeleted)
TrashInfo
TrashService. 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 class
MultiTenantPrincipal
Methods in org.nuxeo.ecm.multi.tenant that return NuxeoPrincipal Modifier and Type Method Description protected NuxeoPrincipal
MultiTenantUserManager. 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 String
PermissionGrantedNotificationListener. 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 NuxeoPrincipal
AbstractActionContext. currentPrincipal
Methods in org.nuxeo.ecm.platform.actions that return NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipal
AbstractActionContext. getCurrentPrincipal()
NuxeoPrincipal
ActionContext. 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 void
AbstractActionContext. setCurrentPrincipal(NuxeoPrincipal currentPrincipal)
void
ActionContext. 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 boolean
LatestCreatedUsersOrGroupsPageProvider. 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 NuxeoPrincipal
AbstractCommentManager. getAuthor(DocumentModel docModel)
Methods in org.nuxeo.ecm.platform.comment.impl with parameters of type NuxeoPrincipal Modifier and Type Method Description protected void
TreeCommentManager. 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 NuxeoPrincipal
UserManagerWithComputedGroups. 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 void
NotificationService. addSubscription(String username, String notification, DocumentModel doc, Boolean sendConfirmationEmail, NuxeoPrincipal principal, String notificationName)
void
NotificationService. addSubscriptions(String username, DocumentModel doc, Boolean sendConfirmationEmail, NuxeoPrincipal principal)
void
NotificationService. 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)
DocumentModelList
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 NuxeoPrincipal Modifier and Type Method Description protected abstract void
AbstractUnicityChecker. onDuplicatedDoc(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs, Event event)
protected void
AsynchronousUnicityCheckListener. onDuplicatedDoc(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs, Event event)
protected void
SynchronousUnicityCheckListener. onDuplicatedDoc(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs, Event event)
protected void
AbstractUnicityChecker. 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)
DocumentModelList
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 NuxeoPrincipal Modifier and Type Method Description Access
MailMessageSecurityPolicy. 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 void
NotificationManager. addSubscription(String username, String notification, DocumentModel doc, Boolean sendConfirmationEmail, NuxeoPrincipal principal, String notificationName)
Called when a user subscribes to a notification.void
NotificationManager. addSubscriptions(String username, DocumentModel doc, Boolean sendConfirmationEmail, NuxeoPrincipal principal)
void
NotificationManager. 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 void
OAuth2ClientServiceImpl. checkPermission(NuxeoPrincipal principal)
OAuth2Client
OAuth2ClientService. create(OAuth2Client oAuth2Client, NuxeoPrincipal principal)
Registers a new oAuth2 client as the given principal.OAuth2Client
OAuth2ClientServiceImpl. create(OAuth2Client oAuth2Client, NuxeoPrincipal principal)
void
OAuth2ClientService. delete(String clientId, NuxeoPrincipal principal)
Deletes an oAuth2 client as the given principal.void
OAuth2ClientServiceImpl. delete(String clientId, NuxeoPrincipal principal)
protected <T> T
OAuth2ClientServiceImpl. execute(Function<Session,T> function, NuxeoPrincipal principal)
OAuth2Client
OAuth2ClientService. update(String clientId, OAuth2Client oAuth2Client, NuxeoPrincipal principal)
Updates an exiting oAuth2 client as the given principal.OAuth2Client
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 NuxeoPrincipal Modifier and Type Method Description protected void
OAuth2TokenServiceImpl. 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 givenquery
as 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 NuxeoPrincipal
CoreProxyWithWorkflowFactory.DocumentPublisherUnrestricted. principal
Methods in org.nuxeo.ecm.platform.publisher.task with parameters of type NuxeoPrincipal Modifier and Type Method Description protected void
CoreProxyWithWorkflowFactory. createTask(DocumentModel document, CoreSession session, NuxeoPrincipal principal)
protected void
CoreProxyWithWorkflowFactory. endTask(DocumentModel document, NuxeoPrincipal currentUser, CoreSession session, String comment, PublishingEvent event)
protected boolean
CoreProxyWithWorkflowFactory. hasValidationTask(DocumentModel proxy, NuxeoPrincipal currentUser)
protected boolean
CoreProxyWithWorkflowFactory. isValidator(DocumentModel document, NuxeoPrincipal principal)
protected void
CoreProxyWithWorkflowFactory. 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 void
AbstractPageProvider. 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 boolean
DocumentRoutingService. 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 boolean
DocumentRoutingServiceImpl. 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 String
TaskService. acceptTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment)
Ends the task using event nameTaskEventNames.WORKFLOW_TASK_COMPLETED
and marking the task as validated.boolean
TaskService. 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.String
TaskProvider. endTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated)
Ends the taskString
TaskService. 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 givenprocessId
and 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.String
TaskService. rejectTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment)
Ends the task using event nameTaskEventNames.WORKFLOW_TASK_REJECTED
and 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 String
TaskServiceImpl. acceptTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment)
boolean
TaskServiceImpl. canEndTask(NuxeoPrincipal principal, Task task)
protected boolean
TaskServiceImpl. checkPermissions(NuxeoPrincipal principal, Task task)
void
CreateTaskUnrestricted. 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)
void
CreateTaskUnrestricted. 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)
void
CreateTaskUnrestricted. 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)
void
CreateTaskUnrestricted. 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)
String
DocumentTaskProvider. endTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated)
String
TaskServiceImpl. endTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated)
Use the task provider held by theTask.TASK_PROVIDER_KEY
task 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 boolean
TaskServiceImpl. isTaskAssignedToUser(Task task, NuxeoPrincipal user, boolean checkDelegatedActors)
static void
TaskEventNotificationHelper. notifyEvent(CoreSession coreSession, DocumentModel document, NuxeoPrincipal principal, Task task, String eventId, Map<String,Serializable> properties, String comment, String category)
protected void
TaskServiceImpl. notifyEvent(CoreSession session, Task task, List<DocumentModel> docs, String event, Map<String,Serializable> eventInfo, String comment, NuxeoPrincipal principal, List<String> actorIds)
static void
TaskEventNotificationHelper. notifyTaskEnded(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, Map<String,Serializable> extraEventProperties)
String
TaskServiceImpl. 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 NuxeoPrincipal
NuxeoAuthenticationFilter. 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 NuxeoPrincipal
KeycloakUserMapper. getOrCreateAndUpdateNuxeoPrincipal(Object userObject)
NuxeoPrincipal
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 NuxeoPrincipal Modifier and Type Method Description Object
KeycloakUserMapper. 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 class
NuxeoPrincipalImpl
protected static class
NuxeoPrincipalImpl.TransferableClone
Provides 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 NuxeoPrincipal
NuxeoPrincipalImpl. cloneTransferable()
NuxeoPrincipal
FakeUserManagerImpl. getPrincipal(String username, boolean fetchReferences)
NuxeoPrincipal
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 NuxeoPrincipal
UserManager. getPrincipal(String username)
CallsUserManager.getPrincipal(String, boolean)
to retrieve a principal and its references, given its usernameNuxeoPrincipal
UserManager. getPrincipal(String username, boolean fetchReferences)
Retrieves the principal with the given username or null if it does not exist.NuxeoPrincipal
UserManagerImpl. getPrincipal(String username, boolean fetchReferences)
NuxeoPrincipal
UserManagerImpl. getPrincipal(String username, DocumentModel context)
protected NuxeoPrincipal
UserManagerImpl. getPrincipal(String username, DocumentModel context, boolean fetchReferences)
protected NuxeoPrincipal
UserManagerImpl. getPrincipalUsingCache(String username)
protected NuxeoPrincipal
UserManagerImpl. makeAnonymousPrincipal()
protected NuxeoPrincipal
UserManagerImpl. makePrincipal(DocumentModel userEntry)
protected NuxeoPrincipal
UserManagerImpl. makePrincipal(DocumentModel userEntry, boolean anonymous, boolean isTransient, List<String> groups)
protected NuxeoPrincipal
UserManagerImpl. makePrincipal(DocumentModel userEntry, boolean anonymous, List<String> groups)
protected NuxeoPrincipal
UserManagerImpl. makeTransientPrincipal(String username)
protected NuxeoPrincipal
UserManagerImpl. 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 NuxeoPrincipal
NuxeoPrincipalJsonReader. 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 void
NuxeoPrincipalJsonWriter. 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. pagePrincipals
Methods in org.nuxeo.ecm.platform.usermanager.providers that return NuxeoPrincipal Modifier and Type Method Description protected NuxeoPrincipal
GroupMemberUsersPageProvider. 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 DocumentModel
UserWorkspaceService. getUserPersonalWorkspace(NuxeoPrincipal principal, DocumentModel context)
Gets a detached user workspace of a specified user depending of the passed principal.boolean
UserWorkspaceService. 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 DocumentModel
AbstractUserWorkspaceImpl. getCurrentUserPersonalWorkspace(NuxeoPrincipal principal, String userName, CoreSession userCoreSession)
This method handles the UserWorkspace creation with a Principal or a username.protected PathRef
AbstractUserWorkspaceImpl. getExistingUserWorkspace(CoreSession session, PathRef rootref, NuxeoPrincipal principal, String username)
protected String
AbstractUserWorkspaceImpl. getUserName(NuxeoPrincipal principal, String username)
Gets the base username to use to determine a user's workspace.DocumentModel
AbstractUserWorkspaceImpl. getUserPersonalWorkspace(NuxeoPrincipal principal, DocumentModel context)
boolean
AbstractUserWorkspaceImpl. isUnderUserWorkspace(NuxeoPrincipal principal, String username, DocumentModel doc)
protected void
AbstractUserWorkspaceImpl. 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 NuxeoPrincipal
OAuth2Object. 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 NuxeoPrincipal
UserRootObject. createArtifact(NuxeoPrincipal principal)
NuxeoPrincipal
MeObject. doGet(javax.ws.rs.core.Request request)
protected NuxeoPrincipal
UserRootObject. getArtifact(String id)
protected NuxeoPrincipal
UserObject. updateArtifact(NuxeoPrincipal principal)
Methods in org.nuxeo.ecm.restapi.server.jaxrs.usermanager with parameters of type NuxeoPrincipal Modifier and Type Method Description protected void
UserToGroupObject. addUserToGroup(NuxeoPrincipal principal, NuxeoGroup group)
protected void
UserRootObject. checkPrecondition(NuxeoPrincipal principal)
protected NuxeoPrincipal
UserRootObject. createArtifact(NuxeoPrincipal principal)
protected boolean
UserObject. isAPowerUserEditableArtifact(NuxeoPrincipal artifact)
protected void
UserToGroupObject. removeUserFromGroup(NuxeoPrincipal principal, NuxeoGroup group)
protected NuxeoPrincipal
UserObject. 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 NuxeoPrincipal
RestServerInit. 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 void
UserProfileEnricher. 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 NuxeoPrincipal
UserInvitationComponent. createUser(CoreSession session, DocumentModel registrationDoc)
NuxeoPrincipal
UserInvitationService. createUser(CoreSession session, DocumentModel registrationDoc)
NuxeoPrincipal
DefaultInvitationUserFactory. doCreateUser(CoreSession session, DocumentModel registrationDoc, UserRegistrationConfiguration configuration)
NuxeoPrincipal
InvitationUserFactory. 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 boolean
DefaultInvitationUserFactory. acceptGroup(NuxeoPrincipal originatingPrincipal, String groupName)
void
DefaultInvitationUserFactory. doPostUserCreation(CoreSession session, DocumentModel registrationDoc, NuxeoPrincipal user)
void
InvitationUserFactory. 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 NuxeoPrincipal
WebContext. 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 NuxeoPrincipal
AbstractWebContext. 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 NuxeoPrincipal
AbstractSearchRequestFilterImpl. principal
Methods in org.nuxeo.elasticsearch.http.readonly that return NuxeoPrincipal Modifier and Type Method Description NuxeoPrincipal
Main. 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 void
RequestValidator. 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 NuxeoPrincipal
ContextFunctions. 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 NuxeoPrincipal
AbstractUserMapper. getOrCreateAndUpdateNuxeoPrincipal(Object userObject)
NuxeoPrincipal
AbstractUserMapper. getOrCreateAndUpdateNuxeoPrincipal(Object userObject, boolean createIfNeeded, boolean update, Map<String,Serializable> params)
NuxeoPrincipal
UserMapper. getOrCreateAndUpdateNuxeoPrincipal(Object userObject)
Should retrieve (create if needed) and update the NuxeoPrincipal according to the given userObjectNuxeoPrincipal
UserMapper. 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 Object
GroovyUserMapper. wrapNuxeoPrincipal(NuxeoPrincipal principal, Object userObject, Map<String,Serializable> params)
Object
NashornUserMapper. wrapNuxeoPrincipal(NuxeoPrincipal principal, Object userObject, Map<String,Serializable> params)
Object
UserMapper. wrapNuxeoPrincipal(NuxeoPrincipal principal, Object nativePrincipal, Map<String,Serializable> params)
Wrap theNuxeoPrincipal
as 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 NuxeoPrincipal
UserMapperComponent. getOrCreateAndUpdateNuxeoPrincipal(String mappingName, Object userObject)
NuxeoPrincipal
UserMapperComponent. getOrCreateAndUpdateNuxeoPrincipal(String mappingName, Object userObject, boolean createIfNeeded, boolean update, Map<String,Serializable> params)
NuxeoPrincipal
UserMapperService. getOrCreateAndUpdateNuxeoPrincipal(String mappingName, Object userObject)
Should retrieve (create if needed) and update the NuxeoPrincipal according to the given userObjectNuxeoPrincipal
UserMapperService. 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 Object
UserMapperComponent. wrapNuxeoPrincipal(String mappingName, NuxeoPrincipal principal, Object nativePrincipal, Map<String,Serializable> params)
Object
UserMapperService. wrapNuxeoPrincipal(String mappingName, NuxeoPrincipal principal, Object nativePrincipal, Map<String,Serializable> params)
Wrap theNuxeoPrincipal
as 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 String
Helpers. 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 Access
WOPILockSecurityPolicy. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals)
-