-
Methods in org.gitlab4j.api that return Group
Modifier and Type |
Method |
Description |
Group |
GroupApi.addGroup(String name,
String path) |
Creates a new project group.
|
Group |
GroupApi.addGroup(String name,
String path,
String description,
Boolean membershipLock,
Boolean shareWithGroupLock,
Visibility visibility,
Boolean lfsEnabled,
Boolean requestAccessEnabled,
Integer parentId,
Integer sharedRunnersMinutesLimit) |
Deprecated.
|
Group |
GroupApi.addGroup(String name,
String path,
String description,
Visibility visibility,
Boolean lfsEnabled,
Boolean requestAccessEnabled,
Integer parentId) |
Creates a new project group.
|
Group |
GroupApi.addGroup(Group group) |
|
Group |
GroupApi.createGroup(GroupParams params) |
Creates a new project group.
|
Group |
GroupApi.getGroup(Object groupIdOrPath) |
Get all details of a group.
|
Group |
GroupApi.setGroupAvatar(Object groupIdOrPath,
File avatarFile) |
Uploads and sets the project avatar for the specified group.
|
Group |
GroupApi.shareGroup(Object groupIdOrPath,
Integer shareWithGroupId,
AccessLevel groupAccess,
Date expiresAt) |
Share group with another group.
|
Group |
GroupApi.updateGroup(Object groupIdOrPath,
String name,
String path,
String description,
Boolean membershipLock,
Boolean shareWithGroupLock,
Visibility visibility,
Boolean lfsEnabled,
Boolean requestAccessEnabled,
Integer parentId,
Integer sharedRunnersMinutesLimit) |
Deprecated.
|
Group |
GroupApi.updateGroup(Object groupIdOrPath,
String name,
String path,
String description,
Visibility visibility,
Boolean lfsEnabled,
Boolean requestAccessEnabled,
Integer parentId) |
Updates a project group.
|
Group |
GroupApi.updateGroup(Object groupIdOrPath,
GroupParams params) |
Updates the project group.
|
Group |
GroupApi.updateGroup(Group group) |
Updates a project group.
|
Methods in org.gitlab4j.api that return types with arguments of type Group
Modifier and Type |
Method |
Description |
List<Group> |
GroupApi.getGroups() |
Get a list of groups.
|
Pager<Group> |
GroupApi.getGroups(int itemsPerPage) |
Get a Pager of groups.
|
List<Group> |
GroupApi.getGroups(int page,
int perPage) |
Get a list of groups (As user: my groups, as admin: all groups) and in the specified page range.
|
List<Group> |
GroupApi.getGroups(String search) |
Get all groups that match your string in their name or path.
|
Pager<Group> |
GroupApi.getGroups(String search,
int itemsPerPage) |
Get all groups that match your string in their name or path.
|
List<Group> |
GroupApi.getGroups(String search,
int page,
int perPage) |
Get all groups that match your string in their name or path.
|
List<Group> |
GroupApi.getGroups(GroupFilter filter) |
Get a list of visible groups for the authenticated user using the provided filter.
|
Pager<Group> |
GroupApi.getGroups(GroupFilter filter,
int itemsPerPage) |
Get a Pager of visible groups for the authenticated user using the provided filter.
|
Stream<Group> |
GroupApi.getGroupsStream() |
Get a Stream of groups.
|
Stream<Group> |
GroupApi.getGroupsStream(String search) |
Get all groups that match your string in their name or path as a Stream.
|
Stream<Group> |
GroupApi.getGroupsStream(GroupFilter filter) |
Get a Stream of visible groups for the authenticated user using the provided filter.
|
Optional<Group> |
GroupApi.getOptionalGroup(Object groupIdOrPath) |
Get all details of a group as an Optional instance.
|
List<Group> |
GroupApi.getSubGroups(Object groupIdOrPath) |
Get a list of visible direct subgroups in this group.
|
Pager<Group> |
GroupApi.getSubGroups(Object groupIdOrPath,
int itemsPerPage) |
Get a Pager of visible direct subgroups in this group.
|
List<Group> |
GroupApi.getSubGroups(Object groupIdOrPath,
List<Integer> skipGroups,
Boolean allAvailable,
String search,
Constants.GroupOrderBy orderBy,
Constants.SortOrder sortOrder,
Boolean statistics,
Boolean owned) |
Get a list of visible direct subgroups in this group.
|
Pager<Group> |
GroupApi.getSubGroups(Object groupIdOrPath,
List<Integer> skipGroups,
Boolean allAvailable,
String search,
Constants.GroupOrderBy orderBy,
Constants.SortOrder sortOrder,
Boolean statistics,
Boolean owned,
int itemsPerPage) |
Get a Pager of visible direct subgroups in this group.
|
List<Group> |
GroupApi.getSubGroups(Object groupIdOrPath,
List<Integer> skipGroups,
Boolean allAvailable,
String search,
Constants.GroupOrderBy orderBy,
Constants.SortOrder sortOrder,
Boolean statistics,
Boolean owned,
int page,
int perPage) |
Get a list of visible direct subgroups in this group.
|
Stream<Group> |
GroupApi.getSubGroupsStream(Object groupIdOrPath) |
Get a Stream of visible direct subgroups in this group.
|
Stream<Group> |
GroupApi.getSubGroupsStream(Object groupIdOrPath,
List<Integer> skipGroups,
Boolean allAvailable,
String search,
Constants.GroupOrderBy orderBy,
Constants.SortOrder sortOrder,
Boolean statistics,
Boolean owned) |
Get a Stream of visible direct subgroups in this group.
|
-
GroupApi.addGroup(String, String, String, Visibility, Boolean, Boolean, Integer)