Modifier and Type | Method and Description |
---|---|
static boolean |
SecurityHelper.canEditDocumentation(NuxeoPrincipal principal) |
Modifier and Type | Method and Description |
---|---|
protected static NuxeoPrincipal |
ExternalLinkManager.getUser() |
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
AbstractFileSystemItem.principal |
Constructor and 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) |
Constructor and Description |
---|
PermissionTopLevelFolderItem(String factoryName,
NuxeoPrincipal principal,
String folderName,
List<String> childrenFactoryNames) |
SharedSyncRootParentFolderItem(String factoryName,
NuxeoPrincipal principal,
String parentId,
String parentPath,
String folderName) |
Modifier and Type | Method and Description |
---|---|
protected FolderItem |
UserSyncRootParentFactory.getTopLevelFolderItem(NuxeoPrincipal principal) |
FolderItem |
PermissionTopLevelFactory.getTopLevelFolderItem(NuxeoPrincipal principal) |
FolderItem |
UserSyncRootParentFactory.getVirtualFolderItem(NuxeoPrincipal principal) |
FolderItem |
SharedSyncRootParentFactory.getVirtualFolderItem(NuxeoPrincipal principal) |
FolderItem |
PermissionTopLevelFactory.getVirtualFolderItem(NuxeoPrincipal principal) |
Constructor and Description |
---|
UserWorkspaceSyncRootParentFolderItem(String factoryName,
NuxeoPrincipal principal,
String parentId,
String parentPath,
String folderName) |
Modifier and Type | Method and Description |
---|---|
FolderItem |
UserWorkspaceTopLevelFactory.getTopLevelFolderItem(NuxeoPrincipal principal) |
FolderItem |
UserWorkspaceTopLevelFactory.getVirtualFolderItem(NuxeoPrincipal principal) |
FolderItem |
UserWorkspaceSyncRootParentFactory.getVirtualFolderItem(NuxeoPrincipal principal) |
Modifier and Type | Method and Description |
---|---|
protected void |
NuxeoDriveFileSystemDeletionListener.fireVirtualEventLogEntries(DocumentModel doc,
String eventName,
NuxeoPrincipal principal,
String impactedUserName,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
boolean |
NuxeoDriveActions.hasOneDriveToken(NuxeoPrincipal user) |
Modifier and Type | Method and Description |
---|---|
boolean |
FileSystemItemManager.canMove(String srcId,
String destId,
NuxeoPrincipal principal)
Return true if the
FileSystemItem with the given source id can be moved to the FileSystemItem
with the given destination id for the given principal. |
default FileItem |
FileSystemItemManager.createFile(String parentId,
Blob blob,
NuxeoPrincipal principal)
Deprecated.
since 9.1, use
FileSystemItemManager.createFile(String, Blob, NuxeoPrincipal, boolean) instead |
FileItem |
FileSystemItemManager.createFile(String parentId,
Blob blob,
NuxeoPrincipal principal,
boolean overwrite)
Creates a file with the given blob in the
FileSystemItem with the given id for the given principal. |
default FolderItem |
FileSystemItemManager.createFolder(String parentId,
String name,
NuxeoPrincipal principal)
Deprecated.
since 9.1, use
FileSystemItemManager.createFolder(String, String, NuxeoPrincipal, boolean) instead |
FolderItem |
FileSystemItemManager.createFolder(String parentId,
String name,
NuxeoPrincipal principal,
boolean overwrite)
Creates a folder with the given name in the
FileSystemItem with the given id for the given principal. |
void |
FileSystemItemManager.delete(String id,
NuxeoPrincipal principal)
Deletes the
FileSystemItem with the given id for the given principal. |
void |
FileSystemItemManager.delete(String id,
String parentId,
NuxeoPrincipal principal)
Deletes the
FileSystemItem with the given id and parent id for the given principal. |
boolean |
FileSystemItemManager.exists(String id,
NuxeoPrincipal principal)
Returns true if a
FileSystemItem with the given id exists for the given principal. |
boolean |
FileSystemItemFactory.exists(String id,
NuxeoPrincipal principal)
Returns true if a
FileSystemItem 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 the
FileSystemItem 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 |
FileSystemItemManager.getFileSystemItemById(String id,
NuxeoPrincipal principal)
Gets the
FileSystemItem with the given id for the given principal. |
FileSystemItem |
FileSystemItemFactory.getFileSystemItemById(String id,
NuxeoPrincipal principal)
Gets the
FileSystemItem with the given id using a core session fetched with the given principal. |
FileSystemItem |
FileSystemItemManager.getFileSystemItemById(String id,
String parentId,
NuxeoPrincipal principal)
Gets the
FileSystemItem with the given id and parent id for the given principal. |
FileSystemItem |
FileSystemItemFactory.getFileSystemItemById(String id,
String parentId,
NuxeoPrincipal principal)
Gets the
FileSystemItem with the given id and parent id using a core session fetched with 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 level
FolderItem for the given principal. |
FolderItem |
TopLevelFolderItemFactory.getTopLevelFolderItem(NuxeoPrincipal principal) |
FolderItem |
VirtualFolderItemFactory.getVirtualFolderItem(NuxeoPrincipal principal)
Returns the (unique) virtual
FolderItem . |
boolean |
NuxeoDriveManager.isSynchronizationRoot(NuxeoPrincipal principal,
DocumentModel doc)
Checks if the given
DocumentModel is a synchronization root for the given user. |
FileSystemItem |
FileSystemItemManager.move(String srcId,
String destId,
NuxeoPrincipal principal)
Moves the
FileSystemItem with the given source id to the FileSystemItem 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 the
FileSystemItem 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 most
batchSize descendants of the FolderItem with the given id for the given
principal and the given scrollId . |
void |
NuxeoDriveManager.unregisterSynchronizationRoot(NuxeoPrincipal principal,
DocumentModel rootContainer,
CoreSession session) |
FileItem |
FileSystemItemManager.updateFile(String id,
Blob blob,
NuxeoPrincipal principal)
Updates the
FileSystemItem with the given id with the given blob for the given principal. |
FileItem |
FileSystemItemManager.updateFile(String id,
String parentId,
Blob blob,
NuxeoPrincipal principal)
Updates the
FileSystemItem with the given id and parent id with the given blob for the given principal. |
Modifier and Type | Method and 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,
NuxeoPrincipal principal) |
void |
FileSystemItemManagerImpl.delete(String id,
String parentId,
NuxeoPrincipal principal) |
boolean |
FileSystemItemManagerImpl.exists(String id,
NuxeoPrincipal principal) |
boolean |
AbstractVirtualFolderItemFactory.exists(String id,
NuxeoPrincipal principal) |
boolean |
AbstractFileSystemItemFactory.exists(String id,
NuxeoPrincipal principal)
The default factory considers that a
FileSystemItem with the given id exists if the backing
DocumentModel can be fetched and AbstractFileSystemItemFactory.isFileSystemItem(DocumentModel) returns true. |
FileSystemChangeSummary |
NuxeoDriveManagerImpl.getChangeSummary(NuxeoPrincipal principal,
Map<String,Set<IdRef>> lastSyncRootRefs,
long lowerBound)
Uses the
AuditChangeFinder 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 |
FileSystemItemManagerImpl.getFileSystemItemById(String id,
NuxeoPrincipal principal) |
FileSystemItem |
AbstractVirtualFolderItemFactory.getFileSystemItemById(String id,
NuxeoPrincipal principal) |
FileSystemItem |
AbstractFileSystemItemFactory.getFileSystemItemById(String id,
NuxeoPrincipal principal) |
FileSystemItem |
FileSystemItemManagerImpl.getFileSystemItemById(String id,
String parentId,
NuxeoPrincipal principal) |
FileSystemItem |
AbstractVirtualFolderItemFactory.getFileSystemItemById(String id,
String parentId,
NuxeoPrincipal principal) |
FileSystemItem |
AbstractFileSystemItemFactory.getFileSystemItemById(String id,
String parentId,
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,
Blob blob,
NuxeoPrincipal principal) |
FileItem |
FileSystemItemManagerImpl.updateFile(String id,
String parentId,
Blob blob,
NuxeoPrincipal principal) |
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
DuoFactorsAuthenticator.createIdentity(String username) |
protected NuxeoPrincipal |
DuoFactorsAuthenticator.validateUserIdentity() |
Modifier and Type | Method and Description |
---|---|
static String |
ActivityHelper.createUserActivityObject(NuxeoPrincipal principal) |
static String |
ActivityHelper.generateDisplayName(NuxeoPrincipal principal) |
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
MonitoringActionBean.currentNuxeoPrincipal |
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
OperationContext.getPrincipal() |
Modifier and Type | Method and Description |
---|---|
String |
UserInvite.run(NuxeoPrincipal user) |
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
PrincipalWrapper.principal |
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
PrincipalWrapper.getPrincipal() |
Constructor and Description |
---|
PrincipalWrapper(NuxeoPrincipal principal) |
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
PlatformFunctions.getPrincipal(String username) |
Modifier and Type | Method and Description |
---|---|
Set<NuxeoPrincipal> |
PrincipalHelper.getPrincipalsForPermission(DocumentModel input,
String permission,
boolean ignoreGroups,
boolean resolveGroups) |
Set<NuxeoPrincipal> |
PlatformFunctions.getPrincipalsFromGroup(String group) |
Set<NuxeoPrincipal> |
PrincipalHelper.getPrincipalsFromGroup(String groupId,
boolean resolveGroups) |
Set<NuxeoPrincipal> |
PlatformFunctions.getPrincipalsFromGroup(String group,
boolean ignoreGroups) |
Modifier and Type | Method and Description |
---|---|
void |
PrincipalHelper.EmailCollector.collect(NuxeoPrincipal principal) |
protected String |
PlatformFunctions.getEmail(NuxeoPrincipal principal,
String userSchemaName,
String userEmailFieldName) |
Modifier and Type | Method and Description |
---|---|
StringList |
PlatformFunctions.getPrincipalEmails(List<NuxeoPrincipal> principals) |
Modifier and Type | Class and Description |
---|---|
class |
SystemPrincipal |
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
CoreSession.getPrincipal()
Gets the principal that created the client session.
|
protected static NuxeoPrincipal |
CoreInstance.getPrincipal(String username) |
Modifier and Type | Method and Description |
---|---|
CloseableCoreSession |
CoreSessionServiceImpl.createCoreSession(String repositoryName,
NuxeoPrincipal principal) |
CloseableCoreSession |
CoreSessionService.createCoreSession(String repositoryName,
NuxeoPrincipal principal)
Instantiates a
CoreSession . |
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.
|
boolean |
AbstractSession.hasPermission(NuxeoPrincipal principal,
DocumentRef docRef,
String permission) |
boolean |
CoreSession.hasPermission(NuxeoPrincipal principal,
DocumentRef docRef,
String permission)
Checks if a given principal has the given privilege on the referred document.
|
protected boolean |
AbstractSession.hasPermission(NuxeoPrincipal principal,
Document doc,
String permission) |
static CloseableCoreSession |
CoreInstance.openCoreSession(String repositoryName,
NuxeoPrincipal principal)
Opens a
CoreSession for the given principal. |
Constructor and Description |
---|
InstanceRef(DocumentModel doc,
NuxeoPrincipal principal) |
Modifier and Type | Class and Description |
---|---|
class |
UserPrincipal
NuxeoPrincipal stub implementation.
|
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
LocalSession.principal |
Modifier and Type | Method and Description |
---|---|
static NuxeoPrincipal |
ClientLoginModule.getCurrentPrincipal()
Returns the current logged
NuxeoPrincipal from the login stack |
NuxeoPrincipal |
LocalSession.getPrincipal() |
Modifier and Type | Method and Description |
---|---|
protected static String |
LocalSession.newSessionId(String repositoryName,
NuxeoPrincipal principal) |
Constructor and Description |
---|
LocalSession(String repositoryName,
NuxeoPrincipal principal) |
Modifier and Type | Method and Description |
---|---|
default boolean |
TrashService.canPurgeOrUntrash(DocumentModel doc,
NuxeoPrincipal principal)
Is document purgeable/untrashable?
|
boolean |
TrashService.canPurgeOrUntrash(List<DocumentModel> docs,
NuxeoPrincipal principal)
Are all documents purgeable/undeletable?
|
DocumentModel |
TrashService.getAboveDocument(DocumentModel doc,
NuxeoPrincipal principal)
Gets the first non trashed ancestor.
|
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
EventContext.getPrincipal()
Gets the current principal.
|
Modifier and Type | Method and Description |
---|---|
void |
EventContext.setPrincipal(NuxeoPrincipal principal)
Sets the principal.
|
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
EventContextImpl.principal |
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
EventContextImpl.getPrincipal() |
Modifier and Type | Method and Description |
---|---|
void |
EventContextImpl.setPrincipal(NuxeoPrincipal principal) |
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
protected static NuxeoPrincipal |
DownloadServiceImpl.getPrincipal() |
Modifier and Type | Method and Description |
---|---|
protected String |
CMISQLQueryMaker.applySecurityPolicyQueryTransformers(NuxeoCmisService service,
NuxeoPrincipal principal,
String statement)
Applies security policies query transformers to the statement, if possible.
|
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
QueryFilter.principal
The principal.
|
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
QueryFilter.getPrincipal() |
Constructor and Description |
---|
QueryFilter(NuxeoPrincipal principal,
String[] principals,
String[] permissions,
FacetFilter facetFilter,
Collection<SQLQuery.Transformer> queryTransformers,
long limit,
long offset)
Constructs a query filter.
|
Modifier and Type | Method and Description |
---|---|
SQLQuery |
SQLQuery.Transformer.transform(NuxeoPrincipal principal,
SQLQuery query) |
SQLQuery |
SQLQuery.IdentityTransformer.transform(NuxeoPrincipal principal,
SQLQuery query) |
Modifier and Type | Method and Description |
---|---|
Access |
SecurityPolicyServiceImpl.checkPermission(Document doc,
ACP mergedAcp,
NuxeoPrincipal principal,
String permission,
String[] resolvedPermissions,
String[] additionalPrincipals) |
Access |
SecurityPolicyService.checkPermission(Document doc,
ACP mergedAcp,
NuxeoPrincipal principal,
String permission,
String[] resolvedPermissions,
String[] principalsToCheck)
Checks given permission for doc and principal.
|
Access |
SecurityPolicy.checkPermission(Document doc,
ACP mergedAcp,
NuxeoPrincipal principal,
String permission,
String[] resolvedPermissions,
String[] additionalPrincipals)
Checks given permission for doc and principal.
|
Access |
LockSecurityPolicy.checkPermission(Document doc,
ACP mergedAcp,
NuxeoPrincipal principal,
String permission,
String[] resolvedPermissions,
String[] additionalPrincipals) |
Access |
CheckInSecurityPolicy.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.QueryTransformer.transform(NuxeoPrincipal principal,
String query)
Transforms a query into another query that has the security policy applied.
|
String |
SecurityPolicy.IdentityQueryTransformer.transform(NuxeoPrincipal principal,
String query) |
Modifier and Type | Method and Description |
---|---|
Access |
NoFileSecurityPolicy.checkPermission(Document doc,
ACP mergedAcp,
NuxeoPrincipal principal,
String permission,
String[] resolvedPermissions,
String[] additionalPrincipals) |
SQLQuery |
NoFile2SecurityPolicy.NoFileTransformer.transform(NuxeoPrincipal principal,
SQLQuery query) |
Modifier and Type | Method and Description |
---|---|
CloseableCoreSession |
CoreFeature.openCoreSession(NuxeoPrincipal principal) |
Modifier and Type | Method and Description |
---|---|
boolean |
TrashService.canDelete(List<DocumentModel> docs,
NuxeoPrincipal principal,
boolean checkProxies)
Deprecated.
since 10.1 only used in JSF part, no replacement
|
boolean |
AbstractTrashService.canDelete(List<DocumentModel> docs,
NuxeoPrincipal principal,
boolean checkProxies) |
default boolean |
TrashService.canPurgeOrUndelete(List<DocumentModel> docs,
NuxeoPrincipal principal)
Deprecated.
since 10.1, use
TrashService.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 |
TrashService.getTrashInfo(List<DocumentModel> docs,
NuxeoPrincipal principal,
boolean checkProxies,
boolean checkDeleted)
Deprecated.
since 10.1 only used in JSF part, no replacement
|
TrashInfo |
AbstractTrashService.getTrashInfo(List<DocumentModel> docs,
NuxeoPrincipal principal,
boolean checkProxies,
boolean checkDeleted) |
Modifier and Type | Class and Description |
---|---|
class |
MultiTenantPrincipal |
Modifier and Type | Method and Description |
---|---|
protected NuxeoPrincipal |
MultiTenantUserManager.makePrincipal(DocumentModel userEntry,
boolean anonymous,
List<String> groups) |
Modifier and Type | Method and Description |
---|---|
static String |
PermissionGrantedNotificationListener.principalFullName(NuxeoPrincipal principal) |
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
AbstractActionContext.currentPrincipal |
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
ActionContext.getCurrentPrincipal()
Returns the current principal to use for filter evaluation
|
NuxeoPrincipal |
AbstractActionContext.getCurrentPrincipal() |
Modifier and Type | Method and Description |
---|---|
void |
ActionContext.setCurrentPrincipal(NuxeoPrincipal currentPrincipal)
Sets the current principal to use for filter evaluation
|
void |
AbstractActionContext.setCurrentPrincipal(NuxeoPrincipal currentPrincipal) |
Modifier and Type | Method and Description |
---|---|
Annotation |
AnnotationsService.addAnnotation(Annotation annotation,
NuxeoPrincipal user,
String baseUrl)
Adds an annotation to the target URL.
|
void |
AnnotationsService.deleteAnnotation(Annotation annotation,
NuxeoPrincipal user)
Deletes an annotation.
|
void |
AnnotationsService.deleteAnnotationFor(URI uri,
Annotation annotation,
NuxeoPrincipal user) |
Annotation |
AnnotationsService.getAnnotation(String annotationId,
NuxeoPrincipal user,
String baseUrl)
Returns an Annotation according to its Id.
|
int |
AnnotationsService.getAnnotationsCount(URI uri,
NuxeoPrincipal user)
Finds number of Annotation according to URI.
|
List<Annotation> |
AnnotationsService.queryAnnotations(URI uri,
NuxeoPrincipal user)
Finds Annotation ids according to URI.
|
Annotation |
AnnotationsService.updateAnnotation(Annotation annotation,
NuxeoPrincipal user,
String baseUrl)
Updates an annotation.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
GenericUserInfoMapper.getUserInfo(NuxeoPrincipal principal) |
Map<String,String> |
UserInfoMapper.getUserInfo(NuxeoPrincipal principal) |
Modifier and Type | Method and Description |
---|---|
void |
AnnotationServiceFacade.createAnnotation(InputStream inputStream,
NuxeoPrincipal name,
OutputStream outputStream,
String baseUrl) |
void |
AnnotationServiceFacade.delete(String annId,
NuxeoPrincipal name,
String baseUrl) |
void |
AnnotationServiceFacade.deleteFor(String uri,
String annId,
NuxeoPrincipal name,
String baseUrl) |
void |
AnnotationServiceFacade.getAnnotation(String annId,
NuxeoPrincipal name,
OutputStream os,
String baseUrl) |
String |
AnnotationServiceFacade.getAnnotationBody(String id,
NuxeoPrincipal name,
String baseUrl) |
void |
AnnotationServiceFacade.query(String uri,
OutputStream outputStream,
NuxeoPrincipal name) |
void |
AnnotationServiceFacade.updateAnnotation(InputStream is,
NuxeoPrincipal name,
OutputStream outputStream,
String baseUrl) |
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
AnnotationsActions.currentUser |
Modifier and Type | Method and Description |
---|---|
Annotation |
AnnotationServiceProxy.addAnnotation(Annotation annotation,
NuxeoPrincipal user,
String baseUrl) |
void |
AnnotationServiceProxy.deleteAnnotation(Annotation annotation,
NuxeoPrincipal user) |
void |
AnnotationServiceProxy.deleteAnnotationFor(URI uri,
Annotation annotation,
NuxeoPrincipal user) |
Annotation |
AnnotationServiceProxy.getAnnotation(String annotationId,
NuxeoPrincipal user,
String baseUrl) |
int |
AnnotationServiceProxy.getAnnotationsCount(URI uri,
NuxeoPrincipal user) |
List<Annotation> |
AnnotationServiceProxy.queryAnnotations(URI uri,
NuxeoPrincipal user) |
Annotation |
AnnotationServiceProxy.updateAnnotation(Annotation annotation,
NuxeoPrincipal user,
String baseUrl) |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultNuxeoPermissionManager.check(NuxeoPrincipal user,
String permission,
URI uri) |
void |
DefaultNuxeoMetadataMapper.updateMetadata(Annotation annotation,
NuxeoPrincipal user) |
Modifier and Type | Method and Description |
---|---|
void |
AnnotationEventListener.afterAnnotationCreated(NuxeoPrincipal principal,
Annotation annotation) |
void |
AnnotationEventListener.afterAnnotationDeleted(NuxeoPrincipal principal,
Annotation annotation) |
void |
AnnotationEventListener.afterAnnotationRead(NuxeoPrincipal principal,
Annotation annotation) |
void |
AnnotationEventListener.afterAnnotationUpdated(NuxeoPrincipal principal,
Annotation annotation) |
void |
AnnotationEventListener.beforeAnnotationCreated(NuxeoPrincipal principal,
Annotation annotation) |
void |
AnnotationEventListener.beforeAnnotationDeleted(NuxeoPrincipal principal,
Annotation annotation) |
void |
AnnotationEventListener.beforeAnnotationRead(NuxeoPrincipal principal,
String annotationId) |
void |
AnnotationEventListener.beforeAnnotationUpdated(NuxeoPrincipal principal,
Annotation annotation) |
Modifier and Type | Method and Description |
---|---|
void |
AnnotatedDocumentEventListener.afterAnnotationCreated(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListenerImpl.afterAnnotationCreated(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListener.afterAnnotationDeleted(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListenerImpl.afterAnnotationDeleted(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListener.afterAnnotationRead(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListenerImpl.afterAnnotationRead(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListener.afterAnnotationUpdated(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListenerImpl.afterAnnotationUpdated(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListener.beforeAnnotationCreated(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListenerImpl.beforeAnnotationCreated(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListener.beforeAnnotationDeleted(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListenerImpl.beforeAnnotationDeleted(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListener.beforeAnnotationRead(NuxeoPrincipal principal,
String annotationId) |
void |
AnnotatedDocumentEventListenerImpl.beforeAnnotationRead(NuxeoPrincipal principal,
String annotationId) |
void |
AnnotatedDocumentEventListener.beforeAnnotationUpdated(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListenerImpl.beforeAnnotationUpdated(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
boolean |
AnnotationsRepositoryService.check(NuxeoPrincipal user,
String permission,
DocumentModel model) |
boolean |
AnnotationsRepositoryServiceImpl.check(NuxeoPrincipal user,
String permission,
DocumentModel model) |
boolean |
SecurityManager.check(NuxeoPrincipal user,
String permission,
DocumentModel dm) |
protected void |
AnnotatedDocumentEventListenerImpl.notifyEvent(String eventId,
Annotation annotation,
DocumentLocation documentLocation,
NuxeoPrincipal principal) |
protected void |
ResetCheckedoutGraphListener.removeGraphFor(CoreSession session,
String repositoryName,
DocumentModel doc,
NuxeoPrincipal user) |
Modifier and Type | Method and Description |
---|---|
Annotation |
AnnotationsServiceImpl.addAnnotation(Annotation annotation,
NuxeoPrincipal user,
String baseUrl) |
void |
EventListener.afterAnnotationCreated(NuxeoPrincipal principal,
Annotation annotation) |
void |
EventListener.afterAnnotationDeleted(NuxeoPrincipal principal,
Annotation annotation) |
void |
EventListener.afterAnnotationRead(NuxeoPrincipal principal,
Annotation annotation) |
void |
EventListener.afterAnnotationUpdated(NuxeoPrincipal principal,
Annotation annotation) |
void |
EventListener.beforeAnnotationCreated(NuxeoPrincipal principal,
Annotation annotation) |
void |
EventListener.beforeAnnotationDeleted(NuxeoPrincipal principal,
Annotation annotation) |
void |
EventListener.beforeAnnotationRead(NuxeoPrincipal principal,
String annotationId) |
void |
EventListener.beforeAnnotationUpdated(NuxeoPrincipal principal,
Annotation annotation) |
boolean |
PermissionManager.check(NuxeoPrincipal user,
String permission,
URI uri) |
boolean |
DefaultPermissionManager.check(NuxeoPrincipal user,
String permission,
URI uri) |
void |
AnnotationsServiceImpl.deleteAnnotation(Annotation annotation,
NuxeoPrincipal user) |
void |
AnnotationsServiceImpl.deleteAnnotationFor(URI uri,
Annotation annotation,
NuxeoPrincipal user) |
Annotation |
AnnotationsServiceImpl.getAnnotation(String id,
NuxeoPrincipal user,
String baseUrl) |
String |
AnnotationsServiceImpl.getAnnotationBody(String id,
NuxeoPrincipal name) |
int |
AnnotationsServiceImpl.getAnnotationsCount(URI uri,
NuxeoPrincipal user) |
List<Annotation> |
AnnotationsServiceImpl.queryAnnotations(URI uri,
NuxeoPrincipal user) |
Annotation |
AnnotationsServiceImpl.updateAnnotation(Annotation annotation,
NuxeoPrincipal user,
String baseUrl) |
void |
MetadataMapper.updateMetadata(Annotation annotation,
NuxeoPrincipal user) |
void |
DefaultMetadataMapper.updateMetadata(Annotation annotation,
NuxeoPrincipal user) |
Modifier and Type | Method and Description |
---|---|
protected NuxeoPrincipal |
AbstractCommentManager.getAuthor(DocumentModel docModel) |
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
AbstractCommentManagerActionsBean.principal |
Modifier and Type | Method and Description |
---|---|
protected NuxeoPrincipal |
UserManagerWithComputedGroups.makePrincipal(DocumentModel userEntry,
boolean anonymous,
List<String> groups) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SynchronousUnicityCheckListener.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 abstract void |
AbstractUnicityChecker.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) |
Modifier and Type | Method and Description |
---|---|
List<DocumentLocation> |
FileManagerService.findExistingDocumentWithFile(CoreSession documentManager,
String path,
String digest,
NuxeoPrincipal principal) |
DocumentModelList |
FileManagerService.getCreationContainers(NuxeoPrincipal principal,
String docType) |
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
ExcelExportRightsActionBean.currentNuxeoPrincipal |
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
NuxeoAbstractServerLoginModule.unauthenticatedIdentity
the principal to use when a null username and password are seen
|
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
NuxeoLoginModule.createIdentity(String username) |
protected abstract NuxeoPrincipal |
NuxeoAbstractServerLoginModule.createIdentity(String username) |
NuxeoPrincipal |
NuxeoLoginModule.getIdentity() |
protected abstract NuxeoPrincipal |
NuxeoAbstractServerLoginModule.getIdentity() |
protected NuxeoPrincipal |
NuxeoLoginModule.getPrincipal() |
protected NuxeoPrincipal |
NuxeoLoginModule.validateUserIdentity(UserIdentificationInfo userIdent) |
protected NuxeoPrincipal |
NuxeoLoginModule.validateUsernamePassword(String username,
String password) |
Modifier and Type | Method and Description |
---|---|
List<NuxeoPrincipal> |
DeputyActionsBean.getAlternatePrincipals() |
Modifier and Type | Method and Description |
---|---|
Access |
MailMessageSecurityPolicy.checkPermission(Document doc,
ACP mergedAcp,
NuxeoPrincipal principal,
String permission,
String[] resolvedPermissions,
String[] additionalPrincipals) |
Modifier and Type | Method and 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.
|
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
CoreProxyWithWorkflowFactory.DocumentPublisherUnrestricted.principal |
Modifier and Type | Method and 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) |
Constructor and 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) |
Modifier and Type | Method and 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
|
Modifier and Type | Method and Description |
---|---|
boolean |
DocumentRoutingService.canUserValidateRoute(NuxeoPrincipal currentUser)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DocumentRoutingServiceImpl.canUserValidateRoute(NuxeoPrincipal currentUser) |
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
RouteSecurityChecker.currentUser |
protected NuxeoPrincipal |
DocumentRoutingActionsBean.currentUser |
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
CertActions.currentUser |
Modifier and Type | Method and Description |
---|---|
String |
TaskService.acceptTask(CoreSession coreSession,
NuxeoPrincipal principal,
Task task,
String comment)
Ends the task using event name
TaskEventNames.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,
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.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 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,
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.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 |
TaskService.endTask(CoreSession coreSession,
NuxeoPrincipal principal,
Task task,
String comment,
String eventName,
boolean isValidated)
Ends the task
|
String |
TaskProvider.endTask(CoreSession coreSession,
NuxeoPrincipal principal,
Task task,
String comment,
String eventName,
boolean isValidated)
Ends the task
|
List<Task> |
TaskProvider.getAllTaskInstances(String processId,
NuxeoPrincipal user,
CoreSession session)
Returns all the tasks instances for the given
processId and where the user is the actor or belongs to the
pooled actor list. |
List<Task> |
TaskProvider.getTaskInstances(DocumentModel dm,
NuxeoPrincipal user,
CoreSession coreSssion)
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 name
TaskEventNames.WORKFLOW_TASK_REJECTED and marking the task as not
validated. |
Modifier and Type | Method and Description |
---|---|
static List<String> |
TaskActorsHelper.getTaskActors(NuxeoPrincipal principal)
Gets the task actors list: prefixed and unprefixed names of the principal and all its groups.
|
Modifier and Type | Method and Description |
---|---|
String |
TaskServiceImpl.acceptTask(CoreSession coreSession,
NuxeoPrincipal principal,
Task task,
String comment) |
boolean |
TaskServiceImpl.canEndTask(NuxeoPrincipal principal,
Task task) |
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) |
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,
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) |
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) |
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) |
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) |
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)
|
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) |
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 |
TaskServiceImpl.endTask(CoreSession coreSession,
NuxeoPrincipal principal,
Task task,
String comment,
String eventName,
boolean isValidated)
Use the task provider held by the
Task.TASK_PROVIDER_KEY task variable to end the task . |
String |
DocumentTaskProvider.endTask(CoreSession coreSession,
NuxeoPrincipal principal,
Task task,
String comment,
String eventName,
boolean isValidated) |
List<Task> |
TaskServiceImpl.getAllTaskInstances(String processId,
NuxeoPrincipal user,
CoreSession session) |
List<Task> |
DocumentTaskProvider.getAllTaskInstances(String processId,
NuxeoPrincipal user,
CoreSession session) |
List<Task> |
TaskServiceImpl.getTaskInstances(DocumentModel dm,
NuxeoPrincipal user,
CoreSession coreSession) |
List<Task> |
DocumentTaskProvider.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) |
Constructor and Description |
---|
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) |
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 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,
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,
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) |
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
KeycloakUserMapper.getOrCreateAndUpdateNuxeoPrincipal(Object userObject) |
NuxeoPrincipal |
KeycloakUserMapper.getOrCreateAndUpdateNuxeoPrincipal(Object userObject,
boolean createIfNeeded,
boolean update,
Map<String,Serializable> params) |
Modifier and Type | Method and Description |
---|---|
Object |
KeycloakUserMapper.wrapNuxeoPrincipal(NuxeoPrincipal principal,
Object nativePrincipal,
Map<String,Serializable> params) |
Modifier and Type | Method and Description |
---|---|
protected String |
UserNameResolverHelper.computeUserFullName(NuxeoPrincipal principal) |
static String |
Functions.principalFullName(NuxeoPrincipal principal) |
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
protected NuxeoPrincipal |
NuxeoPrincipalImpl.cloneTransferable() |
NuxeoPrincipal |
UserManager.getPrincipal(String username)
Retrieves the principal with the given username or null if it does not exist.
|
NuxeoPrincipal |
UserManagerImpl.getPrincipal(String username) |
NuxeoPrincipal |
FakeUserManagerImpl.getPrincipal(String username) |
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.
|
NuxeoPrincipal |
UserManagerImpl.getPrincipal(String username,
DocumentModel context) |
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) |
Modifier and Type | Method and Description |
---|---|
List<NuxeoPrincipal> |
UserManager.searchPrincipals(String pattern)
Deprecated.
|
List<NuxeoPrincipal> |
UserManagerImpl.searchPrincipals(String pattern) |
List<NuxeoPrincipal> |
FakeUserManagerImpl.searchPrincipals(String pattern) |
Modifier and Type | Method and Description |
---|---|
protected NuxeoPrincipal |
NuxeoPrincipalJsonReader.readEntity(com.fasterxml.jackson.databind.JsonNode jn) |
Modifier and Type | Method and Description |
---|---|
protected void |
NuxeoPrincipalJsonWriter.writeEntityBody(NuxeoPrincipal principal,
com.fasterxml.jackson.core.JsonGenerator jg) |
Modifier and Type | Field and Description |
---|---|
protected List<NuxeoPrincipal> |
NuxeoPrincipalsPageProvider.pagePrincipals |
Modifier and Type | Method and Description |
---|---|
protected NuxeoPrincipal |
GroupMemberUsersPageProvider.getMember(String id) |
Modifier and Type | Method and Description |
---|---|
List<NuxeoPrincipal> |
NuxeoPrincipalsPageProvider.getCurrentPage() |
Modifier and Type | Method and 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).
|
Modifier and Type | Method and 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) |
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
UserWorkspaceManagerActionsBean.currentUser |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
protected void |
UserToGroupObject.addUserToGroup(NuxeoPrincipal principal,
NuxeoGroup group) |
protected void |
UserRootObject.checkPrecondition(NuxeoPrincipal principal) |
protected NuxeoPrincipal |
UserRootObject.createArtifact(NuxeoPrincipal principal) |
protected void |
UserToGroupObject.removeUserFromGroup(NuxeoPrincipal principal,
NuxeoGroup group) |
protected NuxeoPrincipal |
UserObject.updateArtifact(NuxeoPrincipal principal) |
Modifier and Type | Method and Description |
---|---|
static NuxeoPrincipal |
RestServerInit.getPowerUser() |
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
OAuth2UserTokensActions.currentUser |
protected NuxeoPrincipal |
AuthorizedApplicationsActions.currentUser |
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
UserNotificationActions.currentUser |
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
UserProfileActions.currentUser |
Modifier and Type | Method and Description |
---|---|
void |
UserProfileEnricher.write(com.fasterxml.jackson.core.JsonGenerator jg,
NuxeoPrincipal nuxeoPrincipal) |
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
UserInvitationService.createUser(CoreSession session,
DocumentModel registrationDoc) |
NuxeoPrincipal |
UserInvitationComponent.createUser(CoreSession session,
DocumentModel registrationDoc) |
NuxeoPrincipal |
InvitationUserFactory.doCreateUser(CoreSession session,
DocumentModel registrationDoc,
UserRegistrationConfiguration configuration)
Handle user creation
|
NuxeoPrincipal |
DefaultInvitationUserFactory.doCreateUser(CoreSession session,
DocumentModel registrationDoc,
UserRegistrationConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
DefaultInvitationUserFactory.acceptGroup(NuxeoPrincipal originatingPrincipal,
String groupName) |
void |
InvitationUserFactory.doPostUserCreation(CoreSession session,
DocumentModel registrationDoc,
NuxeoPrincipal user)
Called just after the user is created
|
void |
DefaultInvitationUserFactory.doPostUserCreation(CoreSession session,
DocumentModel registrationDoc,
NuxeoPrincipal user) |
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
DeleteActionsBean.currentUser |
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
InputController.currentUser |
Modifier and Type | Method and Description |
---|---|
List<NuxeoPrincipal> |
EmailSenderActionsBean.getToEmail() |
Modifier and Type | Method and Description |
---|---|
void |
EmailSenderActionsBean.setToEmail(List<NuxeoPrincipal> toEmail) |
Modifier and Type | Method and Description |
---|---|
List<NuxeoPrincipal> |
EmailNotificationSenderActionsBean.getToEmail() |
Modifier and Type | Method and Description |
---|---|
void |
EmailNotificationSenderActionsBean.setToEmail(List<NuxeoPrincipal> toEmail) |
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
SecurityActionsBean.currentUser |
protected NuxeoPrincipal |
AbstractUserGroupManagement.currentUser |
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
UserSessionBean.getCurrentNuxeoPrincipal() |
NuxeoPrincipal |
UserSession.getCurrentNuxeoPrincipal() |
NuxeoPrincipal |
UserSessionBean.getCurrentUser() |
NuxeoPrincipal |
UserSession.getCurrentUser() |
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
WebContext.getPrincipal()
Gets the principal identifying the user that originated the request.
|
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
AbstractWebContext.getPrincipal() |
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
AbstractSearchRequestFilterImpl.principal |
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
Main.getPrincipal() |
Constructor and Description |
---|
DocRequestFilter(NuxeoPrincipal principal,
String indices,
String types,
String documentId,
String rawQuery) |
Modifier and Type | Method and Description |
---|---|
void |
RequestValidator.checkAccess(NuxeoPrincipal principal,
String docAcl) |
Modifier and Type | Method and Description |
---|---|
void |
SegmentIO.identify(NuxeoPrincipal principal) |
void |
SegmentIOComponent.identify(NuxeoPrincipal principal) |
void |
SegmentIO.identify(NuxeoPrincipal principal,
Map<String,Serializable> metadata) |
void |
SegmentIOComponent.identify(NuxeoPrincipal principal,
Map<String,Serializable> metadata) |
void |
SegmentIO.page(NuxeoPrincipal principal,
String name,
Map<String,Serializable> metadata) |
void |
SegmentIOComponent.page(NuxeoPrincipal principal,
String name,
Map<String,Serializable> metadata) |
void |
SegmentIO.page(NuxeoPrincipal principal,
String name,
String category,
Map<String,Serializable> metadata) |
void |
SegmentIOComponent.page(NuxeoPrincipal principal,
String name,
String category,
Map<String,Serializable> metadata) |
void |
SegmentIO.screen(NuxeoPrincipal principal,
String screen,
Map<String,Serializable> metadata) |
void |
SegmentIOComponent.screen(NuxeoPrincipal principal,
String screen,
Map<String,Serializable> metadata) |
void |
SegmentIO.track(NuxeoPrincipal principal,
String eventName,
Map<String,Serializable> metadata) |
void |
SegmentIOComponent.track(NuxeoPrincipal principal,
String eventName,
Map<String,Serializable> metadata) |
Constructor and Description |
---|
SegmentIODataWrapper(NuxeoPrincipal principal,
Map<String,Serializable> metadata) |
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
ShibbolethUserMapper.getOrCreateAndUpdateNuxeoPrincipal(Object userObject) |
NuxeoPrincipal |
ShibbolethUserMapper.getOrCreateAndUpdateNuxeoPrincipal(Object userObject,
boolean createIfNeeded,
boolean update,
Map<String,Serializable> params) |
Modifier and Type | Method and Description |
---|---|
Object |
ShibbolethUserMapper.wrapNuxeoPrincipal(NuxeoPrincipal principal,
Object nativePrincipal,
Map<String,Serializable> params) |
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
ContextFunctions.getNuxeoPrincipal(String username) |
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
UserMapper.getOrCreateAndUpdateNuxeoPrincipal(Object userObject)
Should retrieve (create if needed) and update the NuxeoPrincipal according to the given userObject
|
NuxeoPrincipal |
AbstractUserMapper.getOrCreateAndUpdateNuxeoPrincipal(Object userObject) |
NuxeoPrincipal |
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 userObject
|
NuxeoPrincipal |
AbstractUserMapper.getOrCreateAndUpdateNuxeoPrincipal(Object userObject,
boolean createIfNeeded,
boolean update,
Map<String,Serializable> params) |
Modifier and Type | Method and Description |
---|---|
Object |
UserMapper.wrapNuxeoPrincipal(NuxeoPrincipal principal,
Object nativePrincipal,
Map<String,Serializable> params)
Wrap the
NuxeoPrincipal as the userObject used in the external authentication system |
Object |
NashornUserMapper.wrapNuxeoPrincipal(NuxeoPrincipal principal,
Object userObject,
Map<String,Serializable> params) |
Object |
GroovyUserMapper.wrapNuxeoPrincipal(NuxeoPrincipal principal,
Object userObject,
Map<String,Serializable> params) |
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
UserMapperService.getOrCreateAndUpdateNuxeoPrincipal(String mappingName,
Object userObject)
Should retrieve (create if needed) and update the NuxeoPrincipal according to the given userObject
|
NuxeoPrincipal |
UserMapperComponent.getOrCreateAndUpdateNuxeoPrincipal(String mappingName,
Object userObject) |
NuxeoPrincipal |
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 userObject
|
NuxeoPrincipal |
UserMapperComponent.getOrCreateAndUpdateNuxeoPrincipal(String mappingName,
Object userObject,
boolean createIfNeeded,
boolean update,
Map<String,Serializable> params) |
Modifier and Type | Method and Description |
---|---|
Object |
UserMapperService.wrapNuxeoPrincipal(String mappingName,
NuxeoPrincipal principal,
Object nativePrincipal,
Map<String,Serializable> params)
Wrap the
NuxeoPrincipal as the userObject used in the external authentication system * |
Object |
UserMapperComponent.wrapNuxeoPrincipal(String mappingName,
NuxeoPrincipal principal,
Object nativePrincipal,
Map<String,Serializable> params) |
Modifier and Type | Method and Description |
---|---|
static String |
Helpers.principalFullName(NuxeoPrincipal principal) |
Modifier and Type | Method and Description |
---|---|
Access |
WOPILockSecurityPolicy.checkPermission(Document doc,
ACP mergedAcp,
NuxeoPrincipal principal,
String permission,
String[] resolvedPermissions,
String[] additionalPrincipals) |
Copyright © 2019 Nuxeo. All rights reserved.