Package de.espirit.firstspirit.agency
Interface ProjectMembersAgent
public interface ProjectMembersAgent
Agent providing access to user and group information.
- Since:
- 5.2.1502
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final SpecialistType<ProjectMembersAgent>Agent providing access to user and group information.
- 
Method SummaryModifier and TypeMethodDescription@Nullable GroupgetGroupByName(@NotNull String name) Gets the group with the specified name.Get all groups of the current project.@Nullable UsergetUserByLogin(@NotNull String login) Gets the user with the specified login name.@NotNull Collection<Group>getUserGroups(@NotNull User user) Get all project groups where the provided user is a member of.getUsers()Get all users of the current project.
- 
Field Details- 
TYPEAgent providing access to user and group information.- Since:
- 5.2.1502
 
 
- 
- 
Method Details- 
getGroupsGet all groups of the current project.- Returns:
- All groups of the current project.
- Since:
- 5.2.1502
 
- 
getUsersGet all users of the current project.- Returns:
- All users of the current project.
- Since:
- 5.2.1502
 
- 
getUserByLoginGets the user with the specified login name.- Parameters:
- login- The login of the user.
- Returns:
- User with the specified login name or nullif no user exists.
- Since:
- 5.2.1502
 
- 
getGroupByNameGets the group with the specified name.- Parameters:
- name- The name of the group.
- Returns:
- Group with the specified name or nullif group does not exists.
- Since:
- 5.2.1502
 
- 
getUserGroupsGet all project groups where the provided user is a member of.- Parameters:
- user- The user to get the groups for.
- Returns:
- All project groups where the provided user is a member of.
- Since:
- 5.2.1502
 
 
-