Interface Referenceable
-
- All Known Implementing Classes:
DataCiteReference,URLReference,URNReference
public interface ReferenceableInterface to define the functions of an identifier system.
-
-
Method Summary
Modifier and Type Method Description java.lang.StringacceptApprovalRequest(PublicReference publicReference)Accept the Approval of thePublicReference.java.lang.StringBuffernegotiateContent(PublicReference publicReference, ContentNegotiationType type)voidrejectApprovalRequest(PublicReference publicReference)Reject the Approval of thePublicReference.voidvalidateMetaData(PrimaryDataEntityVersion entityVersion)Validate theMetaDataschema of thePrimaryDataEntityVersionif it is valid for thisPersistentIdentifiertype.
-
-
-
Method Detail
-
acceptApprovalRequest
java.lang.String acceptApprovalRequest(PublicReference publicReference) throws ReferenceableException
Accept the Approval of thePublicReference.- Parameters:
publicReference- thePublicReferenceto accept.- Returns:
- the generated identifier
- Throws:
ReferenceableException- if unable to accept the request.
-
rejectApprovalRequest
void rejectApprovalRequest(PublicReference publicReference) throws ReferenceableException
Reject the Approval of thePublicReference.- Parameters:
publicReference- thePublicReferenceto reject.- Throws:
ReferenceableException- if unable to reject the request.
-
validateMetaData
void validateMetaData(PrimaryDataEntityVersion entityVersion) throws EdalPublicationMetaDataException
Validate theMetaDataschema of thePrimaryDataEntityVersionif it is valid for thisPersistentIdentifiertype.- Parameters:
entityVersion- thePrimaryDataEntityVersionto check theMetaData.- Throws:
EdalPublicationMetaDataException- if validation failed.
-
negotiateContent
java.lang.StringBuffer negotiateContent(PublicReference publicReference, ContentNegotiationType type)
-
-