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 | Method and Description |
---|---|
protected NuxeoPrincipal |
DuoFactorsAuthenticator.validateUserIdentity() |
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
MonitoringActionBean.currentNuxeoPrincipal |
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 | Method and Description |
---|---|
protected NuxeoPrincipal |
GetUserTasks.principal() |
Modifier and Type | Class and Description |
---|---|
class |
SystemPrincipal |
Modifier and Type | Field and Description |
---|---|
static NuxeoPrincipal |
AbstractSession.ANONYMOUS |
Modifier and Type | Method and Description |
---|---|
protected static NuxeoPrincipal |
CoreInstance.getPrincipal(Map<String,Serializable> map) |
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 . |
static CloseableCoreSession |
CoreInstance.openCoreSession(String repositoryName,
NuxeoPrincipal principal)
MUST ONLY BE USED IN UNIT TESTS to open a
CoreSession for the given 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 |
---|---|
protected static NuxeoPrincipal |
DownloadServiceImpl.getPrincipal() |
Modifier and Type | Method and Description |
---|---|
CloseableCoreSession |
CoreFeature.openCoreSession(NuxeoPrincipal principal) |
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 | 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 |
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 |
SecurityManager.check(NuxeoPrincipal user,
String permission,
DocumentModel dm) |
boolean |
AnnotationsRepositoryServiceImpl.check(NuxeoPrincipal user,
String permission,
DocumentModel model) |
boolean |
AnnotationsRepositoryService.check(NuxeoPrincipal user,
String permission,
DocumentModel model) |
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) |
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 | 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 | Field and Description |
---|---|
protected NuxeoPrincipal |
ExcelExportRightsActionBean.currentNuxeoPrincipal |
Modifier and Type | Method and Description |
---|---|
protected NuxeoPrincipal |
NuxeoLoginModule.getPrincipal() |
protected NuxeoPrincipal |
NuxeoLoginModule.validateUserIdentity(UserIdentificationInfo userIdent) |
protected NuxeoPrincipal |
NuxeoLoginModule.validateUsernamePassword(String username,
String password) |
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 |
---|---|
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 |
DetachedNuxeoPrincipal
Describes a detached NuxeoPrincipal.
|
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 |
---|---|
static DetachedNuxeoPrincipal |
DetachedNuxeoPrincipal.detach(NuxeoPrincipal principal) |
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.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
AbstractUserWorkspaceImpl.getUserPersonalWorkspace(NuxeoPrincipal principal,
DocumentModel context) |
protected void |
AbstractUserWorkspaceImpl.notifyEvent(CoreSession coreSession,
DocumentModel document,
NuxeoPrincipal principal,
String eventId,
Map<String,Serializable> properties) |
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 | 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 |
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
UserSessionBean.getCurrentNuxeoPrincipal() |
NuxeoPrincipal |
UserSession.getCurrentNuxeoPrincipal() |
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.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) |
Copyright © 2018 Nuxeo. All rights reserved.