public class DataCiteReference extends java.lang.Object implements Referenceable
Referenceable interface, to connect
the system with the DataCite interface.| Constructor and Description |
|---|
DataCiteReference() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
acceptApprovalRequest(PublicReference publicReference)
Accept the Approval of the
PublicReference. |
java.lang.StringBuffer |
negotiateContent(PublicReference publicReference,
ContentNegotiationType type) |
void |
rejectApprovalRequest(PublicReference publicReference)
Reject the Approval of the
PublicReference. |
void |
validateMetaData(PrimaryDataEntityVersion entityVersion)
Validate the
MetaData schema
of the PrimaryDataEntityVersion if it is valid for this
PersistentIdentifier type. |
public java.lang.String acceptApprovalRequest(PublicReference publicReference) throws ReferenceableException
PublicReference.acceptApprovalRequest in interface ReferenceablepublicReference - the PublicReference to accept.ReferenceableException - if unable to accept the request.public void rejectApprovalRequest(PublicReference publicReference) throws ReferenceableException
PublicReference.
no implementation for DataCite necessary: impossible to reserve IDs
rejectApprovalRequest in interface ReferenceablepublicReference - the PublicReference to reject.ReferenceableException - if unable to reject the request.public void validateMetaData(PrimaryDataEntityVersion entityVersion) throws EdalPublicationMetaDataException
MetaData schema
of the PrimaryDataEntityVersion if it is valid for this
PersistentIdentifier type.
Check the
MetaData schema
against the DataCiteXmlMapper schema.
validateMetaData in interface ReferenceableentityVersion - the PrimaryDataEntityVersion to check the
MetaData
.EdalPublicationMetaDataException - if validation failed.public java.lang.StringBuffer negotiateContent(PublicReference publicReference, ContentNegotiationType type)
negotiateContent in interface Referenceable