Zum Hauptinhalt springen
Version: 6.7

Storage

Das Package "storage" beinhaltet Schritte, die insbesondere mit Fedora Repository interagieren.

Storage: check checksums in Fedora

deprecated

Vergleicht die Objekte aus dem ORIGINAL-Datastream in Fedora mit der generierten Checksumme.

java ch.docuteam.actions.storage.ChecksumChecker \
-e "[mailto:]<recipient>" \
[-s subjectOk|subjectError|subjectNoConnection] \
[-n namespace..]
ParameterBeschreibung
-e (or --email) <recipient>URL of type mailto:recipient@example.com. If protocol is omitted it is automatically prepended to the email address
`-s (or --subject) subjectOk<br/> subjectError
-n (or --namespace) [namespace]
[namespace] ...
(optional): Fedora namespaces separated by space; if no namespace is given, all namespaces are checked.

Storage: create Fedora objects

deprecated

Konvertiert ein zugewiesenes METS-Packet in eine FOXML-Datei (Fedora Object).

java ch.docuteam.actions.storage.FOXMLCreator \
[path/to/]SIP
ParameterBeschreibung
[path/to/]SIPname of the SIP. If no path is given, it will be expected to be in the location defined by the actions.workbench.work property

Storage: deliver DIP

deprecated

Holt die Objekte anhand einer PID (fedora persistent unique identifier) oder einer PUID (pronom persistent unique identifier) aus dem Repository, generiert ein DIP mit Hilfe von docuteam rservices und liefert dieses aus.

java ch.docuteam.actions.storage.DIPDeliverer \
['pid'|'puid'] [PID|PUID] [targetLocation]
ParameterBeschreibung
`['pid''puid']`
`[PIDPUID]`
[targetLocation](optional): Location where to save the DIP

Storage: transfer Fedora objects to repository

deprecated

Überführt Fedora-Objekte in ein Fedora Repository.

java ch.docuteam.actions.storage.FOXMLIngester \
[path/to/]SIP [keepFOXML]
ParameterBeschreibung
[path/to/]SIPname of the SIP. If no path is given, it will be expected to be in the location defined by the actions.workbench.storage property
keepFOXML(optional): One of `{ true

Storage: update Fedora object

deprecated

Lädt neue Objektversionen auf das Fedora Repository.

java ch.docuteam.actions.storage.FedoraObjectUpdater \
[path/to/]SIP
ParameterBeschreibung
[path/to/]SIPname of the SIP. If no path is given, it will be expected to be in the location defined by the actions.workbench.work property

Storage: validate METS

deprecated

Validiert die mets.xml-Datei mit dem verbundenen Schema und ergänzt die Elemente mit dem Namenraum des Root-Elements. Dies ist eine notwendige Vorbereitung, falls das mets.xml in unterschiedliche Teile aufgesplittet werden muss. Dies ist zum Beispiel er Fall, wenn unterschiedliche Fedora-Objektdateien aus einem SIP erstellt werden sollen.

java ch.docuteam.actions.storage.METSValidator \
[path/to/]SIP [withEAD]
ParameterBeschreibung
[path/to/]SIPpath of the SIP; if no path is given, it will be expected to be in the location defined by the actions.workbench.work property
[withEAD]whether to include EAD as descriptive metadata and create a datastream in the fedora objects; defaults to false

Storage: assign PIDs

deprecated

Weist allen Knoten eines SIPs eine von Fedora generierte PID zu.

java ch.docuteam.actions.storage.PIDAssigner \
[path/to/]SIP
ParameterBeschreibung
[path/to/]SIPname of the SIP. If no path is given, it will be expected to be in the location defined by the actions.workbench.work property

Storage: add PIDs from docuteam box

Weist allen Knoten eines SIPs eine von docuteam box generierte PID zu. Eine PID wird aus einem Präfix sowie einer Laufnummer, abgetrennt durch einen Doppelpunkt, gebildet.

java ch.docuteam.actions.storage.pid.AddPIDsFromBox \
--sip=[path/to/]SIP [--prefix=PID-prefix]
ParameterBeschreibung
--sipName of the SIP; if no path is given, it will be expected to be in the location defined by the actions.workbench.work property
--prefixPrefix of the PIDs to mint; optional, defaults to the ISIL code of the SIP's submission agreement

Storage: save or send PID list

deprecated

Speichert die Datei PIDs.txt oder sendet diese an eine URL. Diese Datei ist ein Resultat des Schritts 'Storage: transfer Fedora objects to repository'.

java ch.docuteam.actions.storage.PIDListPublisher \
[path/to/]SIP receiverURL
ParameterBeschreibung
[path/to/]SIPpath of the SIP; if no path is given, it will be expected to be in the location defined by the actions.workbench.storage property
receiverURLAn URL in the style of { file:

Storage: rename SIP

Benennt ein SIP um, indem es die PID des Wurzelelements in der Datei mets.xml als Präfix benutzt. Der Schritt setzt PID als accessorName in der Datei levels.xml voraus.

java ch.docuteam.actions.storage.RenameSIPasAIPforIaaS \
[path/to/]SIP [targetFolder]
ParameterBeschreibung
[path/to/]SIPpath of the SIP; if only the name is given, it will be expected to be in the location defined by the actions.workbench.inbox property
[targetFolder]directory where to put the AIP to; if omitted, the AIP will be copied to the location defined by the actions.workbench.output property

Storage: update excel with PID

Schreibt PIDs eines SIPs in eine Excel-Tabelle. Die Tabelle muss eine Spalte besitzen, die mit identifier oder id in der ersten Zeile bezeichnet ist. Die PIDs werden in die Spalte geschrieben, die mit PID bezeichnet ist, oder - falls eine solche Spalte fehlt - in die nächste freie Spalte.

java ch.docuteam.actions.storage.UpdateExcelWithPID \
[path/to/]SIP path/to/folder/with/excel
ParameterBeschreibung
[path/to/]SIPpath to the SIP; if relative path is given, try to find it in actions.workbench.work
path/to/folder/with/excelpath to the excel files to be updated