Package | Description |
---|---|
org.bbaw.pdr.padre |
Commands which make use of the PaDRe API.
|
org.bbaw.pdr.utils |
Common resources for the access to instances of the PDR.
|
Constructor and Description |
---|
PadreContains(Identifier identifier)
Checks the existence of the PDRObject with the given ID,
provided as
org.bbaw.pdr.utils.Identifier . |
Modifier and Type | Method and Description |
---|---|
static Identifier |
Identifier.create(java.lang.String idString)
At risk of getting a
null reference, this method can
be used to create an instance of this class when the validity of
the given idString is secured during runtime by other
mechanims. |
Identifier |
PDRObject.getModifiedIdentifier()
Returns the modified PDR ID of the object.
|
Identifier |
PDRObject.getOriginalIdentifier()
Returns the original ID of the object.
|
static Identifier |
Repository.getUserID(java.lang.String username,
int project)
Returns the PDR user ID of an user identified by username and project number.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Map<Identifier,Identifier> |
Repository.ingestObjects(int instance,
int project,
java.util.List<java.lang.String> objects)
Ingests provided new PDR objects (with temporary IDs) into the repository and
returns a map from temporary to persistent IDs.
|
static java.util.Map<Identifier,Identifier> |
Repository.ingestObjects(int instance,
int project,
java.util.List<java.lang.String> objects)
Ingests provided new PDR objects (with temporary IDs) into the repository and
returns a map from temporary to persistent IDs.
|
Modifier and Type | Method and Description |
---|---|
void |
PDRObject.modifyIdentifier(Identifier newIdentifier)
Replaces all occurances of the current PDR ID by the provided ID.
|