Package | Description |
---|---|
org.bbaw.pdr.padre |
Commands which make use of the PaDRe API.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
PadreGetTime.execute() |
java.lang.Object |
PadreWriteXml.execute() |
java.lang.Object |
PadrePing.execute() |
java.lang.Object |
PadreSingleDelete.execute() |
java.lang.String |
PadreGetInstance.execute() |
PDRObject |
PadreSingleReadXml.execute() |
java.util.List<PDRObject> |
PadreGetModified.execute() |
java.util.List<PDRObject> |
PadreSpanReadXml.execute() |
java.util.List<IDRange> |
PadreGetIDRanges.execute() |
java.util.List<java.lang.String> |
PadreGetProjects.execute() |
java.lang.Boolean |
PadreContains.execute() |
java.lang.Object |
PadreSpanDelete.execute() |
java.lang.Object |
PadreCreateProject.execute() |
Constructor and Description |
---|
PadreContains(Identifier identifier)
Checks the existence of the PDRObject with the given ID,
provided as
org.bbaw.pdr.utils.Identifier . |
PadreContains(java.lang.String identifier)
Checks the existence of the PDRObject with the given ID,
provided as
java.lang.String . |
PadreCreateProject(int project)
Creates a PaDRe store for given project id.
|
PadreGetIDRanges(PDRType type,
int instance,
int project,
int lowerBound,
int upperBound)
Returns ID ranges of available objects within given bounds.
|
PadreGetInstance()
Returns PaDRe's instance ID.
|
PadreGetModified(int store,
java.lang.String timestamp)
Reads objects from provided PaDRe store which were modified
since given timestamp.
|
PadreGetProjects()
Returns available project IDs.
|
PadreGetTime()
Returns current PaDRe server time.
|
PadrePing()
Checks PaDRe's availability.
|
PadreSingleDelete(java.lang.String identifier)
Deletes the PDR object with the given ID from PaDRe.
|
PadreSingleReadXml(java.lang.String identifier)
Reads the PDR object with the given Identifier from PaDRe.
|
PadreSpanDelete(java.lang.String minIdentifier,
java.lang.String maxIdentifier)
Deletes all PDR objects within the provided span from PaDRe.
|
PadreSpanReadXml(java.lang.String minIdentifier,
java.lang.String maxIdentifier)
Reads all objects within the provided span.
|
PadreWriteXml(java.util.List<PDRObject> pdrObjects)
Writes the provided list of PDR objects to PaDRe.
|
PadreWriteXml(PDRObject pdrObject)
Writes the provided single PDR object to PaDRe.
|