2014-02-17 15:56:42 +01:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
package org.gcube.portlets.user.workspace.shared;
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
import org.gcube.portlets.user.workspace.client.model.FileTrashedModel;
|
|
|
|
|
|
|
|
/**
|
2019-02-22 14:40:20 +01:00
|
|
|
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
2019-02-22 12:18:03 +01:00
|
|
|
* Feb 17, 2014
|
2014-02-17 15:56:42 +01:00
|
|
|
*
|
|
|
|
*/
|
2014-05-13 11:10:54 +02:00
|
|
|
public class TrashContent implements Serializable{
|
2014-02-17 15:56:42 +01:00
|
|
|
|
2019-02-22 15:02:32 +01:00
|
|
|
|
2014-02-17 15:56:42 +01:00
|
|
|
private static final long serialVersionUID = -7428752149892396573L;
|
|
|
|
|
|
|
|
|
|
|
|
List<FileTrashedModel> trashContent;
|
2020-05-19 17:22:22 +02:00
|
|
|
List<TrashOperationError> listErrors;
|
2014-02-17 15:56:42 +01:00
|
|
|
|
2014-05-13 11:10:54 +02:00
|
|
|
public TrashContent() {
|
2014-02-17 15:56:42 +01:00
|
|
|
}
|
|
|
|
|
2020-05-19 17:22:22 +02:00
|
|
|
public TrashContent(List<FileTrashedModel> trashContent, List<TrashOperationError> listErrors) {
|
2014-02-17 15:56:42 +01:00
|
|
|
this.trashContent = trashContent;
|
|
|
|
this.listErrors = listErrors;
|
|
|
|
}
|
|
|
|
|
|
|
|
public List<FileTrashedModel> getTrashContent() {
|
|
|
|
return trashContent;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setTrashContent(List<FileTrashedModel> trashContent) {
|
|
|
|
this.trashContent = trashContent;
|
|
|
|
}
|
|
|
|
|
2020-05-19 17:22:22 +02:00
|
|
|
public List<TrashOperationError> getListErrors() {
|
2014-02-17 15:56:42 +01:00
|
|
|
return listErrors;
|
|
|
|
}
|
|
|
|
|
2020-05-19 17:22:22 +02:00
|
|
|
public void setListErrors(List<TrashOperationError> listErrors) {
|
2014-02-17 15:56:42 +01:00
|
|
|
this.listErrors = listErrors;
|
|
|
|
}
|
2020-05-19 17:22:22 +02:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public String toString() {
|
|
|
|
return "TrashContent [trashContent=" + trashContent + ", listErrors=" + listErrors + "]";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-02-17 15:56:42 +01:00
|
|
|
}
|