Benutzer-Werkzeuge

Webseiten-Werkzeuge


docuteam:packer_240_config

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
docuteam:packer_240_config [2016/07/12 16:19] Tobias Wildidocuteam:packer_240_config [2023/02/06 14:59] (aktuell) – gelöscht Administrator
Zeile 1: Zeile 1:
-====== docuteam packer starten und konfigurieren ====== 
  
-docuteam packer wird in spezifischen Paketen für die unterschiedlichen Betriebssysteme ausgeliefert, kann aber auch über die Befehlszeile gestartet werden: 
- 
-<code>cd docuteam packer.app\Contents\docuteam packer; java -jar DocuteamPacker.jar</code> 
- 
-Dabei werden folgende optionale Parameter unterstützt: 
- 
- -configDir <arg>   (Optional) Verzeichnis mit den Konfigurationsdateien (default: ./config) 
- -help              (Optional) Zeige diese Hilfe 
- -open <arg>        (Optional) Das angegebene SIP wird direkt nach dem Start geöffnet 
- 
-===== Konfigurationsdateien ===== 
- 
-docuteam packer wird mit Hilfe zweier Dateien konfiguriert: 
- 
-  * config/docuteamPacker.properties 
-  * config/levels.xml 
- 
-In [[docuteam:docupackconfig_161&#beispiel|docuteamPacker.properties]] wird die Funktionalität, die verwendeten Ordner und das Aussehen von packer eingestellt.\\  
-In [[docuteam:packer_200_config&#config_levelsxml|levels.xml]] werden die Verzeichnungsstufen, die Stufenlogik, die Icons für die Stufen, die Metadaten sowie die Zuweisung von Metadaten zu den Stufen definiert. 
- 
-===== config/docuteamPacker.properties ===== 
- 
-==== Beispiel ==== 
- 
-<code> 
- 
-################################ 
-#  docuteam packer properties  # 
-################################ 
- 
-# Display language (if undefined or empty, use the OS language): 
-# docuteamPacker.displayLanguage = de 
- 
-# The default data directory, used for "Insert" and "New" (if undefined or empty, use user home): 
-# NOTE: Environment variables can be referenced by embedding them between "${" and "}", e.g. "${HOMEPATH}/Desktop" 
-docuteamPacker.dataDir.Win = ${HOME}/Projekte/docuteam/packer/Daten 
-# docuteamPacker.dataDir.OSX =  
-# docuteamPacker.dataDir.Linux =  
- 
-# The default SIP directory, used for "Save as", "Open", and "New" (if undefined or empty, use user home): 
-# NOTE: Environment variables can be referenced by embedding them between "${" and "}", e.g. "${HOMEPATH}/Desktop" 
-docuteamPacker.SIPDir.Win = ${HOME}/Projekte/docuteam/packer/SIPs 
-# docuteamPacker.SIPDir.OSX =  
-# docuteamPacker.SIPDir.Linux =  
- 
-# The backup directory, used when saving SIPs (if undefined or empty, use SIPDir): 
-# NOTE: Environment variables can be referenced by embedding them between "${" and "}", e.g. "${HOMEPATH}/Desktop" 
-docuteamPacker.backupDir.Win = ${HOME}/Projekte/docuteam/packer/Backups 
-# docuteamPacker.backupDir.OSX =  
-# docuteamPacker.backupDir.Linux =  
- 
-# The directory the templates are stored in and retrieved from (if undefined or empty, use SIPDir): 
-# NOTE: Environment variables can be referenced by embedding them between "${" and "}", e.g. "${HOMEPATH}/Desktop" 
-docuteamPacker.templateDir.Win = ${HOME}/Projekte/docuteam/packer/Templates 
-# docuteamPacker.templateDir.OSX =  
-# docuteamPacker.templateDir.Linux =  
- 
-# The temp-folder for temporary files can be set here (if undefined or empty, use the folder "DocuteamPacker" in the java temp dir (System.getProperty("java.io.tmpdir"))): 
-# NOTE: Environment variables can be referenced by embedding them between "${" and "}", e.g. "${HOMEPATH}/Desktop" 
-docuteamPacker.tempDir.Win = ${HOME}/Projekte/docuteam/packer/Temp 
-# docuteamPacker.tempDir.OSX =  
-# docuteamPacker.tempDir.Linux =  
- 
-# For the submission process: The directory where to copy the submitted SIPs to (= ingest drop folder) (if undefined or empty, don't use): 
-# NOTE: Environment variables can be referenced by embedding them between "${" and "}", e.g. "${HOMEPATH}/Desktop" 
-# docuteamPacker.ingestSubmitDir.Win =  
-# docuteamPacker.ingestSubmitDir.OSX =  
-# docuteamPacker.ingestSubmitDir.Linux =  
- 
-# For the submission process: The directory where to get the ingest result from (= ingest feedback folder) (if undefined or empty, don't use): 
-# NOTE: Environment variables can be referenced by embedding them between "${" and "}", e.g. "${HOMEPATH}/Desktop" 
-# NOTE: This folder MUST lie next to the folder defined in "docuteamPacker.ingestSubmitDir" and MUST be named "feedback"! 
-# docuteamPacker.ingestFeedbackDir.Win =  
-# docuteamPacker.ingestFeedbackDir.OSX =  
-# docuteamPacker.ingestFeedbackDir.Linux =  
- 
-# For the submission process: The class name of the AIPCreator (if undefined or empty, don't use): 
-# docuteamPacker.AIPCreator.className =  
- 
-# When true (case doesn't matter), create a backup on every save; otherwise not (undefined = true): 
-# docuteamPacker.versioning = false 
- 
-# When true (case doesn't matter), the default format of a new SIP is a zipped archive; otherwise it is a folder (undefined = true): 
-# docuteamPacker.newSIPDefaultsToZipped = false 
- 
-# When docuteamPacker.versioning = true, set here the max. number of backups. Exeeding backups will be deleted (if undefined or empty, use default = 10) 
-# docuteamPacker.versioning.keepBackupsCount = 20 
- 
-# When true (case doesn't matter), the docuteam packer screen opens in full screen mode; otherwise use screen size and position as specified below (default = false): 
-# docuteamPacker.openFullScreen = true 
- 
-# When openFullScreen is not true, these values denote the docuteam packer screen size on startup (if undefined, take 1000 x 700): 
-# docuteamPacker.screenSize.x = 1200 
-# docuteamPacker.screenSize.y = 1000 
- 
-# When openFullScreen is not true, these values denote the docuteam packer screen position on startup (if undefined, center on screen): 
-# docuteamPacker.screenPos.x = 100 
-# docuteamPacker.screenPos.y = 100 
- 
-# When true (case doesn't matter), use system look-and-feel; otherwise use cross-platform = "Metal" (undefined = true): 
-# docuteamPacker.useSystemLookAndFeel = false 
- 
-# When true, retrieve the current SAs from the server (from URL below) on startup; otherwise don't (undefined = false): 
-# docuteamPacker.SA.getSAsFromServerOnStartup = true 
- 
-# The URL of the SA editor application (webjaxe): 
-# docuteamPacker.SA.BASE.URL =  
- 
-# The complete file path to the OOO application ("OpenOffice.org" or "OpenOffice.org 3") (if undefined or empty, use the internal OOO application; 
-# if undefined or empty AND the internal OOO application doesn't exist, assume that no OOO application shall be used): 
-# docuteamPacker.OOConverter.path.Win = C:\Program Files\OpenOffice.org 3 
-# docuteamPacker.OOConverter.path.OSX = /Applications/OpenOffice.org.app 
-# docuteamPacker.OOConverter.path.Linux =  
- 
-# The number of initialization retries for the OOConverter (if empty, undefined, negative, or 0, use the default number, which is 10): 
-# docuteamPacker.OOConverter.initializationRetries = 30 
- 
-# The number of files to cache for the file preview (if undefined or empty, use the default cache size, which is 100): 
-# docuteamPacker.filePreviewer.cacheSizeLimit = 10 
- 
-# When true, the SystemOutView opens when output occurs; otherwise not (undefined = true): 
-# docuteamPacker.openSystemOutViewOnOutput = false 
- 
-# For developers (undefined = false): 
-# docuteamPacker.isDevMode = true 
- 
-</code> 
-==== Erklärungen ==== 
- 
-Bei Begriffen wie "true", "false" oder "en" spielt die Gross-Klein-Schreibung KEINE Rolle, d.h. dass z.B. "true" identisch ist mit "TRUE", "True" oder sogar "tRuE". 
- 
-^ Feld ^ Inhalt (Beispiel) ^ Erklärung ^ Wenn leer oder undefiniert ^ 
-^ displayLanguage | en |Die Sprache, in der packer angezeigt wird. Zur Zeit existieren drei Übersetzungen (de = deutsch, en = englisch, fr = französisch). Falls eine andere Sprache eingestellt wird, wird packer in deutsch angezeigt | Die Sprache des Computers. Ist diese weder “de” noch “en” noch “fr”, wird packer in deutsch angezeigt | 
-^ dataDir | C:/Data/RawData |Dieser Ordner wird standardmässig angezeigt, um Dateien oder Ordner auszuwählen, die in das SIP eingefügt werden sollen |Der 'home'-Ordner des aktuellen Benutzers | 
-^ SIPDir | C:/Data/SIPs |Dieser Ordner wird standardmässig angezeigt, wenn ein SIP neu angelegt, geöffnet oder gespeichert wird |Der 'home'-Ordner des aktuellen Benutzers | 
-^ backupDir | C:/Data/Backups |Der Ordner, in dem die automatischen Backups gespeichert werden |Der Ordner der in <SIPDir> spezifiziert ist | 
-^ templateDir | C:/Data/Templates |Der Ordner, in dem die Vorlagen gespeichert werden |Der Ordner der in <SIPDir> spezifiziert ist | 
-^ tempDir | C:/Data/Temp |Der Ordner für temporäre Dateien |Es wird der temporäre Ordner des Systems genommen | 
-^ ingestSubmitDir | C:/Data/Submit |Der Ordner, in den die SIPs submitted werden |Submission ist nicht möglich | 
-^ ingestFeedbackDir | C:/Data/Feedback |Der Ordner, in dem das Ergebnis des Ingests gespeichert wird |Feedback ist nicht erhältlich | 
-^ AIPCreator.className | ch.docuteam.aip.AIPCreator |Der Name der Klasse, die das AIP generiert |AIP-Generierung ist nicht möglich | 
-^ newSIPDefaultsToZipped | true |Wenn true, ist beim Anlegen eines neuen SIPs das Häkchen "ZIP" standardmässig gesetzt. Wenn false, ist das Häkchen standardmässig nicht gesetzt | Wie true | 
-^ versioning | true |Wenn true, wird bei jedem Speichervorgang die vorige Version als Backup im Ordner <backupDir> gespeichert. Wenn false, werden keine Backups erstellt und somit das Original-SIP jedes Mal überschrieben | Wie true | 
-^ versioning.keepBackupsCount | 20 |Maximale Anzahl der angelegten Backups. Wenn die Anzahl der Backups diesen Wert überschreitet, werden die ältesten Backups gelöscht |  10  | 
-^ openFullScreen | false |Wenn true, nimmt das SIP-Fenster den gesamten Bildschirm ein. Wenn false, werden für die Fenstergrösse die beiden Werte <screenSize.x> und <screenSize.y> genommen | Wie false | 
-^ screenSize.x\\ screenSize.y | 1200\\ 1000 |Die Grösse des SIP-Fensters in Pixeln. Diese Werte werden ignoriert, wenn <openFullScreen> = true ist | 1000x700 Pixel | 
-^ screenPos.x\\ screenPos.y | 500\\ 500 |Die Position des SIP-Fensters beim Öffnen. Diese Werte werden ignoriert, wenn <openFullScreen> = true ist | Zentriert | 
-^ useSystemLookAndFeel | false |Wenn true, wird das Aussehen von packer dem Fenstersystem des Computers angepasst. Wenn false, wird ein generisches Aussehen (“Metal”) gewählt | Wie false | 
-^ SA.getSAsFromServerOnStartup | false |Wenn true, wird die aktuelle Liste der SAs (Submission Agreements) beim Start von packer von der in <SA.BASE.URL> eingetragenen Web-Adresse runtergeladen. Wenn false, wird dies nicht gemacht | Wie false | 
-^ SA.BASE.URL | http://docuteam/sa |Die Web-Adresse von welcher manuell oder beim Start von packer (falls so eingestellt) die aktuellen SAs (Submission Agreements) runtergeladen werden |Es wird nichts runtergeladen | 
-^ OOConverter.path | C:/Programme |Der Ordner in dem sich die OpenOffice.org Applikation befindet, welche für die Vorschau einiger Dateien benötigt wird |Es wird die interne OOO-Applikation genommen, falls sie vorhanden ist. Falls nicht, ist die Vorschau einiger Dateien nicht möglich | 
-^ OOConverter.initializationRetries | 30 |Die Anzahl der Versuche, die OpenOffice.org-Applikation zu initialisieren. Diese wird für die Vorschau einiger Dateien benötigt | 10 | 
-^ filePreviewer.cacheSizeLimit | 20 |Die Grösse des Zwischenspeichers für die Vorschau der Dateien. Je höher dieser Wert, umso mehr Vorschauen hält sich packer im Speicher | 100 | 
-^ openSystemOutViewOnOutput | true |Wenn true, wird beim Auftreten eines Fehlers das Fehlerfenster automatisch geöffnet. Wenn false, bleibt im Falle eines Fehlers das Fehlerfenster geschlossen | Wie true | 
-^ isDevMode | false |Sollte nur während der Entwicklung von packer auf true gesetzt werden | Wie false | 
- 
-===== config/levels.xml ===== 
- 
-==== Beispiel ==== 
- 
-<code> 
-<?xml version="1.0" encoding="UTF-8"?> 
-<LEVELS:Config 
- xmlns:LEVELS="http://www.docuteam.ch/xmlns/levels" 
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
- xsi:schemaLocation="http://www.docuteam.ch/xmlns/levels levels.xsd"> 
- 
- <LEVELS:MetadataElements> 
- <LEVELS:AllowedValuesSeparator>;</LEVELS:AllowedValuesSeparator> 
- <LEVELS:MetadataElement accessorNameID="accessPolicy"/> 
- <LEVELS:MetadataElement accessorNameID="accessRestriction"/> 
- <LEVELS:MetadataElement accessorNameID="accessRestrictionExplanation"/> 
- <LEVELS:MetadataElement accessorNameID="accessRestrictionPeriod"/> 
- <LEVELS:MetadataElement accessorNameID="accessRestrictionPeriodBaseYear"/> 
- <LEVELS:MetadataElement accessorNameID="accessRestrictionClassification"/> 
- <LEVELS:MetadataElement accessorNameID="accessRestrictionPrivacy"/> 
- <LEVELS:MetadataElement accessorNameID="accessRestrictionStatus"/> 
- <LEVELS:MetadataElement accessorNameID="accessRestrictionStatusExplanation"/> 
- <LEVELS:MetadataElement accessorNameID="retentionPolicy"/> 
- <LEVELS:MetadataElement accessorNameID="retentionPeriod"/> 
- <LEVELS:MetadataElement accessorNameID="retentionPeriodBaseYear"/> 
- <LEVELS:MetadataElement accessorNameID="accessNr"/> 
- <LEVELS:MetadataElement accessorNameID="reproductions"/> 
- <LEVELS:MetadataElement accessorNameID="appraisalAndDestruction"/> 
- <LEVELS:MetadataElement accessorNameID="arrangement"/> 
- <LEVELS:MetadataElement accessorNameID="bibliography"/> 
- <LEVELS:MetadataElement accessorNameID="institution"/> 
- <LEVELS:MetadataElement accessorNameID="objectType"/> 
- <LEVELS:MetadataElement accessorNameID="compartment"/> 
- <LEVELS:MetadataElement accessorNameID="fundingSource"/> 
- <LEVELS:MetadataElement accessorNameID="institute"/> 
- <LEVELS:MetadataElement accessorNameID="journal"/> 
- <LEVELS:MetadataElement accessorNameID="keyword"/> 
- <LEVELS:MetadataElement accessorNameID="location"/> 
- <LEVELS:MetadataElement accessorNameID="method"/> 
- <LEVELS:MetadataElement accessorNameID="publisher"/> 
- <LEVELS:MetadataElement accessorNameID="status"/> 
- <LEVELS:MetadataElement accessorNameID="university"/> 
- <LEVELS:MetadataElement accessorNameID="author"/> 
- <LEVELS:MetadataElement accessorNameID="involved"/> 
- <LEVELS:MetadataElement accessorNameID="responsible"/> 
- <LEVELS:MetadataElement accessorNameID="staff"/> 
- <LEVELS:MetadataElement accessorNameID="archivalHistory"/> 
- <LEVELS:MetadataElement accessorNameID="PID"/> 
- <LEVELS:MetadataElement accessorNameID="abstract"/> 
- <LEVELS:MetadataElement accessorNameID="languageNotes"/> 
- <LEVELS:MetadataElement accessorNameID="language"/> 
- <LEVELS:MetadataElement accessorNameID="origination"/> 
- <LEVELS:MetadataElement accessorNameID="extent"/> 
- <LEVELS:MetadataElement accessorNameID="material"/> 
- <LEVELS:MetadataElement accessorNameID="creationPeriod"/> 
- <LEVELS:MetadataElement accessorNameID="creationPeriodNotes"/> 
- <LEVELS:MetadataElement accessorNameID="fromYear"/> 
- <LEVELS:MetadataElement accessorNameID="toYear"/> 
- <LEVELS:MetadataElement accessorNameID="year"/> 
- <LEVELS:MetadataElement accessorNameID="refCode"/> 
- <LEVELS:MetadataElement accessorNameID="refCodeAdmin"/> 
- <LEVELS:MetadataElement accessorNameID="refCodeOld"/> 
- <LEVELS:MetadataElement accessorNameID="unitTitleAdditional"/> 
- <LEVELS:MetadataElement accessorNameID="comment"/> 
- <LEVELS:MetadataElement accessorNameID="doiJournal"/> 
- <LEVELS:MetadataElement accessorNameID="project"/> 
- <LEVELS:MetadataElement accessorNameID="projectAbbreviation"/> 
- <LEVELS:MetadataElement accessorNameID="projectName"/> 
- <LEVELS:MetadataElement accessorNameID="projectTitle"/> 
- <LEVELS:MetadataElement accessorNameID="usage"/> 
- <LEVELS:MetadataElement accessorNameID="locationOfOriginals"/> 
- <LEVELS:MetadataElement accessorNameID="findingAids"/> 
- <LEVELS:MetadataElement accessorNameID="characteristics"/> 
- <LEVELS:MetadataElement accessorNameID="descriptionLevel"/> 
- <LEVELS:MetadataElement accessorNameID="descriptionLevelNotes"/> 
- <LEVELS:MetadataElement accessorNameID="revisions"/> 
- <LEVELS:MetadataElement accessorNameID="descriptionRules"/> 
- <LEVELS:MetadataElement accessorNameID="relatedMaterial"/> 
- <LEVELS:MetadataElement accessorNameID="scopeContent"/> 
- <LEVELS:MetadataElement accessorNameID="conditionsOfReproductions"/> 
- </LEVELS:MetadataElements> 
- 
- <LEVELS:Levels> 
- <!-- NOTE: The 1st element in this list always has to be the "undefined" level! --> 
- <LEVELS:Level nameID="Undefiniert" iconFileName="resources/images/LevelUndefined.png" allowedSublevelNameRefs="Undefiniert"> 
- <LEVELS:LevelMetadataElement accessorNameRef="accessPolicy" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="accessRestriction" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="accessRestrictionExplanation" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="accessRestrictionPeriod" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="accessRestrictionPeriodBaseYear" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="accessRestrictionClassification" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="accessRestrictionPrivacy" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="accessRestrictionStatus" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="accessRestrictionStatusExplanation" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="retentionPolicy" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="retentionPeriod" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="retentionPeriodBaseYear" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="accessNr" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="reproductions" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="appraisalAndDestruction" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="arrangement" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="bibliography" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="institution" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="objectType" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="compartment" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="fundingSource" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="institute" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="journal" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="keyword" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="location" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="method" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="publisher" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="status" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="university" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="author" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="involved" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="responsible" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="staff" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="archivalHistory" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="PID" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="abstract" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="languageNotes" isMandatory="false" isRepeatable="false"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="language" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="origination" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="extent" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="material" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="creationPeriod" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="creationPeriodNotes" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="fromYear" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="toYear" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="year" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="refCode" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="refCodeAdmin" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="refCodeOld" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="unitTitleAdditional" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="comment" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="doiJournal" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="project" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="projectAbbreviation" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="projectName" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="projectTitle" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="usage" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="locationOfOriginals" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="findingAids" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="characteristics" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="descriptionLevel" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="descriptionLevelNotes" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="revisions" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="descriptionRules" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="relatedMaterial" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="scopeContent" isMandatory="false" isRepeatable="true"/> 
- <LEVELS:LevelMetadataElement accessorNameRef="conditionsOfReproductions" isMandatory="false" isRepeatable="true"/> 
- </LEVELS:Level> 
- </LEVELS:Levels> 
- 
-</LEVELS:Config> 
-</code> 
- 
-In der ersten Sektion von levels.xml (<LEVELS:MetadataElements>) werden alle zur Verfügung stehenden [[docuteam:packer_200_config&#metadaten-elemente|Metadaten-Elemente]] definiert.\\  
-In der zweiten Sektion von levels.xml (<LEVELS:Levels>) werden die [[docuteam:packer_200_config&#verzeichnungsebenen|Verzeichnungsebenen]] sowie die Zuweisung von Metadaten-Elementen zu diesen Verzeichnungsebenen definiert. 
-==== Metadaten-Elemente ==== 
- 
-Ein Metadaten-Element wird durch folgende fünf Attribute definiert: 
- 
-^ Name ^ Inhalt (Beispiel) ^ Erklärung ^ Obligatorisch ^ 
-^ accessorNameId | accessNr |Der eindeutige Name des Metadatenfelds. Diese müssen den [[#Abbildung der beschreibenden Metadaten als Encoded Archival Description (EAD)|unten ersichtlichen Akzessoren]] entsprechen, mit welchen in packer auf die Daten zugegriffen wird. Über die i18n-Konfiguration kann im Bedarfsfall einem Metadaten-Feld ein individuelles Label zugewiesen werden | * | 
-^ defaultExpression | 'new java.text.SimpleDateFormat("yyyy-MM-dd").format(new java.util.Date())' oder '((ch.docuteam.docudarc.mets.structmap.NodeAbstract)object).getMimeType()' |Ein Java-Ausdruck um dieses Feld beim Erstellen zu initialisieren. Der aktuelle Knoten wird referenziert durch: '(ch.docuteam.docudarc.mets.structmap.NodeAbstract)object' | | 
-^ validatorClassName | ch.docuteam.docudarc.mdconfig.MetadataElementValidatorDate |Eine Java-Klasse, die den Inhalt dieses Metadaten-Elementes beim Setzen validiert. Falls die Validierung den eingegebenen Wert nicht erlaubt, wird eine Fehlermeldung angezeigt und das Feld wieder mit dem vorigen Wert gefüllt | | 
-^ postActionClassName | ch.docuteam.docudarc.mdconfig.MetadataElementSetterPostActionSysOut |Eine Java-Klasse, die beliebige Aktionen ausführt, **nachdem** der Wert dieses Felder gesetzt wurde. Diese Aktion wird **nicht** ausgeführt, wenn die Validierung des eingegebenen Wertes fehlschlägt | | 
-^ allowedValues | *;Deutsch;English;Français;Italiano |Eine Liste von Werten, die in packer als DropDown-Liste dargestellt wird. Ist das erste Element dieser Liste ein Asterisk "*", können zusätzlich zu den Listenelementen auch beliebige andere Begriffe eingegeben werden | | 
- 
-Ein Beispiel: 
- 
-<code> 
-<LEVELS:MetadataElement accessorNameID="retentionPolicy" 
- defaultExpression='"Confidential"' 
- allowedValues="OpenAccess;EmbargoPeriod30Years;EmbargoPeriod50Years;Confidential"/> 
-</code> 
- 
-Mit dem Element <LEVELS:AllowedValuesSeparator> kann der Separator der allowedValues-Liste eingestellt werden. Dieser kann auch aus mehreren Buchstaben bestehen, z.B.: 
- 
-<code> 
-<LEVELS:MetadataElements> 
- <LEVELS:AllowedValuesSeparator>::</LEVELS:AllowedValuesSeparator> 
- 
- <LEVELS:MetadataElement accessorNameID="language" allowedValues="*::Deutsch::English::Français::Italiano"/> 
-</code> 
-==== Verzeichnungsebenen ==== 
- 
-Eine Verzeichnungsebene wird durch folgende drei Attribute definiert: 
- 
-^ Name ^ Inhalt (Beispiel) ^ Erklärung ^ Obligatorisch ^ 
-^ nameID | Archiv |Der eindeutige Name dieser Verzeichnungsebene | * | 
-^ iconFileName | resources/images/LevelSerie.png |Der Pfad zur Icon-Datei dieser Ebene. Wenn diese Datei nicht existiert, wird ein gelbes Warn-Icon angezeigt | * | 
-^ allowedSublevelNameRefs | Abteilung Bestand Undefiniert |Die Liste der für diese Verzeichnungsebene erlaubten Unterebenen. Die Elemente dieser Liste müssen in dieser Datei spezifiziert sein (als nameID) und durch ein **Leerzeichen** getrennt werden. Das Erste Element dieser Liste wird bei neuen Unterelementen als Standardebene gesetzt | | 
- 
-Ein Beispiel: 
- 
-<code> 
-<LEVELS:Level nameID="Archiv" iconFileName="resources/images/LevelSerie.png" 
- allowedSublevelNameRefs="Abteilung Bestand Undefiniert"> 
-</code> 
- 
-Die Zuweisung von Metadaten-Elementen zu Verzeichnungsebenen wird durch eine Liste von Elementen <LEVELS:LevelMetadataElement> definiert. Dieses Element enthält folgende 7 Attribute: 
- 
-^ Name ^ Inhalt (Beispiel) ^ Erklärung ^ Obligatorisch ^ 
-^ accessorNameRef | language |Die accessorNameID des Metadaten-Elementes; referenziert eine accessorNameID aus der Liste der <LEVELS:MetadataElements> ([[#metadaten-elemente|siehe oben]]) | * | 
-^ isMandatory | true |Wenn true, ist dieses Metadaten-Element obligatorisch. Obligatorische Elemente werden immer in der Metadaten-Liste angezeigt. Wenn ein obligatorisches Element leer ist, wird das Dossier mit einem Ausrufezeichen markiert | * | 
-^ isRepeatable | false |Wenn true, können mehrere Exemplare dieses Metadaten-Elementes in der Metadaten-Liste vorhanden sein, welche im packer nach Bedarf zugefügt oder entfernt werden können | * | 
-^ isAlwaysDisplayed | true |Wenn true, wird dieses Metadaten-Element immer in der Metadaten-Liste angezeigt | | 
-^ isReadOnly | false |Wenn true, kann dieses Metadaten-Element manuell **nicht** geändert werden. Ist eine "defaultExpression" angegeben, wird das Metadaten-Element beim Erstellen damit initialisiert | | 
-^ keepInTemplate | false |Wenn true, wird dieses Metadaten-Element beim Erstellen einer Vorlage **nicht** gelöscht | | 
-^ displayRows | 5 |Gibt die Anzahl der Zeilen bei der Darstellung dieses Metadaten-Elementes in der Metadaten-Liste an | | 
- 
-Ein Beispiel: 
- 
-<code> 
-<LEVELS:LevelMetadataElement accessorNameRef="PID" isMandatory="false" 
- isRepeatable="false" 
- isAlwaysDisplayed="true" 
- isReadOnly="true"/> 
-</code> 
- 
- 
-==== Abbildung der beschreibenden Metadaten als Encoded Archival Description (EAD) ==== 
- 
-Alle beschreibenden Metadaten werden unter Verwendung des EAD-Schemas innerhalb der Datei mets.xml gespeichert. Welche EAD-Elemente verwendet werden, wird aus der folgenden Tabelle ersichtlich: 
- 
-{{:oais:metadatatoxpathmapping_2.1.xlsx|Download MetadataToXPathMapping_2.1.xlsx}} 
- 
-^AccessorNameID^Xpath relative to a <c> or <archdesc> element^is dynamic^is static^ISAD(G)^Comment^ 
-^unitTitle|EAD:did/EAD:unittitle[@label = 'main']| | * |3.1.2| | 
-^level|[@level = 'otherlevel']/@otherlevel| | * |3.1.4|Stored in attribute "@otherlevel"| 
-^abstract|EAD:did/EAD:abstract| * | | | | 
-^accessNr|EAD:acqinfo/EAD:p| * | |3.2.4| | 
-^accessPolicy|EAD:accessrestrict[@type = 'accessPolicy']/EAD:p| * | | |New in Version 2.1| 
-^accessRestriction|EAD:accessrestrict[@type = 'restrictions']/EAD:p| * | |3.4.1| | 
-^accessRestrictionClassification|EAD:accessrestrict[@type = 'accessRestrictionsClassification']/EAD:p| * | | || 
-^accessRestrictionExplanation|EAD:accessrestrict[@type = 'accessRestrictionsExplanation']/EAD:p| * | | || 
-^accessRestrictionPeriod|EAD:accessrestrict[@type = 'accessRestrictionsPeriod']/EAD:p| * | | || 
-^accessRestrictionPeriodBaseYear|EAD:accessrestrict[@type = 'accessRestrictionsPeriodBaseYear']/EAD:p| * | | || 
-^accessRestrictionPrivacy|EAD:accessrestrict[@type = 'accessRestrictionsPrivacy']/EAD:p| * | | || 
-^accessRestrictionStatus|EAD:accessrestrict[@type = 'accessRestrictionsStatus']/EAD:p| * | | || 
-^accessRestrictionStatusExplanation|EAD:accessrestrict[@type = 'accessRestrictionsStatusExplanation']/EAD:p| * | | ^accruals|EAD:accruals/EAD:p| * | |  
-^appraisalAndDestruction|EAD:appraisal/EAD:p| * | |3.3.2| | 
-^archivalHistory|EAD:custodhist/EAD:p| * | |3.2.3| | 
-^arrangement|EAD:arrangement/EAD:p| * | |3.3.4| | 
-^author|EAD:controlaccess/EAD:persname[@role = 'author']| * | | | | 
-^bibliography|EAD:bibliography/EAD:p| * | |3.5.4| | 
-^bibliographicalHistory|EAD:bioghist/EAD:p| * | || | 
-^characteristics|EAD:phystech/EAD:p| * | |3.4.4| | 
-^characteristicsNote|EAD:phystech/EAD:note/EAD:p| * | |3.4.4| | 
-^comment|EAD:note/EAD:p| * | |3.6| | 
-^compartment|EAD:controlaccess/EAD:name[@role = 'compartment']| * | | | | 
-^conditionsOfReproductions|EAD:userestrict/EAD:p| * | |3.4.2| | 
-^creationPeriod|EAD:did/EAD:unitdate[@label = 'creationPeriod']| * | | | | 
-^creationPeriodNotes|EAD:did/EAD:unitdate[@label = 'creationPeriodNotes']| * | | | | 
-^descriptionLevel|EAD:processinfo[@type = 'level']/EAD:p| * | | | | 
-^descriptionLevelNotes|EAD:processinfo[@type = 'levelNotes']/EAD:p| * | | | | 
-^descriptionRules|EAD:processinfo[@type = 'rules']/EAD:p| * | |3.7.2| | 
-^doiJournal|EAD:odd[@type = 'doiJournal']/EAD:p| * | | | | 
-^extent|EAD:did/EAD:physdesc/EAD:extent| * | |3.1.5| | 
-^findingAids|EAD:otherfindaid/EAD:p| * | |3.4.5| | 
-^fromYear|EAD:did/EAD:unitdate[@label = 'fromYear']| * | |3.1.3| | 
-^fundingSource|EAD:controlaccess/EAD:name[@role = 'fundingSource']| * | | | | 
-^institute|EAD:controlaccess/EAD:name[@role = 'institute']| * | | | | 
-^institution|EAD:controlaccess/EAD:corpname| * | | | | 
-^involved|EAD:controlaccess/EAD:persname[@role = 'involved']| * | | | | 
-^journal|EAD:controlaccess/EAD:name[@role = 'journal']| * | | | | 
-^keyword|EAD:controlaccess/EAD:name[@role = 'keyword']| * | | | | 
-^language|EAD:did/EAD:langmaterial/EAD:language| * | |3.4.3| | 
-^languageNotes|EAD:did/EAD:langmaterial| * | | | | 
-^location|EAD:controlaccess/EAD:name[@role = 'location']| * | | | | 
-^locationOfOriginals|EAD:originalsloc/EAD:p| * | |3.5.1| | 
-^material|EAD:did/EAD:physdesc/EAD:physfacet| * | |3.1.5| | 
-^method|EAD:controlaccess/EAD:name[@role = 'method']| * | | | | 
-^objectType|EAD:controlaccess/EAD:genreform| * | | | | 
-^origination|EAD:did/EAD:origination| * | | | | 
-^PID|EAD:dao[@xlink:role = 'simple']/@xlink:href| * | | |Stored in attribute "@xlink:href"| 
-^project|EAD:odd[@type = 'project']/EAD:p| * | | | | 
-^projectAbbreviation|EAD:odd[@type = 'projectAbbreviation']/EAD:p| * | | | | 
-^projectName|EAD:odd[@type = 'projectName']/EAD:p| * | | | | 
-^projectTitle|EAD:odd[@type = 'projectTitle']/EAD:p| * | | | | 
-^publisher|EAD:controlaccess/EAD:name[@role = 'publisher']| * | | | | 
-^refCode|EAD:did/EAD:unitid[@type = 'refCode']| * | |3.1.1| | 
-^refCodeAdmin|EAD:did/EAD:unitid[@type = 'refCodeAdmin']| * | | | | 
-^refCodeOld|EAD:did/EAD:unitid[@type = 'refCodeOld']| * | | | | 
-^relatedMaterial|EAD:relatedmaterial/EAD:p| * | |3.5.3| | 
-^reproductions|EAD:altformavail/EAD:p| * | |3.5.2| | 
-^responsible|EAD:controlaccess/EAD:persname[@role = 'responsible']| * | | | | 
-^retentionPeriod|EAD:accessrestrict[@type = 'retentionPeriod']/EAD:p| * | | | | 
-^retentionPeriodBaseYear|EAD:accessrestrict[@type = 'baseYear']/EAD:p| * | | | | 
-^retentionPolicy|EAD:accessrestrict[@type = 'retentionPolicy']/EAD:p| * | | | | 
-^revisions|EAD:processinfo[@type = 'revisions']/EAD:p| * | | | | 
-^scopeContent|EAD:scopecontent/EAD:p| * | |3.3.1| | 
-^staff|EAD:controlaccess/EAD:persname[@role = 'staff']| * | | | | 
-^status|EAD:controlaccess/EAD:name[@role = 'status']| * | | | | 
-^toYear|EAD:did/EAD:unitdate[@label = 'toYear']| * | |3.1.3| | 
-^unitTitleAdditional|EAD:did/EAD:unittitle[@label = 'additional']| * | | | | 
-^university|EAD:controlaccess/EAD:name[@role = 'university']| * | | | | 
-^usage|EAD:odd[@type = 'usage']/EAD:p| * | | | | 
-^year|EAD:did/EAD:unitdate[@label = 'year']| * | | | | 
docuteam/packer_240_config.1468333194.txt.gz · Zuletzt geändert: 2019/01/07 11:15 (Externe Bearbeitung)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki