Last change
on this file since 276 was
276,
checked in by oschonef, 14 years ago
|
- further work an GWDG handle integration
|
-
Property svn:eol-style set to
native
|
File size:
986 bytes
|
Line | |
---|
1 | package eu.clarin.cmdi.virtualcollectionregistry; |
---|
2 | |
---|
3 | import java.net.URI; |
---|
4 | import java.util.Map; |
---|
5 | |
---|
6 | import eu.clarin.cmdi.virtualcollectionregistry.model.PersistentIdentifier; |
---|
7 | import eu.clarin.cmdi.virtualcollectionregistry.model.PersistentIdentifierProvider; |
---|
8 | import eu.clarin.cmdi.virtualcollectionregistry.model.VirtualCollection; |
---|
9 | |
---|
10 | public class DummyPersistentIdentifierProvider extends PersistentIdentifierProvider { |
---|
11 | |
---|
12 | public DummyPersistentIdentifierProvider(Map<String, String> config) |
---|
13 | throws VirtualCollectionRegistryException { |
---|
14 | super(config); |
---|
15 | } |
---|
16 | |
---|
17 | public PersistentIdentifier createIdentifier(VirtualCollection vc) |
---|
18 | throws VirtualCollectionRegistryException { |
---|
19 | return doCreate(vc, PersistentIdentifier.Type.DUMMY, vc.getUUID()); |
---|
20 | } |
---|
21 | |
---|
22 | public void updateIdentifier(String pid, URI target) |
---|
23 | throws VirtualCollectionRegistryException { |
---|
24 | } |
---|
25 | |
---|
26 | public void deleteIdentifier(String pid) |
---|
27 | throws VirtualCollectionRegistryException { |
---|
28 | } |
---|
29 | |
---|
30 | } // class DummyPersistentIdentifierProvider |
---|
Note: See
TracBrowser
for help on using the repository browser.