public interface HttpServiceProvider
EdalJettyHandler| Modifier and Type | Method and Description |
|---|---|
PrimaryDataEntity |
getPrimaryDataEntityByID(String uuid,
long versionNumber)
Getter to load a
PrimaryDataEntity object specified by
UUID and number of the PrimaryDataEntityVersion. |
PrimaryDataEntity |
getPrimaryDataEntityForPersistentIdentifier(String uuid,
long versionNumber,
PersistentIdentifier persistentIdentifier)
Get a
PrimaryDataEntity for a given PublicReference |
PrimaryDataEntity |
getPrimaryDataEntityForReviewer(String uuid,
long versionNumber,
String internalId,
int reviewerCode)
Getter for a
PrimaryDataEntity for a reviewer to create a
temporary landing page. |
PrimaryDataEntity |
getPrimaryDataEntityRekursiveForPersistenIdentifier(PrimaryDataEntity entity,
long versionNumber,
PersistentIdentifier persistentIdentifier)
|
PrimaryDataEntity getPrimaryDataEntityByID(String uuid, long versionNumber) throws EdalException
PrimaryDataEntity object specified by
UUID and number of the PrimaryDataEntityVersion.uuid - the UUID of the PrimaryDataEntity.versionNumber - the version number of the PrimaryDataEntityVersion.PrimaryDataEntityEdalException - if there is no PrimaryDataEntity with the specified
values.PrimaryDataEntity getPrimaryDataEntityForPersistentIdentifier(String uuid, long versionNumber, PersistentIdentifier persistentIdentifier) throws EdalException
PrimaryDataEntity for a given PublicReferenceuuid - the id of the PrimaryDataEntityversionNumber - the number of the PrimaryDataEntityVersionpersistentIdentifier - the type of the identifierPrimaryDataEntityEdalException - if unable to find a PrimaryDataEntityPrimaryDataEntity getPrimaryDataEntityForReviewer(String uuid, long versionNumber, String internalId, int reviewerCode) throws EdalException
PrimaryDataEntity for a reviewer to create a
temporary landing page.uuid - the id of the PrimaryDataEntityversionNumber - the number of the PrimaryDataEntityVersioninternalId - the internal ID of the corresponding PublicReferencereviewerCode - the id to identify a reviewerPrimaryDataEntityEdalException - if unable to load the PrimaryDataEntityPrimaryDataEntity getPrimaryDataEntityRekursiveForPersistenIdentifier(PrimaryDataEntity entity, long versionNumber, PersistentIdentifier persistentIdentifier) throws EdalException
entity - to search for the parent recursiveversionNumber - number of the PrimaryDataEntityVersionpersistentIdentifier - the ID typePrimaryDataEntity with the
PersistentIdentifierEdalException - if no PersistentIdentifier setCopyright © 2016 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.