|
|
|
@ -29,34 +29,25 @@ import org.gcube.common.storagehubwrapper.shared.tohl.WorkspaceItem;
|
|
|
|
|
import org.gcube.common.storagehubwrapper.shared.tohl.WorkspaceItemType;
|
|
|
|
|
import org.gcube.common.storagehubwrapper.shared.tohl.WorkspaceSharedFolder;
|
|
|
|
|
import org.gcube.common.storagehubwrapper.shared.tohl.exceptions.InternalErrorException;
|
|
|
|
|
import org.gcube.common.storagehubwrapper.shared.tohl.impl.URLFile;
|
|
|
|
|
import org.gcube.common.storagehubwrapper.shared.tohl.impl.WorkspaceFileVersion;
|
|
|
|
|
import org.gcube.common.storagehubwrapper.shared.tohl.items.FileItem;
|
|
|
|
|
import org.gcube.common.storagehubwrapper.shared.tohl.items.GCubeItem;
|
|
|
|
|
import org.gcube.common.storagehubwrapper.shared.tohl.items.PropertyMap;
|
|
|
|
|
import org.gcube.portal.wssynclibrary.shared.thredds.ThSyncFolderDescriptor;
|
|
|
|
|
import org.gcube.portal.wssynclibrary.thredds.WorkspaceThreddsSynchronize;
|
|
|
|
|
import org.gcube.portlets.user.workspace.client.ConstantsExplorer;
|
|
|
|
|
import org.gcube.portlets.user.workspace.client.interfaces.GXTCategorySmartFolder;
|
|
|
|
|
import org.gcube.portlets.user.workspace.client.interfaces.GXTFolderItemTypeEnum;
|
|
|
|
|
import org.gcube.portlets.user.workspace.client.model.FileGridModel;
|
|
|
|
|
import org.gcube.portlets.user.workspace.client.model.FileModel;
|
|
|
|
|
import org.gcube.portlets.user.workspace.client.model.FileTrashedModel;
|
|
|
|
|
import org.gcube.portlets.user.workspace.client.model.FileVersionModel;
|
|
|
|
|
import org.gcube.portlets.user.workspace.client.model.FolderGridModel;
|
|
|
|
|
import org.gcube.portlets.user.workspace.client.model.FolderModel;
|
|
|
|
|
import org.gcube.portlets.user.workspace.server.util.UserUtil;
|
|
|
|
|
import org.gcube.portlets.user.workspace.shared.accounting.GxtAccountingEntryType;
|
|
|
|
|
import org.gcube.portlets.user.workspace.shared.accounting.GxtAccountingField;
|
|
|
|
|
import org.gcube.portlets.widgets.workspacesharingwidget.shared.InfoContactModel;
|
|
|
|
|
import org.gcube.usecases.ws.thredds.faults.WorkspaceNotSynchedException;
|
|
|
|
|
import org.gcube.usecases.ws.thredds.model.ContainerType;
|
|
|
|
|
import org.gcube.vomanagement.usermanagement.model.GCubeUser;
|
|
|
|
|
import org.slf4j.Logger;
|
|
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
|
|
|
|
|
|
import com.allen_sauer.gwt.log.client.Log;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The Class StorageHubToWorkpaceConverter.
|
|
|
|
|
*
|
|
|
|
|