public interface IIdentifierSystem
Modifier and Type | Method and Description |
---|---|
boolean |
deletePID(String pid)
Remove the given PID.
|
boolean |
isIdentifierRegistered(String pid)
Checks whether the given PID is already registered.
|
PIDInformation |
queryAllProperties(String pid)
Queries all properties from the given PID, independent of types.
|
PIDInformation |
queryByType(String pid,
TypeDefinition typeDefinition)
Queries all properties of a given type available from the given PID.
|
String |
queryProperty(String pid,
PropertyDefinition propertyDefinition)
Queries a single property from the given PID.
|
String |
registerPID(Map<String,String> properties)
Registers a new PID with given property values.
|
boolean isIdentifierRegistered(String pid) throws IOException
pid
- IOException
PIDInformation queryAllProperties(String pid) throws IOException
pid
- IOException
String queryProperty(String pid, PropertyDefinition propertyDefinition) throws IOException
pid
- propertyDefinition
- IOException
String registerPID(Map<String,String> properties) throws IOException
properties
- A simple dictionary with string keys and string values that
contains the initial PID record.IOException
PIDInformation queryByType(String pid, TypeDefinition typeDefinition) throws IOException
pid
- typeDefinition
- IOException
boolean deletePID(String pid)
pid
- Copyright © 2014. All rights reserved.