package eu.dnetlib.client.shared;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;

import eu.dnetlib.efg1914.authoring.components.Configuration;
import eu.dnetlib.efg1914.authoring.components.Frame;
import eu.dnetlib.efg1914.authoring.components.Item;
import eu.dnetlib.efg1914.authoring.components.Theme;
import eu.dnetlib.efg1914.authoring.components.Topic;
import eu.dnetlib.efg1914.authoring.users.User;

public class Data implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private ArrayList<Item> newItems = new ArrayList<Item>();
	private ArrayList<Item> deletedItems = new ArrayList<Item>();
	private ArrayList<Item> updatedItems = new ArrayList<Item>();

	private ArrayList<Frame> newFrames = new ArrayList<Frame>();
	private ArrayList<Frame> deletedFrames = new ArrayList<Frame>();
	private ArrayList<Frame> updatedFrames = new ArrayList<Frame>();

	private ArrayList<Theme> newThemes = new ArrayList<Theme>();
	private ArrayList<Theme> deletedThemes = new ArrayList<Theme>();

	private ArrayList<Theme> updatedThemes = new ArrayList<Theme>();

	private ArrayList<Topic> newTopics = new ArrayList<Topic>();
	private ArrayList<Topic> deletedTopics = new ArrayList<Topic>();
	private HashMap<String, String> activeComponents = new HashMap<String, String>();

	private ArrayList<Topic> updatedTopics = new ArrayList<Topic>();

	private ArrayList<User> newUsers = new ArrayList<User>();
	private ArrayList<String> deletedUsers = new ArrayList<String>();
	private ArrayList<User> updatedUsers = new ArrayList<User>();
 
	private Configuration configuration=null;

	public ArrayList<Item> getNewItems() {
		return newItems;
	}

	public void setNewItems(ArrayList<Item> newItems) {
		this.newItems = newItems;
	}

	public ArrayList<Item> getDeletedItems() {
		return deletedItems;
	}

	public void setDeletedItems(ArrayList<Item> deletedItems) {
		this.deletedItems = deletedItems;
	}

	public ArrayList<Item> getUpdatedItems() {
		return updatedItems;
	}

	public void setUpdatedItems(ArrayList<Item> updatedItems) {
		this.updatedItems = updatedItems;
	}

	public ArrayList<Frame> getNewFrames() {
		return newFrames;
	}

	public void setNewFrames(ArrayList<Frame> newFrames) {
		this.newFrames = newFrames;
	}

	public ArrayList<Frame> getDeletedFrames() {
		return deletedFrames;
	}

	public void setDeletedFrames(ArrayList<Frame> deletedFrames) {
		this.deletedFrames = deletedFrames;
	}

	public ArrayList<Frame> getUpdatedFrames() {
		return updatedFrames;
	}

	public void setUpdatedFrames(ArrayList<Frame> updatedFrames) {
		this.updatedFrames = updatedFrames;
	}

	public ArrayList<Theme> getNewThemes() {
		return newThemes;
	}

	public void setNewThemes(ArrayList<Theme> newThemes) {
		this.newThemes = newThemes;
	}

	public ArrayList<Theme> getDeletedThemes() {
		return deletedThemes;
	}

	public void setDeletedThemes(ArrayList<Theme> deletedThemes) {
		this.deletedThemes = deletedThemes;
	}

	public ArrayList<Theme> getUpdatedThemes() {
		return updatedThemes;
	}

	public void setUpdatedThemes(ArrayList<Theme> updatedThemes) {
		this.updatedThemes = updatedThemes;
	}

	public ArrayList<Topic> getNewTopics() {
		return newTopics;
	}

	public void setNewTopics(ArrayList<Topic> newTopics) {
		this.newTopics = newTopics;
	}

	public ArrayList<Topic> getDeletedTopics() {
		return deletedTopics;
	}

	public void setDeletedTopics(ArrayList<Topic> deletedTopics) {
		this.deletedTopics = deletedTopics;
	}

	public HashMap<String, String> getActiveComponents() {
		return activeComponents;
	}

	public void setActiveComponents(HashMap<String, String> activeComponents) {
		this.activeComponents = activeComponents;
	}

	public ArrayList<Topic> getUpdatedTopics() {
		return updatedTopics;
	}

	public void setUpdatedTopics(ArrayList<Topic> updatedTopics) {
		this.updatedTopics = updatedTopics;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public ArrayList<User> getNewUsers() {
		return newUsers;
	}

	public void setNewUsers(ArrayList<User> newUsers) {
		this.newUsers = newUsers;
	}

	public ArrayList<String> getDeletedUsers() {
		return deletedUsers;
	}

	public void setDeletedUsers(ArrayList<String> deletedUsers) {
		this.deletedUsers = deletedUsers;
	}

	public ArrayList<User> getUpdatedUsers() {
		return updatedUsers;
	}

	public void setUpdatedUsers(ArrayList<User> updatedUsers) {
		this.updatedUsers = updatedUsers;
	}

	public Configuration getConfiguration() {
		return configuration;
	}

	public void setConfiguration(Configuration configuration) {
		this.configuration = configuration;
	}

 
}