@ -16,15 +16,16 @@ public class CreateGroupEvent extends Event {
|
||||
private Long groupParent;
|
||||
private GroupType groupType;
|
||||
|
||||
public CreateGroupEvent(Long group_id, String user_id, Long parent, GroupType type, Visibility visibility) {
|
||||
super(group_id, user_id);
|
||||
public CreateGroupEvent(Long groupId, String userId, Long parent, GroupType type, Visibility visibility) {
|
||||
super(groupId, userId);
|
||||
this.groupParent = parent;
|
||||
this.groupType = type;
|
||||
this.groupVisibility = visibility;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void apply(Group group) {
|
||||
group.setId(this.group_id);
|
||||
group.setId(this.groupId);
|
||||
group.setParent(this.groupParent);
|
||||
group.setType(this.groupType);
|
||||
group.setVisibility(this.groupVisibility);
|
||||
|
Reference in New Issue
Block a user