| Package | Description |
|---|---|
| de.ipk_gatersleben.bit.bi.edal.primary_data.file |
| Modifier and Type | Method and Description |
|---|---|
protected void |
PrimaryDataEntity.commitVersion(PrimaryDataEntityVersion version)
Internal function to commit a
PrimaryDataEntityVersion to the
storage back-end. |
void |
PrimaryDataEntity.delete()
Delete the
PrimaryDataEntity object by generation of new
PrimaryDataEntityVersion and set the isDeleted flag to
true. |
PublicReference |
PrimaryDataEntityVersion.getPublicReference(PersistentIdentifier identifierType)
Return a specific PublicReference defined by the
PersistentIdentifier type. |
PrimaryDataEntityVersion |
PrimaryDataEntity.getVersionByDate(Calendar date)
Convenience function to get a
PrimaryDataEntityVersion of this
PrimaryDataEntity by the revision date. |
PrimaryDataEntityVersion |
PrimaryDataEntity.getVersionByRevisionNumber(long revisionNumber)
Convenience function to get a
PrimaryDataEntityVersion of this
PrimaryDataEntity by the revision number. |
void |
PrimaryDataEntity.rename(String name)
Rename the current
PrimaryDataEntity. |
void |
PrimaryDataFile.setMetaData(MetaData newMetadata)
Setter for the
MetaData object of this PrimaryDataEntity
object. |
void |
PrimaryDataEntity.setMetaData(MetaData newMetadata)
Setter for the
MetaData object of this PrimaryDataEntity
object. |
void |
PrimaryDataDirectory.setMetaData(MetaData newMetadata)
Setter for the
MetaData object of this PrimaryDataEntity
object. |
void |
PrimaryDataFile.store(InputStream dataInputStream)
Store data and generate a new
PrimaryDataEntityVersion for this
PrimaryDataFile. |
protected abstract void |
PrimaryDataEntity.storeVersion(PrimaryDataEntityVersion newVersion)
Abstract function for storing a new
PrimaryDataEntityVersion for
an PrimaryDataEntity object. |
void |
PrimaryDataEntity.switchCurrentVersion(PrimaryDataEntityVersion version)
Switch the current
PrimaryDataEntityVersion with this
PrimaryDataEntityVersion. |
| Constructor and Description |
|---|
PrimaryDataDirectory(PrimaryDataDirectory path,
String name)
Constructor for PrimaryDataDirectory.
|
PrimaryDataEntity(PrimaryDataDirectory path,
String name)
Construct a
PrimaryDataEntity object. |
PrimaryDataEntityVersion(PrimaryDataEntity entity,
boolean delete,
MetaData metadata)
Construct a new
PrimaryDataEntityVersion for a
PrimaryDataEntity. |
PrimaryDataFile(PrimaryDataDirectory path,
String name)
Construct a
PrimaryDataFile and set the file version to the
latest one |
Copyright © 2015 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.