/*
 * =============================================================================
 * Copyright 1998-2012, IAESTE Internet Development Team. All rights reserved.
 * -----------------------------------------------------------------------------
 * Project: IntraWeb Services (iws-api) - net.iaeste.iws.api.requests.UserGroupAssignmentRequest
 * -----------------------------------------------------------------------------
 * This software is provided by the members of the IAESTE Internet Development
 * Team (IDT) to IAESTE A.s.b.l. It is for internal use only and may not be
 * redistributed. IAESTE A.s.b.l. is not permitted to sell this software.
 *
 * This software is provided "as is"; the IDT or individuals within the IDT
 * cannot be held legally responsible for any problems the software may cause.
 * =============================================================================
 */
package net.iaeste.iws.api.requests;

import net.iaeste.iws.api.constants.IWSConstants;

import java.util.HashMap;
import java.util.Map;

/**
 * @author  Kim Jensen / last $Author:$
 * @version $Revision:$ / $Date:$
 * @since   1.7
 * @noinspection RedundantNoArgConstructor
 */
public final class UserGroupAssignmentRequest extends AbstractVerification {

    /** {@link IWSConstants#SERIAL_VERSION_UID}. */
    private static final long serialVersionUID = IWSConstants.SERIAL_VERSION_UID;

    /**
     * Empty Constructor, to use if the setters are invoked. This is required
     * for WebServices to work properly.
     */
    public UserGroupAssignmentRequest() {
    }

    // =========================================================================
    // Standard Setters & Getters
    // =========================================================================

    // =========================================================================
    // Standard Request Methods
    // =========================================================================

    /**
     * {@inheritDoc}
     */
    @Override
    public Map<String, String> validate() {
        final Map<String, String> validation = new HashMap<>(0);
        return validation;
    }
}

@@ -974,16 +974,53 @@
 nstants;
+%0Aimport net.iaeste.iws.api.dtos.User;
 %0A%0Aimport
@@ -1416,16 +1416,177 @@
 N_UID;%0A%0A
+    /** The user that ill be added to a group **/%0A    private User user = null;%0A%0A    /**The group to which the user will be added **/%0A    private Long groupID;%0A%0A
     /**%0A
@@ -1750,19 +1750,110 @@
 Request(
-) %7B
+User user, Long groupID) %7B%0A        this.user = new User(user);%0A        this.groupID = groupID;
 %0A    %7D%0A%0A
@@ -2045,24 +2045,294 @@
 ==========%0A%0A
+    public User getUser() %7B%0A        return user;%0A    %7D%0A%0A    public void setUser(User user) %7B%0A        this.user = user;%0A    %7D%0A%0A    public Long getGroupID() %7B%0A        return groupID;%0A    %7D%0A%0A    public void setGroupID(Long groupID) %7B%0A        this.groupID = groupID;%0A    %7D%0A%0A
     // =====

Create AbstractService class and implement UserService (fixes #168)