package org.iri_research.renkan.repositories;

import java.util.Collection;
import java.util.Map;

import org.iri_research.renkan.models.Group;
import org.iri_research.renkan.models.User;

public interface UsersRepositoryCustom {
    /**
     * Set the users group list.
     * @param user : the user
     * @param groupIds : the list of group ids. this parameter must not be null.
     */
    public void setGroupsList(User user, Collection<String> groupIds);    
    public Map<String, Group> getGroupsMap(User user);
}
