Class PublicationVeloCityCreater
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.publication.PublicationVeloCityCreater
-
public class PublicationVeloCityCreater extends java.lang.ObjectClass 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.StringgenerateEmailForAgreement(MetaData metadata, java.util.Calendar now)static java.lang.StringgenerateFinishUploadPage()protected static java.lang.StringgenerateHtmlForAgreement()protected static java.lang.StringgenerateHtmlForHeadCitationPage(java.awt.Color color)Generate the HTML output for the welcome page.protected static java.lang.StringgenerateHtmlForHeadPage()Generate the HTML output for the welcome page.static java.lang.StringgenerateHtmlForLicense(java.lang.String legalCodeUrl, java.lang.String humanReadableUrl)static java.lang.StringgenerateHtmlForOrcidSearch(java.lang.String orcid, NaturalPerson naturalPerson)static java.lang.StringgenerateHtmlForOrcidSearchHeader()static java.lang.StringgenerateHtmlForProcessDialog()protected static java.lang.StringgenerateServerErrorDialog(java.lang.String errorMessage, java.lang.String serverAddress, int registryPort)
-
-
-
Method Detail
-
generateHtmlForHeadPage
protected static java.lang.String generateHtmlForHeadPage() throws EdalExceptionGenerate 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 EdalExceptionGenerate 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
-
-