public class ConvertToDataViewModel extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DATE_FORMAT |
static String |
HOURS_MINUTES_SEPARATOR |
static String |
TIME_FORMAT |
| Constructor and Description |
|---|
ConvertToDataViewModel() |
| Modifier and Type | Method and Description |
|---|---|
static FileSetPathsDV |
getFileSetPaths() |
static AbstractRelazioneScavoDV |
toAbstractRelazioneScavo(org.gcube.application.geoportal.common.model.legacy.AbstractRelazione abstractRelazione)
To abstract relazione scavo.
|
static BaseConcessioneDV |
toBaseConcessione(org.gcube.application.geoportal.common.model.legacy.Concessione concessione)
To base concessione.
|
static BoundsMap |
toBoundMap(org.gcube.application.geoportal.common.model.legacy.BBOX bbox)
To bound map.
|
static BoundsMap |
toBoundMap(String wmsVersion,
String bbox,
String separator)
To bound map.
|
static ConcessioneDV |
toConcessione(org.gcube.application.geoportal.common.model.legacy.Concessione concessione)
To concessione.
|
static String |
toDateFormatString(java.time.LocalDateTime dateTime)
To date format string.
|
static Double |
toDouble(String value)
To double.
|
static String |
toJSON(Object theObj)
To JSON.
|
static LayerConcessioneDV |
toLayerConcessione(org.gcube.application.geoportal.common.model.legacy.LayerConcessione layerConcessione,
BaseConcessioneDV refersToBaseConcessione)
To layer concessione.
|
static ConcessioneDV |
toMetadataConcessione(org.gcube.application.geoportal.common.model.legacy.Concessione concessione,
boolean includeValidationReport)
To metadata concessione.
|
static OtherContentDV |
toOtherContentDV(org.gcube.application.geoportal.common.model.legacy.OtherContent otherContent)
To other content DV.
|
static String |
toPolicy(org.gcube.application.geoportal.common.model.legacy.AccessPolicy policy)
To policy.
|
static RelazioneScavoDV |
toRelazioneScavo(org.gcube.application.geoportal.common.model.legacy.RelazioneScavo relazioneScavo)
To relazione scavo.
|
static UploadedImageDV |
toUploadedImage(org.gcube.application.geoportal.common.model.legacy.UploadedImage uploadedImage)
To uploaded image.
|
static String |
toUser(String username)
To user.
|
static ValidationReportDV |
toValidationReport(org.gcube.application.geoportal.common.model.legacy.report.ValidationReport validationReport)
To validation report.
|
static WorkspaceContentDV |
toWorkspaceContent(org.gcube.application.geoportal.common.model.legacy.WorkspaceContent wContent)
To workspace content.
|
public static final String DATE_FORMAT
public static final String HOURS_MINUTES_SEPARATOR
public static final String TIME_FORMAT
public static ConcessioneDV toConcessione(org.gcube.application.geoportal.common.model.legacy.Concessione concessione) throws Exception
concessione - the concessioneException - the exceptionpublic static ConcessioneDV toMetadataConcessione(org.gcube.application.geoportal.common.model.legacy.Concessione concessione, boolean includeValidationReport) throws Exception
concessione - the concessioneincludeValidationReport - the include validation reportException - the exceptionpublic static ValidationReportDV toValidationReport(org.gcube.application.geoportal.common.model.legacy.report.ValidationReport validationReport) throws Exception
validationReport - the validation reportException - the exceptionpublic static BaseConcessioneDV toBaseConcessione(org.gcube.application.geoportal.common.model.legacy.Concessione concessione) throws Exception
concessione - the concessioneException - the exceptionpublic static String toUser(String username)
username - the usernamepublic static String toPolicy(org.gcube.application.geoportal.common.model.legacy.AccessPolicy policy)
policy - the policypublic static String toDateFormatString(java.time.LocalDateTime dateTime)
dateTime - the date timepublic static AbstractRelazioneScavoDV toAbstractRelazioneScavo(org.gcube.application.geoportal.common.model.legacy.AbstractRelazione abstractRelazione)
abstractRelazione - the abstract relazionepublic static RelazioneScavoDV toRelazioneScavo(org.gcube.application.geoportal.common.model.legacy.RelazioneScavo relazioneScavo)
relazioneScavo - the relazione scavopublic static UploadedImageDV toUploadedImage(org.gcube.application.geoportal.common.model.legacy.UploadedImage uploadedImage)
uploadedImage - the uploaded imagepublic static WorkspaceContentDV toWorkspaceContent(org.gcube.application.geoportal.common.model.legacy.WorkspaceContent wContent)
wContent - the w contentpublic static LayerConcessioneDV toLayerConcessione(org.gcube.application.geoportal.common.model.legacy.LayerConcessione layerConcessione, BaseConcessioneDV refersToBaseConcessione)
layerConcessione - the layer concessionerefersToBaseConcessione - the refers to base concessionepublic static OtherContentDV toOtherContentDV(org.gcube.application.geoportal.common.model.legacy.OtherContent otherContent)
otherContent - the other contentpublic static FileSetPathsDV getFileSetPaths()
public static BoundsMap toBoundMap(org.gcube.application.geoportal.common.model.legacy.BBOX bbox)
bbox - the bboxpublic static BoundsMap toBoundMap(String wmsVersion, String bbox, String separator)
wmsVersion - the wms versionbbox - the bboxseparator - the separatorpublic static Double toDouble(String value)
value - the valueCopyright © 2022. All Rights Reserved.