Uses of Class
org.mycore.common.MCRPersistenceException
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.
Classes handling MCRFile
-
Uses of MCRPersistenceException in org.mycore.datamodel.common
Modifier and TypeMethodDescriptionvoid
MCRDefaultXMLMetadataManager.create
(MCRObjectID mcrid, MCRContent xml, Date lastModified) void
MCRXMLMetadataManager.create
(MCRObjectID mcrid, byte[] xml, Date lastModified) Stores metadata of a new MCRObject in the persistent store.void
MCRXMLMetadataManager.create
(MCRObjectID mcrid, Document xml, Date lastModified) Stores metadata of a new MCRObject in the persistent store.void
MCRXMLMetadataManager.create
(MCRObjectID mcrid, MCRContent xml, Date lastModified) Delegation, see linked method for relevant documentation.void
MCRXMLMetadataManagerAdapter.create
(MCRObjectID mcrid, MCRContent xml, Date lastModified) Stores metadata of a new MCRObject in the persistent store.void
MCRXMLMetadataManager.createOrUpdate
(MCRObjectID mcrid, Document xml, Date lastModified) Creates or updates metadata of a MCRObject in the persistent store.void
MCRDefaultXMLMetadataManager.delete
(MCRObjectID mcrid) void
void
MCRXMLMetadataManager.delete
(MCRObjectID mcrid) Delegation, see linked method for relevant documentation.void
MCRXMLMetadataManagerAdapter.delete
(MCRObjectID mcrid) Delete metadata in store.boolean
MCRDefaultXMLMetadataManager.exists
(MCRObjectID mcrid) boolean
MCRXMLMetadataManager.exists
(MCRObjectID mcrid) Delegation, see linked method for relevant documentation.boolean
MCRXMLMetadataManagerAdapter.exists
(MCRObjectID mcrid) Checks if an object with the given MCRObjectID exists in the store.void
MCRDefaultXMLMetadataManager.update
(MCRObjectID mcrid, MCRContent xml, Date lastModified) void
MCRXMLMetadataManager.update
(MCRObjectID mcrid, byte[] xml, Date lastModified) Updates metadata of existing MCRObject in the persistent store.void
MCRXMLMetadataManager.update
(MCRObjectID mcrid, Document xml, Date lastModified) Updates metadata of existing MCRObject in the persistent store.void
MCRXMLMetadataManager.update
(MCRObjectID mcrid, MCRContent xml, Date lastModified) Delegation, see linked method for relevant documentation.void
MCRXMLMetadataManagerAdapter.update
(MCRObjectID mcrid, MCRContent xml, Date lastModified) Updates metadata of existing MCRObject in the persistent store. -
Uses of MCRPersistenceException in org.mycore.datamodel.ifs2
Modifier and TypeMethodDescriptionvoid
MCRVersioningMetadataStore.verify()
Checks to local SVN repository for errors -
Uses of MCRPersistenceException in org.mycore.datamodel.metadata
Modifier and TypeMethodDescriptionstatic boolean
MCRMetadataManager.addOrUpdateDerivateToObject
(MCRObjectID id, MCRMetaEnrichedLinkID link) Adds or updates a derivate MCRMetaLinkID to the structure part and updates the object with the ID in the data store.static 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 boolean
MCRMetadataManager.exists
(MCRObjectID id) Tells if the object or derivate withid
exists.static void
MCRMetadataManager.fireRepairEvent
(MCRBase mcrBaseObj) FiresMCREvent.EventType.REPAIR
for given object.static void
MCRMetadataManager.fireRepairEvent
(MCRDerivate mcrDerivate) FiresMCREvent.EventType.REPAIR
for given derivate.static void
MCRMetadataManager.fireRepairEvent
(MCRObject mcrObject) FiresMCREvent.EventType.REPAIR
for given object.static void
MCRMetadataManager.fireUpdateEvent
(MCRObject mcrObject) FiresMCREvent.EventType.UPDATE
for given object.MCRObjectUtils.getLinkedObjects
(MCRObject object) Returns a list ofMCRObject
s which are linked in the given object by anMCRMetaLinkID
.static boolean
MCRMetadataManager.removeDerivateFromObject
(MCRObjectID objectID, MCRObjectID derivateID) static <T extends MCRBase>
TMCRObjectUtils.restore
(MCRObjectID mcrId, String revision) Restores a MyCoRe Object to the selected revision.static MCRBase
MCRMetadataManager.retrieve
(MCRObjectID id) static MCRDerivate
MCRMetadataManager.retrieveMCRDerivate
(MCRObjectID id) Retrieves instance ofMCRDerivate
with the givenMCRObjectID
static MCRObject
MCRMetadataManager.retrieveMCRObject
(MCRObjectID id) Retrieves an instance ofMCRObject
with the givenMCRObjectID
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 MCRPersistenceException 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 MCRPersistenceException 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
MCRObjectCommands.clearLinks
(String id) Runs though all mycore objects which are linked with the given object and removes its link.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 void
MCRObjectCommands.replaceParent
(String sourceId, String newParentId) Moves object to new parent.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 void
Does a xsl transform with the given mycore object. -
Uses of MCRPersistenceException in org.mycore.frontend.fileupload
Modifier and TypeMethodDescriptionlong
MCRUploadHandlerIFS.receiveFile
(String path, InputStream in, long length, String checksum) -
Uses of MCRPersistenceException in org.mycore.migration.cli
-
Uses of MCRPersistenceException 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 MCRPersistenceException in org.mycore.ocfl
Modifier and TypeMethodDescriptionprotected static char
MCROCFLXMLClassificationManager.convertMessageToType
(String message) void
MCROCFLXMLMetadataManager.create
(MCRObjectID mcrid, MCRContent xml, Date lastModified) void
MCROCFLXMLMetadataManager.create
(MCRObjectID mcrid, MCRContent xml, Date lastModified, String user) void
MCROCFLXMLMetadataManager.delete
(MCRObjectID mcrid) void
MCROCFLXMLMetadataManager.delete
(MCRObjectID mcrid, Date date, String user) boolean
MCROCFLXMLMetadataManager.exists
(MCRObjectID mcrid) MCROCFLXMLMetadataManager.getStoredIDs
(String project, String type) void
MCROCFLXMLMetadataManager.update
(MCRObjectID mcrid, MCRContent xml, Date lastModified) void
MCROCFLXMLMetadataManager.update
(MCRObjectID mcrid, MCRContent xml, Date lastModified, String user) -
Uses of MCRPersistenceException in org.mycore.solr.index.file
Modifier and TypeMethodDescriptionorg.apache.solr.common.SolrInputDocument
MCRSolrPathDocumentFactory.getDocument
(Path input, BasicFileAttributes attr) Generates aSolrInputDocument
from aMCRPath
instance. -
Uses of MCRPersistenceException in org.mycore.sword
Modifier and TypeMethodDescriptionstatic MCRDerivate
MCRSwordUtil.createDerivate
(String documentID)