Merge "Make all classes of the group REST API public"
This commit is contained in:
@@ -211,12 +211,12 @@ public class AddMembers implements RestModifyView<GroupResource, Input> {
|
||||
return result;
|
||||
}
|
||||
|
||||
static class PutMember implements RestModifyView<GroupResource, Input> {
|
||||
public static class PutMember implements RestModifyView<GroupResource, Input> {
|
||||
|
||||
private final AddMembers put;
|
||||
private final String id;
|
||||
|
||||
PutMember(AddMembers put, String id) {
|
||||
public PutMember(AddMembers put, String id) {
|
||||
this.put = put;
|
||||
this.id = id;
|
||||
}
|
||||
@@ -240,11 +240,11 @@ public class AddMembers implements RestModifyView<GroupResource, Input> {
|
||||
}
|
||||
|
||||
@Singleton
|
||||
static class UpdateMember implements RestModifyView<MemberResource, Input> {
|
||||
public static class UpdateMember implements RestModifyView<MemberResource, Input> {
|
||||
private final GetMember get;
|
||||
|
||||
@Inject
|
||||
UpdateMember(GetMember get) {
|
||||
public UpdateMember(GetMember get) {
|
||||
this.get = get;
|
||||
}
|
||||
|
||||
|
||||
@@ -127,12 +127,12 @@ public class AddSubgroups implements RestModifyView<GroupResource, Input> {
|
||||
groupsUpdateProvider.get().updateGroup(parentGroupUuid, groupUpdate);
|
||||
}
|
||||
|
||||
static class PutSubgroup implements RestModifyView<GroupResource, Input> {
|
||||
public static class PutSubgroup implements RestModifyView<GroupResource, Input> {
|
||||
|
||||
private final AddSubgroups addSubgroups;
|
||||
private final String id;
|
||||
|
||||
PutSubgroup(AddSubgroups addSubgroups, String id) {
|
||||
public PutSubgroup(AddSubgroups addSubgroups, String id) {
|
||||
this.addSubgroups = addSubgroups;
|
||||
this.id = id;
|
||||
}
|
||||
@@ -156,11 +156,11 @@ public class AddSubgroups implements RestModifyView<GroupResource, Input> {
|
||||
}
|
||||
|
||||
@Singleton
|
||||
static class UpdateSubgroup implements RestModifyView<SubgroupResource, Input> {
|
||||
public static class UpdateSubgroup implements RestModifyView<SubgroupResource, Input> {
|
||||
private final Provider<GetSubgroup> get;
|
||||
|
||||
@Inject
|
||||
UpdateSubgroup(Provider<GetSubgroup> get) {
|
||||
public UpdateSubgroup(Provider<GetSubgroup> get) {
|
||||
this.get = get;
|
||||
}
|
||||
|
||||
|
||||
@@ -92,12 +92,12 @@ public class DeleteMembers implements RestModifyView<GroupResource, Input> {
|
||||
}
|
||||
|
||||
@Singleton
|
||||
static class DeleteMember implements RestModifyView<MemberResource, Input> {
|
||||
public static class DeleteMember implements RestModifyView<MemberResource, Input> {
|
||||
|
||||
private final Provider<DeleteMembers> delete;
|
||||
|
||||
@Inject
|
||||
DeleteMember(Provider<DeleteMembers> delete) {
|
||||
public DeleteMember(Provider<DeleteMembers> delete) {
|
||||
this.delete = delete;
|
||||
}
|
||||
|
||||
|
||||
@@ -96,12 +96,12 @@ public class DeleteSubgroups implements RestModifyView<GroupResource, Input> {
|
||||
}
|
||||
|
||||
@Singleton
|
||||
static class DeleteSubgroup implements RestModifyView<SubgroupResource, Input> {
|
||||
public static class DeleteSubgroup implements RestModifyView<SubgroupResource, Input> {
|
||||
|
||||
private final Provider<DeleteSubgroups> delete;
|
||||
|
||||
@Inject
|
||||
DeleteSubgroup(Provider<DeleteSubgroups> delete) {
|
||||
public DeleteSubgroup(Provider<DeleteSubgroups> delete) {
|
||||
this.delete = delete;
|
||||
}
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ public class GroupsCollection
|
||||
private boolean hasQuery2;
|
||||
|
||||
@Inject
|
||||
GroupsCollection(
|
||||
public GroupsCollection(
|
||||
DynamicMap<RestView<GroupResource>> views,
|
||||
Provider<ListGroups> list,
|
||||
Provider<QueryGroups> queryGroups,
|
||||
|
||||
Reference in New Issue
Block a user