2013-02-06 15:40:17 +01:00
|
|
|
package org.gcube.portlets.user.workspace.client.model;
|
|
|
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
2016-09-15 16:42:20 +02:00
|
|
|
|
2013-02-06 15:40:17 +01:00
|
|
|
/**
|
2016-09-15 16:42:20 +02:00
|
|
|
* The Class FolderGridModel.
|
2013-02-06 15:40:17 +01:00
|
|
|
*
|
2016-09-15 16:42:20 +02:00
|
|
|
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
|
|
|
|
* Sep 15, 2016
|
2013-02-06 15:40:17 +01:00
|
|
|
*/
|
|
|
|
public class FolderGridModel extends FileGridModel {
|
|
|
|
|
|
|
|
/**
|
2016-09-15 16:42:20 +02:00
|
|
|
*
|
2013-02-06 15:40:17 +01:00
|
|
|
*/
|
2014-02-17 15:56:42 +01:00
|
|
|
private static final long serialVersionUID = 8274585443980764897L;
|
|
|
|
|
|
|
|
|
2016-09-15 16:42:20 +02:00
|
|
|
/**
|
|
|
|
* Instantiates a new folder grid model.
|
|
|
|
*/
|
2013-02-06 15:40:17 +01:00
|
|
|
protected FolderGridModel() {
|
|
|
|
}
|
2016-09-15 16:42:20 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Instantiates a new folder grid model.
|
|
|
|
*
|
|
|
|
* @param identifier the identifier
|
|
|
|
* @param name the name
|
|
|
|
* @param path the path
|
|
|
|
* @param creationDate the creation date
|
|
|
|
* @param parent the parent
|
|
|
|
* @param size the size
|
|
|
|
* @param isDirectory the is directory
|
|
|
|
* @param isShared the is shared
|
|
|
|
* @param isVREFolder the is vre folder
|
|
|
|
* @param isPublic the is public
|
|
|
|
*/
|
|
|
|
public FolderGridModel(String identifier, String name, String path, Date creationDate, FileModel parent, long size, boolean isDirectory, boolean isShared, boolean isVREFolder, boolean isPublic) {
|
2013-02-06 15:40:17 +01:00
|
|
|
super(identifier, name, path, creationDate, parent, size, isDirectory, isShared);
|
2014-02-13 15:19:42 +01:00
|
|
|
super.setVreFolder(isVREFolder);
|
2016-09-15 16:42:20 +02:00
|
|
|
super.setIsPublic(isPublic);
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
2016-09-15 16:42:20 +02:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Instantiates a new folder grid model.
|
|
|
|
*
|
|
|
|
* @param identifier the identifier
|
|
|
|
* @param name the name
|
|
|
|
* @param creationDate the creation date
|
|
|
|
* @param parent the parent
|
|
|
|
* @param size the size
|
|
|
|
* @param isDirectory the is directory
|
|
|
|
* @param isShared the is shared
|
|
|
|
* @param isVREFolder the is vre folder
|
|
|
|
* @param isPublic the is public
|
|
|
|
*/
|
|
|
|
public FolderGridModel(String identifier, String name, Date creationDate, FileModel parent, long size, boolean isDirectory, boolean isShared, boolean isVREFolder, boolean isPublic) {
|
2013-02-06 15:40:17 +01:00
|
|
|
super(identifier, name, creationDate, parent, size, isDirectory, isShared);
|
2014-02-13 15:19:42 +01:00
|
|
|
super.setVreFolder(isVREFolder);
|
2016-09-15 16:42:20 +02:00
|
|
|
super.setIsPublic(isPublic);
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
|
|
|
}
|