/* * * Copyright (C) 2007-2015 Licensed to the Comunes Association (CA) under * one or more contributor license agreements (see COPYRIGHT for details). * The CA licenses this file to you under the GNU Affero General Public * License version 3, (the "License"); you may not use this file except in * compliance with the License. This file is part of kune. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ package cc.kune.core.shared.dto; import java.util.List; import com.google.gwt.user.client.rpc.IsSerializable; // TODO: Auto-generated Javadoc /** * The Class HomeStatsDTO. * * @author vjrj@ourproject.org (Vicente J. Ruiz Jurado) */ public class HomeStatsDTO implements IsSerializable { /** The last contents of my groups. */ private List<ContentSimpleDTO> lastContentsOfMyGroups; /** The last groups. */ private List<GroupDTO> lastGroups; /** The last published contents. */ private List<ContentSimpleDTO> lastPublishedContents; /** The total groups. */ private Long totalGroups; /** The total users. */ private Long totalUsers; /** * Instantiates a new home stats dto. */ public HomeStatsDTO() { } /** * Gets the last contents of my groups. * * @return the last contents of my groups */ public List<ContentSimpleDTO> getLastContentsOfMyGroups() { return lastContentsOfMyGroups; } /** * Gets the last groups. * * @return the last groups */ public List<GroupDTO> getLastGroups() { return lastGroups; } /** * Gets the last published contents. * * @return the last published contents */ public List<ContentSimpleDTO> getLastPublishedContents() { return lastPublishedContents; } /** * Gets the total groups. * * @return the total groups */ public Long getTotalGroups() { return totalGroups; } /** * Gets the total users. * * @return the total users */ public Long getTotalUsers() { return totalUsers; } /** * Sets the last contents of my groups. * * @param lastContentsOfMyGroups * the new last contents of my groups */ public void setLastContentsOfMyGroups(final List<ContentSimpleDTO> lastContentsOfMyGroups) { this.lastContentsOfMyGroups = lastContentsOfMyGroups; } /** * Sets the last groups. * * @param lastGroups * the new last groups */ public void setLastGroups(final List<GroupDTO> lastGroups) { this.lastGroups = lastGroups; } /** * Sets the last published contents. * * @param lastPublishedContents * the new last published contents */ public void setLastPublishedContents(final List<ContentSimpleDTO> lastPublishedContents) { this.lastPublishedContents = lastPublishedContents; } /** * Sets the total groups. * * @param totalGroups * the new total groups */ public void setTotalGroups(final Long totalGroups) { this.totalGroups = totalGroups; } /** * Sets the total users. * * @param totalUsers * the new total users */ public void setTotalUsers(final Long totalUsers) { this.totalUsers = totalUsers; } }