Modifier and Type | Method and Description |
---|---|
static boolean |
SecurityHelper.canEditDocumentation(NuxeoPrincipal 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) |
Modifier and Type | Method and Description |
---|---|
StringList |
PlatformFunctions.getPrincipalEmails(List<NuxeoPrincipal> principals) |
Modifier and Type | Class and Description |
---|---|
class |
SystemPrincipal |
Modifier and Type | Field and Description |
---|---|
static NuxeoPrincipal |
AbstractSession.ANONYMOUS |
Modifier and Type | Method and Description |
---|---|
abstract NuxeoPrincipal |
CallerPrincipalProvider.getCallerPrincipal() |
Modifier and Type | Class and Description |
---|---|
class |
UserPrincipal
NuxeoPrincipal stub implementation.
|
Modifier and Type | Method and Description |
---|---|
static NuxeoPrincipal |
ClientLoginModule.getCurrentPrincipal()
Returns the current logged
NuxeoPrincipal from the login stack |
Constructor and Description |
---|
LocalRepositoryInstanceHandler(Repository repository,
NuxeoPrincipal principal) |
Modifier and Type | Method and Description |
---|---|
CoreSession |
SQLRepositoryTestCase.openSessionAs(NuxeoPrincipal principal) |
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
MobileDocument.getPrincipal() |
Modifier and Type | Class and Description |
---|---|
class |
MultiTenantPrincipal |
Modifier and Type | Method and Description |
---|---|
String |
JBPMDocTaskProvider.endTask(CoreSession coreSession,
NuxeoPrincipal principal,
Task task,
String comment,
String eventName,
boolean isValidated) |
List<Task> |
JBPMDocTaskProvider.getAllTaskInstances(String processId,
NuxeoPrincipal user,
CoreSession session) |
List<Task> |
JBPMDocTaskProvider.getTaskInstances(DocumentModel dm,
NuxeoPrincipal user,
CoreSession coreSession) |
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
ActionContext.getCurrentPrincipal() |
Modifier and Type | Method and Description |
---|---|
void |
ActionContext.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.
|
List<Annotation> |
AnnotationsService.queryAnnotations(URI uri,
Map<String,String> filters,
NuxeoPrincipal user)
Finds Annotation ids according to URI and filter.
|
Annotation |
AnnotationsService.updateAnnotation(Annotation annotation,
NuxeoPrincipal user,
String baseUrl)
Updates an annotation.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
UserInfoMapper.getUserInfo(NuxeoPrincipal principal) |
Map<String,String> |
GenericUserInfoMapper.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) |
List<Annotation> |
AnnotationServiceProxy.queryAnnotations(URI uri,
Map<String,String> filters,
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 |
AnnotatedDocumentEventListenerImpl.afterAnnotationCreated(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListener.afterAnnotationCreated(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListenerImpl.afterAnnotationDeleted(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListener.afterAnnotationDeleted(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListenerImpl.afterAnnotationRead(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListener.afterAnnotationRead(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListenerImpl.afterAnnotationUpdated(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListener.afterAnnotationUpdated(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListenerImpl.beforeAnnotationCreated(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListener.beforeAnnotationCreated(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListenerImpl.beforeAnnotationDeleted(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListener.beforeAnnotationDeleted(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListenerImpl.beforeAnnotationRead(NuxeoPrincipal principal,
String annotationId) |
void |
AnnotatedDocumentEventListener.beforeAnnotationRead(NuxeoPrincipal principal,
String annotationId) |
void |
AnnotatedDocumentEventListenerImpl.beforeAnnotationUpdated(NuxeoPrincipal principal,
DocumentLocation documentLoc,
Annotation annotation) |
void |
AnnotatedDocumentEventListener.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) |
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) |
List<Annotation> |
AnnotationsServiceImpl.queryAnnotations(URI uri,
Map<String,String> filters,
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 |
---|---|
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 |
---|---|
void |
JbpmTaskService.acceptTask(CoreSession coreSession,
NuxeoPrincipal principal,
TaskInstance task,
String comment)
Ends the task using event name
JbpmEventNames.WORKFLOW_TASK_COMPLETED and marking the task as
validated. |
boolean |
JbpmTaskService.canEndTask(NuxeoPrincipal principal,
TaskInstance task)
Returns true if user is an administrator, the initiator of the task, or
an actor of the task.
|
Boolean |
JbpmSecurityPolicy.checkPermission(ProcessInstance processInstance,
JbpmSecurityPolicy.Action action,
DocumentModel dm,
NuxeoPrincipal user)
Checks the permission on a process instance.
|
ProcessInstance |
JbpmService.createProcessInstance(NuxeoPrincipal user,
String processInstanceName,
DocumentModel dm,
Map<String,Serializable> variables,
Map<String,Serializable> transientVariables)
Returns the created and started process instance.
|
void |
JbpmTaskService.createTask(CoreSession coreSession,
NuxeoPrincipal principal,
DocumentModel document,
String taskName,
List<String> prefixedActorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,Serializable> taskVariables)
Creates a task and starts it.
|
void |
JbpmService.deleteProcessInstance(NuxeoPrincipal principal,
Long processId)
Deletes the process instance and related tasks.
|
void |
JbpmService.deleteTaskInstance(NuxeoPrincipal principal,
Long taskId)
Deletes a task instance (attached to a process or not)
|
void |
JbpmTaskService.endTask(CoreSession coreSession,
NuxeoPrincipal principal,
TaskInstance task,
String comment,
String eventName,
boolean isValidated)
Ends the task
|
void |
JbpmService.endTask(Long taskInstanceId,
String transition,
Map<String,Serializable> taskVariables,
Map<String,Serializable> variables,
Map<String,Serializable> transientVariables,
NuxeoPrincipal principal)
Ends the task following the transition.
|
<T> ArrayList<T> |
TaskVariableFilter.filter(JbpmContext jbpmContext,
DocumentModel document,
ArrayList<T> list,
NuxeoPrincipal principal) |
<T> ArrayList<T> |
TaskListFilter.filter(JbpmContext jbpmContext,
DocumentModel document,
ArrayList<T> list,
NuxeoPrincipal principal) |
<T> ArrayList<T> |
JbpmListFilter.filter(JbpmContext jbpmContext,
DocumentModel document,
ArrayList<T> list,
NuxeoPrincipal principal) |
List<String> |
JbpmService.getAvailableTransitions(Long taskInstanceId,
NuxeoPrincipal principal)
Returns a list of of possible transition for this user.
|
List<ProcessInstance> |
JbpmService.getCurrentProcessInstances(NuxeoPrincipal principal,
JbpmListFilter filter)
Returns a list of all current process instances this user has started.
|
List<TaskInstance> |
JbpmService.getCurrentTaskInstances(NuxeoPrincipal currentUser,
JbpmListFilter filter)
Returns a list of task instances assigned to this user or one of its
group.
|
DocumentModel |
JbpmService.getDocumentModel(ProcessInstance pi,
NuxeoPrincipal user)
Returns the document used in this process.
|
DocumentModel |
JbpmService.getDocumentModel(TaskInstance ti,
NuxeoPrincipal user)
Returns the document used in this task.
|
Boolean |
JbpmService.getPermission(ProcessInstance pi,
JbpmSecurityPolicy.Action action,
DocumentModel dm,
NuxeoPrincipal principal)
Returns true if this user has this permission for this process instance
and document.
|
List<ProcessDefinition> |
JbpmService.getProcessDefinitions(NuxeoPrincipal user,
DocumentModel dm,
JbpmListFilter filter)
Returns a list of available Process Definition Name available for this
document and user.
|
List<ProcessInstance> |
JbpmService.getProcessInstances(DocumentModel dm,
NuxeoPrincipal user,
JbpmListFilter jbpmListFilter)
Returns the list of process instances associated with this document.
|
List<TaskInstance> |
JbpmService.getTaskInstances(DocumentModel dm,
NuxeoPrincipal user,
JbpmListFilter jbpmListFilter)
Returns the list of task instances associated with this document for
which the user is the actor or belongs to the pooled actor list.
|
List<TaskInstance> |
JbpmService.getTaskInstances(Long processInstanceId,
NuxeoPrincipal principal,
JbpmListFilter filter)
Returns a list of task instance for this process instance.
|
void |
JbpmService.notifyEventListeners(String name,
String comment,
String[] recipients,
CoreSession session,
NuxeoPrincipal principal,
DocumentModel doc)
Notify the event producer on the machine the jbpm service is.
|
void |
JbpmTaskService.rejectTask(CoreSession coreSession,
NuxeoPrincipal principal,
TaskInstance task,
String comment)
Ends the task using event name
JbpmEventNames.WORKFLOW_TASK_REJECTED and marking the task as
not validated. |
Modifier and Type | Method and Description |
---|---|
String |
JbpmHelper.createProcessInstance(NuxeoPrincipal principal,
String pd,
DocumentModel dm,
String endLifeCycle) |
String |
JbpmActionsBean.createProcessInstance(NuxeoPrincipal principal,
String pd,
DocumentModel dm,
String endLifeCycle) |
String |
JbpmActions.createProcessInstance(NuxeoPrincipal principal,
String pd,
DocumentModel dm,
String endLifeCycle) |
boolean |
JbpmHelper.isTaskAssignedToUser(TaskInstance task,
NuxeoPrincipal user) |
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.
|
Constructor and Description |
---|
ChangePermissionUnrestricted(CoreSession session,
DocumentModel document,
String[] validators,
NuxeoPrincipal principal,
String aclName,
ACL acl) |
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 | 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.
|
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) |
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) |
static void |
TaskEventNotificationHelper.notifyEvent(CoreSession coreSession,
DocumentModel document,
NuxeoPrincipal principal,
Task task,
String eventId,
Map<String,Serializable> properties,
String comment,
String category) |
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) |
Modifier and Type | Method and Description |
---|---|
static String |
Functions.principalFullName(NuxeoPrincipal principal) |
Modifier and Type | Class and Description |
---|---|
class |
DetachedNuxeoPrincipal
Describes a detached NuxeoPrincipal.
|
class |
NuxeoPrincipalImpl |
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
UserManagerImpl.getPrincipal(String username) |
NuxeoPrincipal |
FakeUserManagerImpl.getPrincipal(String username) |
NuxeoPrincipal |
UserManager.getPrincipal(String username)
Retrieves the principal with the given username or null if it does not
exist.
|
NuxeoPrincipal |
UserManagerImpl.getPrincipal(String username,
DocumentModel context) |
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.
|
Modifier and Type | Method and Description |
---|---|
List<NuxeoPrincipal> |
UserManagerImpl.getAvailablePrincipals() |
List<NuxeoPrincipal> |
FakeUserManagerImpl.getAvailablePrincipals() |
List<NuxeoPrincipal> |
UserManager.getAvailablePrincipals()
Deprecated.
use
UserManager.getUserIds() or #searchUsers(null) |
List<NuxeoPrincipal> |
UserManagerImpl.searchByMap(Map<String,Serializable> filter,
Set<String> pattern) |
List<NuxeoPrincipal> |
FakeUserManagerImpl.searchByMap(Map<String,Serializable> filter,
Set<String> pattern) |
List<NuxeoPrincipal> |
UserManager.searchByMap(Map<String,Serializable> filter,
Set<String> pattern)
Deprecated.
|
List<NuxeoPrincipal> |
UserManagerImpl.searchPrincipals(String pattern) |
List<NuxeoPrincipal> |
FakeUserManagerImpl.searchPrincipals(String pattern) |
List<NuxeoPrincipal> |
UserManager.searchPrincipals(String pattern)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
UserManagerImpl.createPrincipal(NuxeoPrincipal principal) |
void |
FakeUserManagerImpl.createPrincipal(NuxeoPrincipal principal) |
void |
UserManager.createPrincipal(NuxeoPrincipal principal)
Deprecated.
|
void |
UserManagerImpl.deletePrincipal(NuxeoPrincipal principal) |
void |
FakeUserManagerImpl.deletePrincipal(NuxeoPrincipal principal) |
void |
UserManager.deletePrincipal(NuxeoPrincipal principal)
Deprecated.
|
static DetachedNuxeoPrincipal |
DetachedNuxeoPrincipal.detach(NuxeoPrincipal principal) |
void |
UserManagerImpl.updatePrincipal(NuxeoPrincipal principal) |
void |
FakeUserManagerImpl.updatePrincipal(NuxeoPrincipal principal) |
void |
UserManager.updatePrincipal(NuxeoPrincipal principal)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SocialWorkspaceAdapter.isAdministrator(NuxeoPrincipal principal) |
boolean |
SocialWorkspace.isAdministrator(NuxeoPrincipal principal)
Returns true if the given
principal is administrator of this
Social Workspace, false otherwise. |
boolean |
SocialWorkspaceAdapter.isAdministratorOrMember(NuxeoPrincipal principal) |
boolean |
SocialWorkspace.isAdministratorOrMember(NuxeoPrincipal principal)
Returns true if the given
principal is administrator or member of
this Social Workspace, false otherwise. |
boolean |
SocialWorkspaceAdapter.isMember(NuxeoPrincipal principal) |
boolean |
SocialWorkspace.isMember(NuxeoPrincipal principal)
Returns true if the given
principal is member of this Social
Workspace, false otherwise. |
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
UserRegistrationService.createUser(CoreSession session,
DocumentModel registrationDoc) |
NuxeoPrincipal |
UserRegistrationComponent.createUser(CoreSession session,
DocumentModel registrationDoc) |
NuxeoPrincipal |
RegistrationUserFactory.createUser(CoreSession session,
DocumentModel registrationDoc)
Deprecated.
Logic into createUser will be moved into the component to
prevent from the need to call doPostUserCreation inside this
method. Must be moved into doCreateUser method.
|
NuxeoPrincipal |
DefaultRegistrationUserFactory.createUser(CoreSession session,
DocumentModel registrationDoc) |
NuxeoPrincipal |
RegistrationUserFactory.doCreateUser(CoreSession session,
DocumentModel registrationDoc)
Handle user creation
|
NuxeoPrincipal |
DefaultRegistrationUserFactory.doCreateUser(CoreSession session,
DocumentModel registrationDoc) |
Modifier and Type | Method and Description |
---|---|
void |
RegistrationUserFactory.doPostUserCreation(CoreSession session,
DocumentModel registrationDoc,
NuxeoPrincipal user)
Called just after the user is created
|
void |
DefaultRegistrationUserFactory.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 | Method and Description |
---|---|
NuxeoPrincipal |
UserSessionBean.getCurrentNuxeoPrincipal() |
NuxeoPrincipal |
UserSession.getCurrentNuxeoPrincipal() |
Modifier and Type | Method and Description |
---|---|
List<NuxeoPrincipal> |
UserService.getUsers() |
Modifier and Type | Method and Description |
---|---|
org.apache.shindig.social.opensocial.model.Person |
PrincipalConverter.convert(NuxeoPrincipal principal)
Converts a Nuxeo Principal to an OpenSocial Person
|
org.apache.shindig.social.opensocial.model.Person |
DefaultPrincipalConverter.convert(NuxeoPrincipal principal) |
Copyright © 2012 Nuxeo SA. All Rights Reserved.