Uses of Class
org.mycore.pi.exceptions.MCRPersistentIdentifierException
Package
Description
-
Uses of MCRPersistentIdentifierException in org.mycore.mods.identifier
Modifier and TypeMethodDescriptionprotected MCRObject
MCRAbstractMODSMetadataService.checkObject
(MCRBase base) MCRAbstractMODSMetadataService.getIdentifier
(MCRBase base, String additional) void
MCRAbstractMODSMetadataService.insertIdentifier
(MCRPersistentIdentifier identifier, MCRBase base, String additional) -
Uses of MCRPersistentIdentifierException in org.mycore.pi
Modifier and TypeMethodDescriptionprotected abstract void
Should handle deletion of a Object with the PI.protected abstract void
abstract T
generates aMCRPersistentIdentifier
abstract Optional<MCRPersistentIdentifier>
MCRPIMetadataService.getIdentifier
(MCRBase obj, String additional) MCRPIXPathMetadataService.getIdentifier
(MCRBase obj, String additional) protected T
MCRPIService.getNewIdentifier
(MCRBase id, String additional) abstract void
MCRPIMetadataService.insertIdentifier
(T identifier, MCRBase obj, String additional) void
MCRPIXPathMetadataService.insertIdentifier
(MCRPersistentIdentifier identifier, MCRBase obj, String additional) protected final void
protected final void
Adds a identifier to the object.shorthand forMCRPIService.register(MCRBase, String, boolean)
with update = trueValidates everything, registers a new Identifier, inserts the identifier to object metadata and writes a information to the Database.protected abstract void
MCRPIService.registerIdentifier
(MCRBase obj, String additional, T pi) protected abstract void
MCRPIJobService.registerJob
(Map<String, String> parameters) protected void
MCRPIJobService.rollbackDeleteJob
(Map<String, String> parameters) Hook in to rollback mechanism ofMCRJobAction.rollback()
by overwriting this method.protected void
MCRPIJobService.rollbackRegisterJob
(Map<String, String> parameters) Hook in to rollback mechanism ofMCRJobAction.rollback()
by overwriting this method.protected void
MCRPIJobService.rollbackUpdateJob
(Map<String, String> parameters) Hook in to rollback mechanism ofMCRJobAction.rollback()
by overwriting this method.void
MCRPIJobService.runAsJobUser
(org.mycore.pi.MCRPIJobService.PIRunnable task) protected abstract void
Should handle updates of a Object with the PI.protected abstract void
protected void
MCRPIService.validateAlreadyCreated
(MCRObjectID id, String additional) protected void
MCRPIJobService.validateJobUserRights
(MCRObjectID id) If you useMCRPIJobService.updateRegistrationDate(MCRObjectID, String, Date)
orMCRPIJobService.updateStartRegistrationDate(MCRObjectID, String, Date)
then you should validate if the user has the rights for this.void
MCRPIService.validateRegistration
(MCRBase obj, String additional) Validates if an object can get an Identifier assigned from this service!void
MCRPIService.validateRegistration
(MCRBase obj, String additional, boolean checkWritePermission) -
Uses of MCRPersistentIdentifierException in org.mycore.pi.cli
Modifier and TypeMethodDescriptionstatic void
MCRPICommands.createPIForObjectIfNotExist
(String serviceID, String objectIDString) static void
MCRPICommands.createPIForObjectIfNotExist
(String serviceID, String objectIDString, String additional) static void
MCRPICommands.removeControlFromObject
(String objectIDString, String serviceID) static void
MCRPICommands.removeControlFromObject
(String objectIDString, String serviceID, String additional) -
Uses of MCRPersistentIdentifierException in org.mycore.pi.doi
Modifier and TypeMethodDescriptionprotected void
MCRCrossrefService.delete
(MCRDigitalObjectIdentifier identifier, MCRBase obj, String additional) void
MCRDOIService.delete
(MCRDigitalObjectIdentifier doi, MCRBase obj, String additional) protected void
void
protected MCRDigitalObjectIdentifier
MCRDOIService.getDOIFromJob
(Map<String, String> parameters) Gets theMCRDigitalObjectIdentifier
from the job parameters.protected void
MCRCrossrefService.registerIdentifier
(MCRBase obj, String additional, MCRDigitalObjectIdentifier pi) void
MCRDOIService.registerIdentifier
(MCRBase obj, String additional, MCRDigitalObjectIdentifier newDOI) protected void
MCRCrossrefService.registerJob
(Map<String, String> parameters) void
MCRDOIService.registerJob
(Map<String, String> parameters) protected Document
protected abstract Document
protected Document
void
MCRDOIBaseService.update
(MCRDigitalObjectIdentifier doi, MCRBase obj, String additional) protected void
void
protected void
MCRDOIBaseService.validateDocument
(String id, Document resultDocument) void
MCRDOIService.validateRegistration
(MCRBase obj, String additional) -
Uses of MCRPersistentIdentifierException in org.mycore.pi.doi.cli
Modifier and TypeMethodDescriptionstatic void
MCRDOICommands.repairIncompleteRegisteredDOI
(String doiString, String serviceID) static void
MCRDOICommands.validateCrossrefDocument
(String mycoreIDString, String transformer) -
Uses of MCRPersistentIdentifierException in org.mycore.pi.doi.client.crossref
-
Uses of MCRPersistentIdentifierException in org.mycore.pi.doi.client.datacite
Modifier and TypeMethodDescriptionvoid
MCRDataciteClient.deleteMetadata
(MCRDigitalObjectIdentifier doi) MCRDataciteClient.getDOIList()
MCRDataciteClient.getMediaList
(MCRDigitalObjectIdentifier doi) void
MCRDataciteClient.mintDOI
(MCRDigitalObjectIdentifier doi, URI url) MCRDataciteClient.resolveDOI
(MCRDigitalObjectIdentifier doiParam) void
MCRDataciteClient.setMediaList
(MCRDigitalObjectIdentifier doi, List<Map.Entry<String, URI>> mediaList) MCRDataciteClient.storeMetadata
(Document metadata) -
Uses of MCRPersistentIdentifierException in org.mycore.pi.doi.crossref
Modifier and TypeMethodDescriptionstatic void
MCRCrossrefUtil.replaceDOIData
(Element root, MCRThrowFunction<String, String, MCRPersistentIdentifierException> idDOIFunction, String baseURL) Modifier and TypeMethodDescriptionstatic void
MCRCrossrefUtil.replaceDOIData
(Element root, MCRThrowFunction<String, String, MCRPersistentIdentifierException> idDOIFunction, String baseURL) -
Uses of MCRPersistentIdentifierException in org.mycore.pi.exceptions
Modifier and TypeClassDescriptionclass
class
class
class
-
Uses of MCRPersistentIdentifierException in org.mycore.pi.handle
Modifier and TypeMethodDescriptionprotected void
protected void
protected void
MCREpicService.registerIdentifier
(MCRBase obj, String additional, MCRHandle pi) protected void
MCREpicService.registerJob
(Map<String, String> parameters) protected void
protected void
-
Uses of MCRPersistentIdentifierException in org.mycore.pi.purl
Modifier and TypeMethodDescriptionprotected void
protected void
MCRPURLService.registerIdentifier
(MCRBase obj, String additional, MCRPURL purl) void
MCRPURLService.registerJob
(Map<String, String> parameters) protected void
void
-
Uses of MCRPersistentIdentifierException in org.mycore.pi.urn
Modifier and TypeMethodDescriptionprotected void
protected void
protected MCRDNBURN
MCRDNBURNGenerator.generate
(@NotNull String namespace, MCRObjectID mcrID, String additional) Allows the generation of a URN with a specific Namespaceprotected void
MCRURNGranularOAIService.registerIdentifier
(MCRBase obj, String additional, MCRDNBURN urn) protected void
MCRURNOAIService.registerIdentifier
(MCRBase obj, String additional, MCRDNBURN urn) protected void
protected void
-
Uses of MCRPersistentIdentifierException in org.mycore.pi.urn.rest
Modifier and TypeMethodDescriptionprotected void
protected void
MCRURNGranularRESTService.registerIdentifier
(MCRBase obj, String additional, MCRDNBURN urn) protected void