Interface Referenceable
-
- All Known Implementing Classes:
DataCiteReference
,URLReference
,URNReference
public interface Referenceable
Interface to define the functions of an identifier system.
-
-
Method Summary
Modifier and Type Method Description java.lang.String
acceptApprovalRequest(PublicReference publicReference)
Accept the Approval of thePublicReference
.java.lang.StringBuffer
negotiateContent(PublicReference publicReference, ContentNegotiationType type)
void
rejectApprovalRequest(PublicReference publicReference)
Reject the Approval of thePublicReference
.void
validateMetaData(PrimaryDataEntityVersion entityVersion)
Validate theMetaData
schema of thePrimaryDataEntityVersion
if it is valid for thisPersistentIdentifier
type.
-
-
-
Method Detail
-
acceptApprovalRequest
java.lang.String acceptApprovalRequest(PublicReference publicReference) throws ReferenceableException
Accept the Approval of thePublicReference
.- Parameters:
publicReference
- thePublicReference
to 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
- thePublicReference
to reject.- Throws:
ReferenceableException
- if unable to reject the request.
-
validateMetaData
void validateMetaData(PrimaryDataEntityVersion entityVersion) throws EdalPublicationMetaDataException
Validate theMetaData
schema of thePrimaryDataEntityVersion
if it is valid for thisPersistentIdentifier
type.- Parameters:
entityVersion
- thePrimaryDataEntityVersion
to check theMetaData
.- Throws:
EdalPublicationMetaDataException
- if validation failed.
-
negotiateContent
java.lang.StringBuffer negotiateContent(PublicReference publicReference, ContentNegotiationType type)
-
-