Class GeoportalExporterAPI
java.lang.Object
org.gcube.portlets.user.uriresolvermanager.geoportal.GeoportalExporterAPI
The Class GeoportalExporterAPI.
The endpoints provided by GeoportalExporter service in the URI-Resolver
service
- Author:
- Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Apr 23, 2024
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic StringDefault export type.static final org.slf4j.LoggerLogger for this class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexportProject(String type, String ucdID, String projectID, boolean asDirectURLToPDFFile) Export project.exportProject(String type, String ucdID, String projectID, boolean asDirectURLToPDFFile, boolean shortLink) Export project.healthcheck(String type) Healthcheck.View job.
-
Field Details
-
LOG
public static final org.slf4j.Logger LOGLogger for this class. -
DEFAULT_TYPE
Default export type.
-
-
Constructor Details
-
GeoportalExporterAPI
Instantiates a new geoportal exporter API.- Throws:
Exception- the exception
-
-
Method Details
-
exportProject
public URL exportProject(String type, String ucdID, String projectID, boolean asDirectURLToPDFFile) throws MalformedURLException Export project.- Parameters:
type- the typeucdID- the ucd IDprojectID- the project IDasDirectURLToPDFFile- the as direct URL to PDF file- Returns:
- the url
- Throws:
MalformedURLException- the malformed URL exception
-
exportProject
public String exportProject(String type, String ucdID, String projectID, boolean asDirectURLToPDFFile, boolean shortLink) throws MalformedURLException Export project.- Parameters:
type- the typeucdID- the ucd IDprojectID- the project IDasDirectURLToPDFFile- the as direct URL to PDF fileshortLink- the short link- Returns:
- the string
- Throws:
MalformedURLException- the malformed URL exception
-
viewJob
View job.- Parameters:
jobCode- the job code- Returns:
- the url
- Throws:
MalformedURLException- the malformed URL exception
-
healthcheck
Healthcheck.- Parameters:
type- the type- Returns:
- the url
- Throws:
MalformedURLException- the malformed URL exception
-