mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 15:03:18 +00:00
DS-1348: Rename the current VersionedHandleIdentifierProvider.
The current VersionedHandleIdentifierProvider introduced "canonical handles". The idea is to keep the current handle always linked to the newest version of an item. The downside is that this limits the versioning to version changes that do not derogate the citation of an item (e.g. no changes in pagination of any bitstreams). This can be used as a special feature to manually track metadata changes. In this case administrators might want to show only the newest version publicly and hide older versions. Another way to use a versioning feature is to create new versions of an item which may even change existing citations. The older versions should be kept with there former handles so that citing a handle with a page number still results in the same citation. A newer version should get a new handle. This commit just moves the old VersionedHandleIdentifierProvider to a new class so it still can be used if necessary. A new VersionedHandleIdentifierProvider will be provided within the next commit.
This commit is contained in:
@@ -35,9 +35,9 @@ import java.util.List;
|
||||
* @author Ben Bosman (ben at atmire dot com)
|
||||
*/
|
||||
@Component
|
||||
public class VersionedHandleIdentifierProvider extends IdentifierProvider {
|
||||
public class VersionedHandleIdentifierProviderWithCanonicalHandles extends IdentifierProvider {
|
||||
/** log4j category */
|
||||
private static Logger log = Logger.getLogger(VersionedHandleIdentifierProvider.class);
|
||||
private static Logger log = Logger.getLogger(VersionedHandleIdentifierProviderWithCanonicalHandles.class);
|
||||
|
||||
/** Prefix registered to no one */
|
||||
static final String EXAMPLE_PREFIX = "123456789";
|
Reference in New Issue
Block a user