Class PublicationVeloCityCreater
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.publication.PublicationVeloCityCreater
-
public class PublicationVeloCityCreater extends java.lang.Object
Class to create html pages for the frame header with the help ofVelocity
-
-
Constructor Summary
Constructors Constructor Description PublicationVeloCityCreater()
-
Method Summary
Modifier and Type Method Description static java.lang.String
generateEmailForAgreement(MetaData metadata, java.util.Calendar now)
static java.lang.String
generateFinishUploadPage()
protected static java.lang.String
generateHtmlForAgreement()
protected static java.lang.String
generateHtmlForHeadCitationPage(java.awt.Color color)
Generate the HTML output for the welcome page.protected static java.lang.String
generateHtmlForHeadPage()
Generate the HTML output for the welcome page.static java.lang.String
generateHtmlForLicense(java.lang.String legalCodeUrl, java.lang.String humanReadableUrl)
static java.lang.String
generateHtmlForOrcidSearch(java.lang.String orcid, NaturalPerson naturalPerson)
static java.lang.String
generateHtmlForOrcidSearchHeader()
static java.lang.String
generateHtmlForProcessDialog()
protected static java.lang.String
generateServerErrorDialog(java.lang.String errorMessage, java.lang.String serverAddress, int registryPort)
-
-
-
Method Detail
-
generateHtmlForHeadPage
protected static java.lang.String generateHtmlForHeadPage() throws EdalException
Generate the HTML output for the welcome page.- Returns:
- the HTML output in a
StringWriter
. - Throws:
EdalException
- if unable to create output.
-
generateHtmlForHeadCitationPage
protected static java.lang.String generateHtmlForHeadCitationPage(java.awt.Color color) throws EdalException
Generate the HTML output for the welcome page.- Parameters:
color
- the text color- Returns:
- the HTML output in a
StringWriter
. - Throws:
EdalException
- if unable to create output.
-
generateHtmlForProcessDialog
public static java.lang.String generateHtmlForProcessDialog() throws EdalException
- Throws:
EdalException
-
generateFinishUploadPage
public static java.lang.String generateFinishUploadPage() throws EdalException
- Throws:
EdalException
-
generateServerErrorDialog
protected static java.lang.String generateServerErrorDialog(java.lang.String errorMessage, java.lang.String serverAddress, int registryPort) throws EdalException
- Throws:
EdalException
-
generateHtmlForAgreement
protected static java.lang.String generateHtmlForAgreement() throws EdalException
- Throws:
EdalException
-
generateEmailForAgreement
public static java.lang.String generateEmailForAgreement(MetaData metadata, java.util.Calendar now) throws EdalException
- Throws:
EdalException
-
generateHtmlForLicense
public static java.lang.String generateHtmlForLicense(java.lang.String legalCodeUrl, java.lang.String humanReadableUrl) throws EdalException
- Throws:
EdalException
-
generateHtmlForOrcidSearch
public static java.lang.String generateHtmlForOrcidSearch(java.lang.String orcid, NaturalPerson naturalPerson) throws EdalException
- Throws:
EdalException
-
generateHtmlForOrcidSearchHeader
public static java.lang.String generateHtmlForOrcidSearchHeader() throws EdalException
- Throws:
EdalException
-
-