starting migration to SHUB
This commit is contained in:
parent
ceb922e245
commit
06b3a2a987
|
@ -17,11 +17,6 @@
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
|
|
||||||
<attributes>
|
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
|
||||||
</attributes>
|
|
||||||
</classpathentry>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
<root>
|
||||||
|
<facet id="jst.jaxrs">
|
||||||
|
<node name="libprov">
|
||||||
|
<attribute name="provider-id" value="jaxrs-no-op-library-provider"/>
|
||||||
|
</node>
|
||||||
|
</facet>
|
||||||
|
</root>
|
|
@ -2,4 +2,5 @@
|
||||||
<faceted-project>
|
<faceted-project>
|
||||||
<installed facet="java" version="1.7"/>
|
<installed facet="java" version="1.7"/>
|
||||||
<installed facet="jst.web" version="2.5"/>
|
<installed facet="jst.web" version="2.5"/>
|
||||||
|
<installed facet="jst.jaxrs" version="2.0"/>
|
||||||
</faceted-project>
|
</faceted-project>
|
||||||
|
|
30
pom.xml
30
pom.xml
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
<groupId>org.gcube.portlets.user</groupId>
|
<groupId>org.gcube.portlets.user</groupId>
|
||||||
<artifactId>workspace-explorer-app</artifactId>
|
<artifactId>workspace-explorer-app</artifactId>
|
||||||
<version>1.2.0-SNAPSHOT</version>
|
<version>1.3.0-SNAPSHOT</version>
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
|
@ -73,7 +73,6 @@
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
<!-- GwtMaterial -->
|
<!-- GwtMaterial -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.github.gwtmaterialdesign</groupId>
|
<groupId>com.github.gwtmaterialdesign</groupId>
|
||||||
|
@ -114,24 +113,16 @@
|
||||||
|
|
||||||
<!-- END FWS -->
|
<!-- END FWS -->
|
||||||
|
|
||||||
<!-- <dependency> -->
|
|
||||||
<!-- <groupId>org.gcube.applicationsupportlayer</groupId> -->
|
|
||||||
<!-- <artifactId>aslcore</artifactId> -->
|
|
||||||
<!-- <scope>provided</scope> -->
|
|
||||||
<!-- </dependency> -->
|
|
||||||
|
|
||||||
<!-- HOME LIBRARY -->
|
<!-- HOME LIBRARY -->
|
||||||
<dependency>
|
<!-- <dependency>
|
||||||
<groupId>org.gcube.common</groupId>
|
<groupId>org.gcube.common</groupId>
|
||||||
<artifactId>home-library-model</artifactId>
|
<artifactId>home-library-model</artifactId>
|
||||||
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
|
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.common</groupId>
|
<groupId>org.gcube.common</groupId>
|
||||||
<artifactId>home-library-jcr</artifactId>
|
<artifactId>home-library-jcr</artifactId>
|
||||||
<version>[2.5.0-SNAPSHOT,3.0.0-SNAPSHOT)</version>
|
<version>[2.5.0-SNAPSHOT,3.0.0-SNAPSHOT)</version>
|
||||||
<scope>compile</scope>
|
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
<artifactId>asm-debug-all</artifactId>
|
<artifactId>asm-debug-all</artifactId>
|
||||||
|
@ -143,13 +134,19 @@
|
||||||
<groupId>org.gcube.common</groupId>
|
<groupId>org.gcube.common</groupId>
|
||||||
<artifactId>home-library</artifactId>
|
<artifactId>home-library</artifactId>
|
||||||
<version>[2.5.0-SNAPSHOT,3.0.0-SNAPSHOT)</version>
|
<version>[2.5.0-SNAPSHOT,3.0.0-SNAPSHOT)</version>
|
||||||
<scope>compile</scope>
|
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
<artifactId>asm-all</artifactId>
|
<artifactId>asm-all</artifactId>
|
||||||
<groupId>asm</groupId>
|
<groupId>asm</groupId>
|
||||||
</exclusion>
|
</exclusion>
|
||||||
</exclusions>
|
</exclusions>
|
||||||
|
</dependency>-->
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.gcube.common</groupId>
|
||||||
|
<artifactId>storagehub-client-wrapper</artifactId>
|
||||||
|
<version>[0.0.1, 1.0.0-SNAPSHOT)</version>
|
||||||
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -166,13 +163,6 @@
|
||||||
<version>1.8</version>
|
<version>1.8</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
<!-- <dependency> -->
|
|
||||||
<!-- <groupId>org.gcube.portlets.widgets</groupId> -->
|
|
||||||
<!-- <artifactId>workspace-explorer</artifactId> -->
|
|
||||||
<!-- <version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version> -->
|
|
||||||
<!-- </dependency> -->
|
|
||||||
|
|
||||||
<!-- LOGGER -->
|
<!-- LOGGER -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.slf4j</groupId>
|
<groupId>org.slf4j</groupId>
|
||||||
|
@ -249,7 +239,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-war-plugin</artifactId>
|
<artifactId>maven-war-plugin</artifactId>
|
||||||
<version>${maven-war-plugin.version}</version>
|
<!-- <version>${maven-war-plugin.version}</version> -->
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<phase>compile</phase>
|
<phase>compile</phase>
|
||||||
|
|
|
@ -10,13 +10,8 @@ import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Map.Entry;
|
import java.util.Map.Entry;
|
||||||
|
|
||||||
import org.gcube.common.homelibary.model.items.type.WorkspaceItemType;
|
import org.gcube.common.storagehubwrapper.shared.tohl.WorkspaceItem;
|
||||||
import org.gcube.common.homelibrary.home.exceptions.InternalErrorException;
|
import org.gcube.common.storagehubwrapper.shared.tohl.items.FileItem;
|
||||||
import org.gcube.common.homelibrary.home.workspace.WorkspaceFolder;
|
|
||||||
import org.gcube.common.homelibrary.home.workspace.WorkspaceItem;
|
|
||||||
import org.gcube.common.homelibrary.home.workspace.WorkspaceSharedFolder;
|
|
||||||
import org.gcube.common.homelibrary.home.workspace.folder.FolderItem;
|
|
||||||
import org.gcube.common.homelibrary.home.workspace.folder.items.ExternalFile;
|
|
||||||
import org.gcube.portlets.user.workspaceexplorerapp.client.Util;
|
import org.gcube.portlets.user.workspaceexplorerapp.client.Util;
|
||||||
import org.gcube.portlets.user.workspaceexplorerapp.client.WorkspaceExplorerAppConstants;
|
import org.gcube.portlets.user.workspaceexplorerapp.client.WorkspaceExplorerAppConstants;
|
||||||
import org.gcube.portlets.user.workspaceexplorerapp.shared.FilterCriteria;
|
import org.gcube.portlets.user.workspaceexplorerapp.shared.FilterCriteria;
|
||||||
|
@ -163,32 +158,38 @@ public class ItemBuilder {
|
||||||
* @return the item type
|
* @return the item type
|
||||||
* @throws InternalErrorException the internal error exception
|
* @throws InternalErrorException the internal error exception
|
||||||
*/
|
*/
|
||||||
protected static ItemType getItemType(WorkspaceItem item) throws InternalErrorException
|
protected static ItemType getItemType(WorkspaceItem item) {
|
||||||
{
|
switch (item.getType()) {
|
||||||
switch(item.getType())
|
case SHARED_FOLDER:
|
||||||
{
|
case FOLDER: {
|
||||||
case SHARED_FOLDER:
|
|
||||||
case FOLDER:{
|
|
||||||
// if (item.isRoot()) return ItemType.ROOT;
|
// if (item.isRoot()) return ItemType.ROOT;
|
||||||
return ItemType.FOLDER;
|
return ItemType.FOLDER;
|
||||||
}
|
}
|
||||||
case FOLDER_ITEM: return getFolderItemType((FolderItem) item);
|
case FILE_ITEM:
|
||||||
|
|
||||||
default:
|
if (item instanceof FileItem)
|
||||||
return null;
|
|
||||||
|
return getFileItemType((FileItem) item);
|
||||||
|
|
||||||
|
else
|
||||||
|
return ItemType.UNKNOWN_TYPE;
|
||||||
|
|
||||||
|
default:
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the folder item type.
|
* Gets the file item type.
|
||||||
*
|
*
|
||||||
* @param item the item
|
* @param item the item
|
||||||
* @return the folder item type
|
* @return the file item type
|
||||||
*/
|
*/
|
||||||
protected static ItemType getFolderItemType(FolderItem item){
|
protected static ItemType getFileItemType(FileItem item){
|
||||||
|
|
||||||
try{
|
try{
|
||||||
return ItemType.valueOf(item.getFolderItemType().toString());
|
return ItemType.valueOf(item.getFileItemType().toString());
|
||||||
}catch (Exception e) {
|
}catch (Exception e) {
|
||||||
_log.error("Item Type non found: ",e);
|
_log.error("Item Type non found: ",e);
|
||||||
return ItemType.UNKNOWN_TYPE;
|
return ItemType.UNKNOWN_TYPE;
|
||||||
|
|
|
@ -7,15 +7,9 @@ import java.util.List;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
import org.gcube.common.encryption.StringEncrypter;
|
import org.gcube.common.encryption.StringEncrypter;
|
||||||
import org.gcube.common.homelibary.model.items.type.WorkspaceItemType;
|
|
||||||
import org.gcube.common.homelibrary.home.workspace.Workspace;
|
|
||||||
import org.gcube.common.homelibrary.home.workspace.WorkspaceFolder;
|
|
||||||
import org.gcube.common.homelibrary.home.workspace.WorkspaceItem;
|
|
||||||
import org.gcube.common.homelibrary.home.workspace.WorkspaceSharedFolder;
|
|
||||||
import org.gcube.common.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException;
|
|
||||||
import org.gcube.common.homelibrary.home.workspace.exceptions.ItemAlreadyExistException;
|
|
||||||
import org.gcube.common.homelibrary.home.workspace.folder.FolderItem;
|
|
||||||
import org.gcube.common.scope.api.ScopeProvider;
|
import org.gcube.common.scope.api.ScopeProvider;
|
||||||
|
import org.gcube.common.storagehubwrapper.server.tohl.Workspace;
|
||||||
|
import org.gcube.common.storagehubwrapper.shared.tohl.impl.WorkspaceFolder;
|
||||||
import org.gcube.portlets.user.workspaceexplorerapp.client.WorkspaceExplorerAppConstants;
|
import org.gcube.portlets.user.workspaceexplorerapp.client.WorkspaceExplorerAppConstants;
|
||||||
import org.gcube.portlets.user.workspaceexplorerapp.client.rpc.WorkspaceExplorerAppService;
|
import org.gcube.portlets.user.workspaceexplorerapp.client.rpc.WorkspaceExplorerAppService;
|
||||||
import org.gcube.portlets.user.workspaceexplorerapp.shared.FilterCriteria;
|
import org.gcube.portlets.user.workspaceexplorerapp.shared.FilterCriteria;
|
||||||
|
@ -57,7 +51,7 @@ public class WorkspaceExplorerAppServiceImpl extends RemoteServiceServlet implem
|
||||||
Workspace workspace = WsUtil.getWorkspace(this.getThreadLocalRequest().getSession());
|
Workspace workspace = WsUtil.getWorkspace(this.getThreadLocalRequest().getSession());
|
||||||
logger.trace("Start getRoot...");
|
logger.trace("Start getRoot...");
|
||||||
|
|
||||||
WorkspaceItem root = workspace.getRoot();
|
org.gcube.common.storagehubwrapper.shared.tohl.WorkspaceFolder root = workspace.getRoot();
|
||||||
|
|
||||||
logger.trace("GetRoot - Replyiing root");
|
logger.trace("GetRoot - Replyiing root");
|
||||||
long startTime = System.currentTimeMillis();
|
long startTime = System.currentTimeMillis();
|
||||||
|
|
|
@ -5,22 +5,15 @@ package org.gcube.portlets.user.workspaceexplorerapp.server;
|
||||||
|
|
||||||
import javax.servlet.http.HttpSession;
|
import javax.servlet.http.HttpSession;
|
||||||
|
|
||||||
import org.gcube.common.homelibrary.home.HomeLibrary;
|
import org.gcube.common.storagehubwrapper.server.StorageHubWrapper;
|
||||||
import org.gcube.common.homelibrary.home.exceptions.HomeNotFoundException;
|
|
||||||
import org.gcube.common.homelibrary.home.exceptions.InternalErrorException;
|
|
||||||
import org.gcube.common.homelibrary.home.exceptions.UserNotFoundException;
|
|
||||||
import org.gcube.common.homelibrary.home.workspace.Workspace;
|
|
||||||
import org.gcube.common.homelibrary.home.workspace.exceptions.WorkspaceFolderNotFoundException;
|
|
||||||
import org.gcube.common.scope.api.ScopeProvider;
|
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
|
// TODO: Auto-generated Javadoc
|
||||||
/**
|
/**
|
||||||
* The Class WsUtil.
|
* The Class WsUtil.
|
||||||
*
|
*
|
||||||
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
|
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it Sep 13, 2016
|
||||||
* Sep 13, 2016
|
|
||||||
*/
|
*/
|
||||||
public class WsUtil {
|
public class WsUtil {
|
||||||
|
|
||||||
|
@ -29,40 +22,88 @@ public class WsUtil {
|
||||||
public static final String SESSION_SCOPE = "session_scope";
|
public static final String SESSION_SCOPE = "session_scope";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the workspace.
|
* Gets the storage hub wrapper.
|
||||||
*
|
*
|
||||||
* @param httpSession the http session
|
* @param httpSession the http session
|
||||||
* @return the workspace
|
* @return the storage hub wrapper
|
||||||
* @throws InternalErrorException the internal error exception
|
* @throws Exception the exception
|
||||||
* @throws HomeNotFoundException the home not found exception
|
|
||||||
* @throws WorkspaceFolderNotFoundException the workspace folder not found exception
|
|
||||||
* @throws UserNotFoundException the user not found exception
|
|
||||||
*/
|
*/
|
||||||
public static Workspace getWorkspace(HttpSession httpSession) throws InternalErrorException, HomeNotFoundException, WorkspaceFolderNotFoundException, UserNotFoundException {
|
public static StorageHubWrapper getStorageHubWrapper(HttpSession httpSession) throws Exception {
|
||||||
// ASLSession session = getASLSession(httpSession);
|
|
||||||
|
|
||||||
String scope = getScope(httpSession);
|
try {
|
||||||
//GET CONTEXT
|
String scope = getScope(httpSession);
|
||||||
logger.info("Setting scope: "+scope);
|
// TODO
|
||||||
ScopeProvider.instance.set(scope);
|
String token = "MUST BE PROVIDED";
|
||||||
return HomeLibrary.getHomeManagerFactory().getHomeManager().getGuestLogin().getWorkspace();
|
logger.debug("Getting " + StorageHubWrapper.class.getSimpleName() +
|
||||||
|
" by token: " + token.substring(0, 10) +" MASKED TOKEN" +
|
||||||
|
" by using the scope: " + scope);
|
||||||
|
|
||||||
|
return new StorageHubWrapper(scope, token, false, false, true);
|
||||||
|
} catch (Exception e) {
|
||||||
|
logger.error("Error during getting storageHub wrapper", e);
|
||||||
|
throw new Exception("Error on inizializing the StorageHub");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the workpace.
|
||||||
|
*
|
||||||
|
* @param httpSession the http session
|
||||||
|
* @return the workpace
|
||||||
|
* @throws Exception the exception
|
||||||
|
*/
|
||||||
|
public static org.gcube.common.storagehubwrapper.server.tohl.Workspace getWorkspace(HttpSession httpSession) throws Exception {
|
||||||
|
|
||||||
|
try {
|
||||||
|
StorageHubWrapper wrapper = getStorageHubWrapper(httpSession);
|
||||||
|
return wrapper.getWorkspace();
|
||||||
|
} catch (Exception e) {
|
||||||
|
logger.error("Error on getting the Workspace", e);
|
||||||
|
throw new Exception("Error on getting the Workspace");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// /**
|
||||||
|
// * Gets the workspace.
|
||||||
|
// *
|
||||||
|
// * @param httpSession the http session
|
||||||
|
// * @return the workspace
|
||||||
|
// * @throws InternalErrorException the internal error exception
|
||||||
|
// * @throws HomeNotFoundException the home not found exception
|
||||||
|
// * @throws WorkspaceFolderNotFoundException the workspace folder not found
|
||||||
|
// * exception
|
||||||
|
// * @throws UserNotFoundException the user not found exception
|
||||||
|
// */
|
||||||
|
// public static Workspace getWorkspace(HttpSession httpSession) throws InternalErrorException, HomeNotFoundException,
|
||||||
|
// WorkspaceFolderNotFoundException, UserNotFoundException {
|
||||||
|
//// ASLSession session = getASLSession(httpSession);
|
||||||
|
//
|
||||||
|
// String scope = getScope(httpSession);
|
||||||
|
// // GET CONTEXT
|
||||||
|
// logger.info("Setting scope: " + scope);
|
||||||
|
// ScopeProvider.instance.set(scope);
|
||||||
|
// return HomeLibrary.getHomeManagerFactory().getHomeManager().getGuestLogin().getWorkspace();
|
||||||
|
// }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the scope.
|
* Gets the scope.
|
||||||
*
|
*
|
||||||
|
* @param httpSession the http session
|
||||||
* @return the scope
|
* @return the scope
|
||||||
*/
|
*/
|
||||||
public static String getScope(HttpSession httpSession){
|
public static String getScope(HttpSession httpSession) {
|
||||||
String scope = (String) httpSession.getAttribute(SESSION_SCOPE);
|
String scope = (String) httpSession.getAttribute(SESSION_SCOPE);
|
||||||
logger.info("Variable "+SESSION_SCOPE + " read from httpsession is: "+scope);
|
logger.info("Variable " + SESSION_SCOPE + " read from httpsession is: " + scope);
|
||||||
|
|
||||||
if(scope==null){
|
if (scope == null) {
|
||||||
logger.info("Variable "+SESSION_SCOPE + " is null reading from web.xml context");
|
logger.info("Variable " + SESSION_SCOPE + " is null reading from web.xml context");
|
||||||
String variableScopeName = httpSession.getServletContext().getInitParameter(ENVIRONMENT_VARIABLE_SCOPE_NAME);
|
String variableScopeName = httpSession.getServletContext()
|
||||||
logger.info("Found param-value '"+variableScopeName+"' from web context, reading its value from ENVIRONMENT");
|
.getInitParameter(ENVIRONMENT_VARIABLE_SCOPE_NAME);
|
||||||
|
logger.info("Found param-value '" + variableScopeName
|
||||||
|
+ "' from web context, reading its value from ENVIRONMENT");
|
||||||
scope = System.getenv(variableScopeName);
|
scope = System.getenv(variableScopeName);
|
||||||
logger.info("Value of "+variableScopeName+" from ENVIRONMENT is: "+scope);
|
logger.info("Value of " + variableScopeName + " from ENVIRONMENT is: " + scope);
|
||||||
}
|
}
|
||||||
|
|
||||||
httpSession.setAttribute(ENVIRONMENT_VARIABLE_SCOPE_NAME, scope);
|
httpSession.setAttribute(ENVIRONMENT_VARIABLE_SCOPE_NAME, scope);
|
||||||
|
|
|
@ -3,29 +3,40 @@
|
||||||
*/
|
*/
|
||||||
package org.gcube.portlets.user.workspaceexplorerapp.shared;
|
package org.gcube.portlets.user.workspaceexplorerapp.shared;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Enum ItemType.
|
* The Enum ItemType.
|
||||||
*
|
*
|
||||||
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
|
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it Jun 18, 2015
|
||||||
* Jun 18, 2015
|
|
||||||
*/
|
*/
|
||||||
public enum ItemType {
|
public enum ItemType {
|
||||||
|
|
||||||
FOLDER, //MANDATORY
|
FOLDER,
|
||||||
EXTERNAL_IMAGE,
|
|
||||||
EXTERNAL_FILE,
|
// KINDS OF FILES
|
||||||
EXTERNAL_PDF_FILE,
|
/**
|
||||||
EXTERNAL_URL,
|
* Document.
|
||||||
QUERY,
|
*/
|
||||||
REPORT_TEMPLATE,
|
|
||||||
REPORT,
|
|
||||||
DOCUMENT,
|
DOCUMENT,
|
||||||
METADATA,
|
/**
|
||||||
PDF_DOCUMENT,
|
* Image document.
|
||||||
|
*/
|
||||||
IMAGE_DOCUMENT,
|
IMAGE_DOCUMENT,
|
||||||
|
/**
|
||||||
|
* PDF document.
|
||||||
|
*/
|
||||||
|
PDF_DOCUMENT,
|
||||||
|
/**
|
||||||
|
* Url document.
|
||||||
|
*/
|
||||||
URL_DOCUMENT,
|
URL_DOCUMENT,
|
||||||
|
/**
|
||||||
|
* Metadata.
|
||||||
|
*/
|
||||||
|
METADATA,
|
||||||
|
/**
|
||||||
|
* A gCube item.
|
||||||
|
*/
|
||||||
GCUBE_ITEM,
|
GCUBE_ITEM,
|
||||||
TIME_SERIES,
|
|
||||||
UNKNOWN_TYPE;
|
UNKNOWN_TYPE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue