Uses of Class
org.mycore.access.MCRAccessException
Package
Description
Contains classes dealing with sharing of metadata.
Implements a generic basket of entries and a web frontend to display/add/remove/reorder/comment entries.
new MyCoRe user system
-
Uses of MCRAccessException in org.mycore.access
Modifier and TypeMethodDescriptionstatic MCRAccessException
MCRAccessException.missingPermission
(String action, String id, String permission) static MCRAccessException
MCRAccessException.missingPrivilege
(String action, String... privilege) -
Uses of MCRAccessException in org.mycore.datamodel.classifications2.utils
Modifier and TypeMethodDescriptionstatic void
Imports a classification from the given path.static void
MCRClassificationUtils.fromStream
(InputStream inputStream) Imports a classification from the given input stream. -
Uses of MCRAccessException in org.mycore.datamodel.metadata
Modifier and TypeMethodDescriptionstatic void
MCRMetadataManager.create
(MCRDerivate mcrDerivate) Stores the derivate.static void
Stores the object.static void
MCRMetadataManager.delete
(MCRDerivate mcrDerivate) Deletes MCRDerivate.static void
Deletes MCRObject.static void
MCRMetadataManager.deleteMCRDerivate
(MCRObjectID id) Delete the derivate.static void
MCRMetadataManager.deleteMCRObject
(MCRObjectID id) Deletes the object.static void
Updates theMCRObject
orMCRDerivate
.static void
MCRMetadataManager.update
(MCRDerivate mcrDerivate) Updates the derivate or creates it if it does not exist yet.static void
Updates the object or creates it if it does not exist yet. -
Uses of MCRAccessException in org.mycore.frontend.basket
Modifier and TypeMethodDescriptionstatic void
MCRBasketPersistence.createDerivateWithBasket
(MCRBasket basket, MCRObjectID ownerID) Creates a new derivate including a file basket.xml which stores the persistent data of the given basket. -
Uses of MCRAccessException in org.mycore.frontend.cli
Modifier and TypeMethodDescriptionstatic void
static void
MCRBatchEditorCommands.batchAddIf
(String oid, String level, String fieldIf, String valueIf, String field2Add, String value2Add) static void
MCRBatchEditorCommands.batchRemove
(String oid, String level, String field, String value) static void
MCRBatchEditorCommands.batchRemoveIf
(String oid, String level, String fieldIf, String valueIf, String field2Rem, String value2Rem) static void
MCRBatchEditorCommands.batchReplace
(String oid, String level, String oldField, String oldValue, String newField, String newValue) static void
Delete an MCRDerivate from the datastore.Delete MCRDerivates form ID to ID from the datastore.static void
Delete a MCRObject from the datastore.static void
MCRBatchEditorCommands.edit
(String oid, String level, org.mycore.frontend.cli.MCRBatchEditorCommands.Action a, String field1, String value1, String field2, String value2) static void
static boolean
MCRDerivateCommands.loadFromFile
(String file) Loads an MCRDerivates from an XML file.static boolean
MCRDerivateCommands.loadFromFile
(String file, boolean importMode) Loads an MCRDerivates from an XML file.static boolean
MCRObjectCommands.loadFromFile
(String file) Load a MCRObjects from an XML file.static boolean
MCRObjectCommands.loadFromFile
(String file, boolean importMode) Load a MCRObjects from an XML file.static void
MCRObjectCommands.replaceParent
(String sourceId, String newParentId) Moves object to new parent.static void
MCRDerivateCommands.setClassificationOfDerivate
(String derivateIDStr, String categoriesCommaList) static void
MCRDerivateCommands.setMainFile
(String derivateIDString, String filePath) static void
MCRDerivateCommands.setOrderOfDerivate
(String derivateIDStr, String orderStr) static void
MCRObjectCommands.transformObject
(String objectIDStr, String transformer) static boolean
MCRDerivateCommands.updateFromFile
(String file) Updates an MCRDerivates from an XML file.static boolean
MCRDerivateCommands.updateFromFile
(String file, boolean importMode) Updates an MCRDerivates from an XML file.static boolean
MCRObjectCommands.updateFromFile
(String file) Update a MCRObject's from an XML file.static boolean
MCRObjectCommands.updateFromFile
(String file, boolean importMode) Update a MCRObject's from an XML file.static void
Does a xsl transform with the given mycore object. -
Uses of MCRAccessException in org.mycore.frontend.fileupload
Modifier and TypeMethodDescriptionvoid
MCRUploadHandlerIFS.finishUpload()
long
MCRUploadHandlerIFS.receiveFile
(String path, InputStream in, long length, String checksum) -
Uses of MCRAccessException in org.mycore.iiif.image.impl
Modifier and TypeMethodDescriptionabstract MCRIIIFImageInformation
MCRIIIFImageImpl.getInformation
(String identifier) abstract BufferedImage
MCRIIIFImageImpl.provide
(String identifier, MCRIIIFImageSourceRegion region, MCRIIIFImageTargetSize targetSize, MCRIIIFImageTargetRotation rotation, MCRIIIFImageQuality imageQuality, String format) -
Uses of MCRAccessException in org.mycore.impex
Modifier and TypeMethodDescriptionstatic void
MCRTransferPackageUtil.importDerivate
(Path targetDirectory, String derivateId) Imports a derivate from the given target directory path.static void
MCRTransferPackageUtil.importFromDirectory
(Path targetDirectory) Imports from an unpacked *.tar archive directory.static void
MCRTransferPackageUtil.importObject
(Path targetDirectory, String objectId, String parentId) Imports a object from the targetDirectory path.MCRTransferPackageUtil.importObjectCLI
(Path targetDirectory, String objectId, String parentId) Same asMCRTransferPackageUtil.importObject(Path, String, String)
but returns a list of derivates which should be imported afterwards.static void
Imports a *.tar transport package from the given path. -
Uses of MCRAccessException in org.mycore.iview2.iiif
Modifier and TypeMethodDescriptionMCRIVIEWIIIFImageImpl.getInformation
(String identifier) MCRIVIEWIIIFImageImpl.provide
(String identifier, MCRIIIFImageSourceRegion region, MCRIIIFImageTargetSize targetSize, MCRIIIFImageTargetRotation rotation, MCRIIIFImageQuality imageQuality, String format) -
Uses of MCRAccessException in org.mycore.migration.cli
Modifier and TypeMethodDescriptionstatic void
MCRMigrationCommands.addServFlags
(String id) static void
MCRMigrationCommands.setOrderOfDerivate
(String derivateIDStr, String orderStr) -
Uses of MCRAccessException in org.mycore.mods
Modifier and TypeMethodDescriptionvoid
MCRMODSMetadataShareAgent.distributeMetadata
(MCRObject holder) static void
MCRMODSCommands.loadFromFile
(String modsFileName, String projectID) static void
MCRMODSCommands.loadFromFileWithFiles
(String modsFileName, String fileDirName, String projectID) -
Uses of MCRAccessException in org.mycore.pi
Modifier and TypeMethodDescriptionAdds 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 void
MCRPIService.validatePermission
(MCRBase obj, boolean writePermission) 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 MCRAccessException in org.mycore.pi.cli
Modifier and TypeMethodDescriptionstatic void
MCRPICommands.controlObjectWithService
(String objectIDString, String serviceID) static void
MCRPICommands.controlObjectWithServiceAndAdditional
(String objectIDString, String serviceID, String additional) static 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 MCRAccessException in org.mycore.pi.doi
Modifier and TypeMethodDescriptionvoid
MCRDOIService.validateRegistration
(MCRBase obj, String additional) -
Uses of MCRAccessException in org.mycore.pi.doi.cli
Modifier and TypeMethodDescriptionstatic void
MCRDOICommands.repairIncompleteRegisteredDOI
(String doiString, String serviceID) -
Uses of MCRAccessException in org.mycore.pi.urn
-
Uses of MCRAccessException in org.mycore.pi.urn.rest
-
Uses of MCRAccessException in org.mycore.services.packaging
Modifier and TypeMethodDescriptionabstract void
MCRPacker.checkSetup()
should check if all required parameters are set!static MCRJob
MCRPackerManager.startPacking
(Map<String, String> jobParameters) Creates and starts a new PackagingJob. -
Uses of MCRAccessException in org.mycore.sword
Modifier and TypeMethodDescriptionstatic MCRDerivate
MCRSwordUtil.createDerivate
(String documentID) -
Uses of MCRAccessException in org.mycore.user2