All notable changes to this project will be documented in this file. We follow the Semantic Versioning 2.0.0 format.
- static method "isServiceDocumentWithSubservices(String serviceDocumentUrl, AuthCredentials authCredentials)" to analyze a type of the service document even before the creation of the repository object
- none
- exportNewEntryWithFileAndMetadata
- rename of "HierarchyObject" and "HierarchyCollectionObject"
- HierarchyObjectSword
- HierarchyCollectionObjectSword
- rename some export method:
- exportNewEntryWithMetadataAndFile
- reorder input parameters in:
- exportNewEntryWithMetadataAndFile(String collectionURL, Map<String, List> metadataMap, File file, boolean unpackFileIfArchive)
- createEntryWithMetadataAndFile(String collectionURL, Map<String, List> metadataMap, File file, boolean unpackZip, boolean inProgress)
- support of "service" tag inside the "collection" tag in the service document
(e.g. in case of DSpace it means, that service document represents communities and not collections.
To get collections in that case, further request to the service URL - URL inside the "service" tag - is needed).
New methods:
- isServiceDocumentWithSubservices(ServiceDocument serviceDocument)
- getHierarchy(ServiceDocument serviceDocument)
- getCollectionsAsHierarchy(ServiceDocument serviceDocument, String hierarchySeparator)
- new classes "HierarchyObject" and "HierarchyCollectionObject" which represent the hierarchy of collections and services
- none
- none
- none
- support of explicit usage of the "In-Progress: true/false" header for SWORDv2 requests
- none
- old methods, which do not have "inProgress" variable as input, are not supported now. Please use new notation:
- exportElement(String exportURL, SwordRequestType swordRequestType, String mimeFormat, String packageFormat, File file, Map<String, List> metadataMap, boolean inProgress)
- createEntryWithMetadata(String collectionURL, Map<String, List> metadataMap, boolean inProgress)
- createEntryWithMetadataAndFile(String collectionURL, File file, boolean unpackZip, Map<String, List> metadataMap, boolean inProgress)
- replaceMetadataEntry(String entryUrl, Map<String, List> metadataMap, boolean inProgress)
- none
- prepare for support of metadata as XML file
- none
- none
- javadoc
- support of common for many repositories SWORDv2 features
- common exporting interface (for now suits for DSpace and Dataverse repositories)
- none
- none
- none