Uses of Interface
ch.ivyteam.ivy.security.IUser
Packages that use IUser
Package
Description
-
Uses of IUser in ch.ivyteam.ivy.bpm.engine.client
Methods in ch.ivyteam.ivy.bpm.engine.client with parameters of type IUser -
Uses of IUser in ch.ivyteam.ivy.bpm.engine.client.sub
Methods in ch.ivyteam.ivy.bpm.engine.client.sub with parameters of type IUserModifier and TypeMethodDescriptionExecute the request as the given user -
Uses of IUser in ch.ivyteam.ivy.environment
Methods in ch.ivyteam.ivy.environment with parameters of type IUser -
Uses of IUser in ch.ivyteam.ivy.security
Methods in ch.ivyteam.ivy.security that return IUserModifier and TypeMethodDescriptiondefault IUserISecurityContext.createUser(String userName, String fullUserName, String password, Locale eMailLanguage, String eMailAddress, String externalSecuritySystemName) Deprecated, for removal: This API element is subject to removal in a future version.ISecurityContext.findUser(long userId) Deprecated, for removal: This API element is subject to removal in a future version.useISecurityContext.users().find(long)insteaddefault IUserDeprecated, for removal: This API element is subject to removal in a future version.useISecurityContext.users().findWithExternalLookup(String)instead
Migration Example:ivy.session().getSecurityContext().findUser("ivy")==>ivy.security.users().findWithExternalLookup("ivy")ISecurityContext.findUserWithoutLookup(String userName) Deprecated, for removal: This API element is subject to removal in a future version.useISecurityContext.users().find(String)insteaddefault IUserISecurityDescriptor.getOwner()Deprecated, for removal: This API element is subject to removal in a future version.Not supported anymore.ISession.getSessionUser()Returns the session user or null if no user has been authenticated within the session (e.g., an anonymous session)IUserSubstitute.getSubstituteUser()Gets the substitute userISecurityContext.getSystemUser()Deprecated, for removal: This API element is subject to removal in a future version.IUserSubstitute.getUser()Gets the user the substitute belongs toMethods in ch.ivyteam.ivy.security that return types with arguments of type IUserModifier and TypeMethodDescriptionIRole.getAllUsers()Deprecated.IRole.getUsers()Deprecated.useIRole.users().assignedPaged()
Migration Example:ivy.session().getSecurityContext().findRole("ivy").getUsers()==>ivy.security.roles().find("ivy").users().assignedPaged().page(1)ISecurityContext.getUsers()Deprecated, for removal: This API element is subject to removal in a future version.Methods in ch.ivyteam.ivy.security with parameters of type IUserModifier and TypeMethodDescriptionbooleanIUserToken.canActAsUser(IUser user) Tests if the user of this user token currently can act as a certain workflow user.IUser.createSubstitute(IUser mySubstitute, IRole forThisRole, String description) Creates a new substitute for a specific role.IUser.createSubstitute(IUser mySubstitute, String description, SubstitutionType type) Creates a new substitute for personal tasks. -
Uses of IUser in ch.ivyteam.ivy.security.query
Methods in ch.ivyteam.ivy.security.query that return types with arguments of type IUserModifier and TypeMethodDescriptionUserQuery.executor()Provides a fluent API to execute this query and fetch its results. -
Uses of IUser in ch.ivyteam.ivy.security.session
Methods in ch.ivyteam.ivy.security.session with parameters of type IUser -
Uses of IUser in ch.ivyteam.ivy.security.synch
Methods in ch.ivyteam.ivy.security.synch that return IUser -
Uses of IUser in ch.ivyteam.ivy.security.user
Methods in ch.ivyteam.ivy.security.user that return IUserModifier and TypeMethodDescriptionCreates a new userCreates a new userCreates a new userIUserRepository.find(long userId) Deprecated, for removal: This API element is subject to removal in a future version.Finds a user by its name.Find a user by its identifierIUserRepository.findWithExternalLookup(String userName) Find a user by its name.IUserRepository.system()Gets the system userMethods in ch.ivyteam.ivy.security.user that return types with arguments of type IUserModifier and TypeMethodDescriptionIRoleUsers.allPaged()Gets all users that own this role.IRoleUsers.allPaged(int pageSize) Gets all users that own this role.IRoleUsers.assignedPaged()Gets all users that are directly assigned to this roleIRoleUsers.assignedPaged(int pageSize) Gets all users that are directly assigned to this roleIUserRepository.paged()Gets a paged result with all users of this security contextIUserRepository.paged(int pageSize) Gets a paged result with all users of this security context -
Uses of IUser in ch.ivyteam.ivy.workflow
Methods in ch.ivyteam.ivy.workflow that return IUserModifier and TypeMethodDescriptionICase.getCreatorUser()Gets the user who created this case.IWorkflowEvent.getUser()Gets the user which is responsible for this event.ITask.getWorkerUser()Gets the user who has worked or is working on this task.INote.getWritter()Deprecated, for removal: This API element is subject to removal in a future version.useNote.author()Methods in ch.ivyteam.ivy.workflow that return types with arguments of type IUserModifier and TypeMethodDescriptionITask.getActivatorUserCandidates()Deprecated.useITask.activator().userCandidatesPaged()insteadMethods in ch.ivyteam.ivy.workflow with parameters of type IUserModifier and TypeMethodDescriptionIWorkflowContext.findStartable(IUser user, String id) Returns an optional startable for the given id that the user can start.IWorkflowContext.findWorkTasks(IUser user, int startIndex, int count) Deprecated, for removal: This API element is subject to removal in a future version.useinsteadTaskQuery.canWorkOn(..).executor().results(startIndex, count)IWorkflowContext.findWorkTasks(IUser user, IPropertyFilter<TaskProperty> filter, List<PropertyOrder<TaskProperty>> order, int startIndex, int count, boolean returnAllCount, EnumSet<TaskState> includeTaskStates) Deprecated, for removal: This API element is subject to removal in a future version.useinsteadTaskQuery.canWorkOn(..).executor().results(startIndex, count)IWorkflowContext.getStartableProcessStarts(IUser user) Returns all process start elements which the given user can start.IWorkflowContext.getStartables(IUser user) Returns all startables which the given user can start.default voidICase.setCreatorUser(IUser creatorUser) Sets the given user as case creator. -
Uses of IUser in ch.ivyteam.ivy.workflow.document
Methods in ch.ivyteam.ivy.workflow.document that return IUser -
Uses of IUser in ch.ivyteam.ivy.workflow.note
Methods in ch.ivyteam.ivy.workflow.note that return IUserMethods in ch.ivyteam.ivy.workflow.note with parameters of type IUser -
Uses of IUser in ch.ivyteam.ivy.workflow.query
Methods in ch.ivyteam.ivy.workflow.query with parameters of type IUserModifier and TypeMethodDescriptionCaseQuery.FilterQuery.userCanWorkOn(IUser user) CaseQuery.IFilterableColumns.userCanWorkOn(IUser user) Filters all cases where the user can work on at least one task.CaseQuery.FilterQuery.userIsInvolved(IUser user) CaseQuery.IFilterableColumns.userIsInvolved(IUser user) Filters all cases the user is involved in.TaskQuery.FilterQuery.userIsInvolved(IUser user) TaskQuery.IFilterableColumns.userIsInvolved(IUser user) Filters all tasks the user is involved in.CaseQuery.FilterQuery.userOrHisRolesAreInvolved(IUser user) CaseQuery.IFilterableColumns.userOrHisRolesAreInvolved(IUser user) Filters all cases the user or any of his roles are involved in.TaskQuery.FilterQuery.userOrHisRolesAreInvolved(IUser user) TaskQuery.IFilterableColumns.userOrHisRolesAreInvolved(IUser user) Filters all tasks the given user or any of his roles are involved in. -
Uses of IUser in ch.ivyteam.ivy.workflow.signal
Methods in ch.ivyteam.ivy.workflow.signal that return IUser -
Uses of IUser in ch.ivyteam.ivy.workflow.task
Methods in ch.ivyteam.ivy.workflow.task that return types with arguments of type IUserModifier and TypeMethodDescriptionIActivator.userCandidatesPaged()Evaluates alluserswho can resume this task.IActivator.userCandidatesPaged(int pageSize) Evaluates alluserswho can resume this task.Methods in ch.ivyteam.ivy.workflow.task with parameters of type IUser
ISecurityContext.users().create(NewUser)insteadMigration Example:
ivy.session().getSecurityContext().createUser("jd", "John Doe", "1234", Locale.ENGLISH, "john.doe@axonivy.com", null)==>ivy.security.users.create(NewUser.create("jd").fullName("John Doe").password("1234").mailLanguage(Locale.ENGLISH).mailAddress("john.doe@axonivy.com").toNewUser())