Uses of Interface
de.espirit.firstspirit.access.User
Package
Description
-
Uses of User in de.espirit.firstspirit.access
Modifier and TypeMethodDescriptionTask.getCreator()
Ger task creatorTaskState.getCreator()
The user creating this stateClientScriptContext.getUser()
Provides the user object for this context.Connection.getUser()
Return the user of the current sessionTaskErrorInfo.getUser()
Get user objectUserService.getUser()
Shortcut forgetConnection().getUser()
WorkflowContext.getUser()
Get the owner User of this WorkflowContextModifier and TypeMethodDescriptionvoid
MessageService.sendMessage
(@NotNull String message, @NotNull List<User> recipients) Sends the given message to the users specified by the given recipients list. -
Uses of User in de.espirit.firstspirit.access.admin
Modifier and TypeMethodDescriptionUserStorage.createUser
(String loginName, String password) Create a new user.@Nullable User
UserStorage.getUserByID
(long id) Gets the user with the specified ID@Nullable User
UserStorage.getUserByLogin
(String login) Gets the user with the specified login name.Modifier and TypeMethodDescriptionReturns an unmodifiable list of users, which matches the givenpattern
.UserStorage.findUsers
(String pattern, UserStorage.Order orderBy, boolean ascending) Returns an unmodifiable list of users, which matches the givenpattern
.UserStorage.getDeactivatedUsers()
Returns an unmodifiable lazy list of all deactivated users.UserStorage.getDeactivatedUsers
(UserStorage.Order orderBy, boolean ascending) Returns an unmodifiable list of all deactivated users.UserStorage.getUsers()
Returns an unmodifiable lazy list of allUser
objects.UserStorage.getUsers
(UserStorage.Order orderBy, boolean ascending) Returns an unmodifiable list of all users.UserStorage.getUsersByID
(Long[] ids) Returns users with the given ids.Modifier and TypeMethodDescriptionboolean
UserStorage.removeUser
(User user) Returnstrue
if the givenuser
could be deleted.void
Write back a user to server. -
Uses of User in de.espirit.firstspirit.access.packagepool
Modifier and TypeMethodDescriptionPackage.getAuthorisedUsers()
Gets an unmodifiable list of authorisedUser
's of this package.Package.getPublishUsers()
Gets an unmodifiable list ofUser
's which have the permission 'publish' for this package.Package.getResponsibleUsers()
Gets an unmodifiable list of responsibleUser
's of this package.Modifier and TypeMethodDescriptionvoid
Package.addAuthorisedUser
(User user) Adds the given user to the list of authorisedUser
's of this package.void
Package.addPublishUser
(User user) Adds the given user to the list ofUser
's which have the permission 'publish' for this package.void
Package.addResponsibleUser
(User user) Adds the given user to the list of responsibleUser
's of this package.void
Package.removeAuthorisedUser
(User user) Removes the given user from the list of authorisedUser
's of this package.void
Package.removePublishUser
(User user) Removes the given user from the list ofUser
's which have the permission 'publish' for this package.void
Package.removeResponsibleUser
(User user) Removes the given user from the list of responsibleUser
's of this package. -
Uses of User in de.espirit.firstspirit.access.project
Modifier and TypeMethodDescriptionboolean
Project.accessAllowed
(User user) Is a user allowed to acces the projectboolean
Adds the givenuser
to this group.void
Add an user to the project and giving him the access right for this project.void
Adds the givenusers
to this group.Group[]
Project.getGroupsArray
(User user) Returns groups of this project where the user belongs to (at leastEVERYONE
).boolean
boolean
Verifies whether the given user to be a member of this group.boolean
Indicates whether the given user is member of this project.boolean
Group.removeUser
(User user) Remove user from groupvoid
Project.removeUser
(User user) Remove user from projectvoid
Group.removeUsers
(User[] users) Remove the givenusers
from this group.void
RemoteProjectConfiguration.setLoginUser
(@NotNull User user, @NotNull String loginPassword) Sets the user and password which should be used for the remote project connection. -
Uses of User in de.espirit.firstspirit.access.schedule
Modifier and TypeMethodDescription@Nullable User
ScheduleEntryControl.getUser()
Returns theuser
who initialized execution of the belonging schedule entry, ornull
if user is unknown (scheduled start for example).Modifier and TypeMethodDescriptionMaintenanceModeTask.getAllowedUsers()
The server administrator may always connect to the server, even if the maintenance mode is active.ScheduleEntry.getUsers()
aList
of typeUser
containing all users allowed to execute thisScheduleEntry
interactive.Modifier and TypeMethodDescriptionvoid
Adds the given user which should be allowed to execute this schedule entry.void
ScheduleEntry.removeUser
(@NotNull User user) Removes the given user who shouldn't be allowed to execute the schedule entry anymore.Modifier and TypeMethodDescriptionvoid
MaintenanceModeTask.setAllowedUsers
(@NotNull Collection<User> allowedUsers) Specifies all users who are allowed to connect to the server even if the maintenance mode is active. -
Uses of User in de.espirit.firstspirit.access.search
Modifier and TypeMethodDescriptionvoid
Request.setPermission
(User user, int permission) Sets the permissions for searched elements. -
Uses of User in de.espirit.firstspirit.access.store
Modifier and TypeMethodDescription@Nullable User
StoreElement.getEditor()
@Nullable User
IDProvider.getReleasedBy()
The last user who released this node ornull
if this node has never been released.Modifier and TypeMethodDescriptionStoreElement.getPermission
(User user) Returns the correct permission object even if permission checking is turned off.boolean
StoreElement.isWorkflowAllowed
(@Nullable Workflow workflow, User user) Returnstrue
ifworkflow
is notnull
and is explicitly allowed to be started on this element by givenuser
orworkflow
isnull
and any workflow is allowed to be started on this element by givenuser
. ,false
otherwise.void
StoreElement.removePermission
(User user) Removes the permission object for the given user.void
StoreElement.removePermission
(User[] users) Removes the permission object for several given users.void
StoreElement.setPermission
(User[] users, Permission permission) Set the defined permission for several users.void
StoreElement.setPermission
(User user, Permission permission) Set the defined permission for the given user.ModifierConstructorDescriptionLockException
(String message, @Nullable User user, long objectId) Constructor for this class.LockException
(String message, @Nullable User user, long objectId, @Nullable Throwable cause) Constructor for this class. -
Uses of User in de.espirit.firstspirit.access.store.templatestore
Modifier and TypeMethodDescriptionUser[]
WorkflowPermission.getAllowedUsers()
Get all users which are allowed to execute the workflow.User[]
WorkflowTransitionPermission.getAllowedUsers()
Provides the users allowed to perform the transition.Modifier and TypeMethodDescriptionvoid
Allow the given user to execute the workflow.void
Allows the given user to perform the transition.void
WorkflowPermission.forbidUser
(User user) Forbid the given user to execute the workflow.void
WorkflowTransitionPermission.forbidUser
(User user) Forbids the given user to perform the transition.boolean
WorkflowPermission.isUserAllowed
(User user) Check if the given user is allowed to execute the workflow.boolean
WorkflowTransitionPermission.isUserAllowed
(User user) Ascertains whether the given user is allowed to perform the transition.void
WorkflowPermission.setAllowedUsers
(User[] users) Set several user that should be allowed to execute the workflow.void
WorkflowTransitionPermission.setAllowedUsers
(User[] users) Defines the users allowed to perform the transition.ModifierConstructorDescriptionWorkflowLockException
(String message, User user, long objectId) Constructor for this exception based on a message, the operating user and the targeted element. -
Uses of User in de.espirit.firstspirit.agency
Modifier and TypeMethodDescriptionUserAgent.getUser()
Returns the current user of the belonging client session.@Nullable User
ProjectMembersAgent.getUserByLogin
(@NotNull String login) Gets the user with the specified login name.Modifier and TypeMethodDescriptionProjectMembersAgent.getUsers()
Get all users of the current project.Modifier and TypeMethodDescriptionGroupsAgent.getUserGroups
(User user) Deprecated.@NotNull Collection<Group>
ProjectMembersAgent.getUserGroups
(@NotNull User user) Get all project groups where the provided user is a member of.boolean
Indicates, whether the given user is an administrator of the project. -
Uses of User in de.espirit.firstspirit.workflow
Modifier and TypeMethodDescriptionboolean
WorkflowAgent.isTransitionAllowed
(@NotNull Task task, @NotNull StoreElement element, @NotNull Transition transition, @NotNull User user) Returns whether or not aTransition
is allowed for a givenTask
performed by aUser
on aStoreElement
ProjectMembersAgent.getUserGroups(User)