public class HLMapper extends Object
| Constructor and Description |
|---|
HLMapper() |
| Modifier and Type | Method and Description |
|---|---|
static List<org.gcube.common.storagehub.model.items.nodes.accounting.AccountEntry> |
toAccountingEntries(org.gcube.common.storagehub.model.items.Item item)
To accounting entries.
|
static PropertyMap |
toPropertyMap(org.gcube.common.storagehub.model.Metadata metadata)
To property map.
|
static URLFile |
toURLFile(org.gcube.common.storagehub.model.items.ExternalLink extLink)
To URL file.
|
static WorkspaceFileVersion |
toWorkspaceFileVersion(org.gcube.common.storagehub.model.service.Version fileVersion)
To workspace file version.
|
static <T extends WorkspaceItem> |
toWorkspaceItem(org.gcube.common.storagehub.model.items.Item item)
To workspace item.
|
static <T extends WorkspaceItem> |
toWorkspaceItem(org.gcube.common.storagehub.model.items.Item item,
boolean withAccounting,
boolean withFileDetails,
boolean withMapProperties)
To workspace item.
|
public static URLFile toURLFile(org.gcube.common.storagehub.model.items.ExternalLink extLink) throws Exception
extLink - the ext linkException - the exceptionpublic static <T extends WorkspaceItem> T toWorkspaceItem(org.gcube.common.storagehub.model.items.Item item) throws Exception
T - the generic typeitem - the itemException - the exceptionpublic static List<org.gcube.common.storagehub.model.items.nodes.accounting.AccountEntry> toAccountingEntries(org.gcube.common.storagehub.model.items.Item item)
item - the itempublic static PropertyMap toPropertyMap(org.gcube.common.storagehub.model.Metadata metadata)
metadata - the metadatapublic static WorkspaceFileVersion toWorkspaceFileVersion(org.gcube.common.storagehub.model.service.Version fileVersion)
fileVersion - the file versionpublic static <T extends WorkspaceItem> T toWorkspaceItem(org.gcube.common.storagehub.model.items.Item item, boolean withAccounting, boolean withFileDetails, boolean withMapProperties) throws Exception
T - the generic typeitem - the itemwithAccounting - the with accountingwithFileDetails - the with file detailswithMapProperties - the with map propertiesException - the exceptionCopyright © 2019. All Rights Reserved.