public interface SupportsFastCopyForLayeredRepo
Modifier and Type | Method and Description |
---|---|
void |
copyTo(DigitalObject target)
Copy this digital object (in the bottom repository of a
LayeredRepository
to another digital object (in the top repository). |
void copyTo(DigitalObject target) throws RepositoryException, java.io.IOException
LayeredRepository
to another digital object (in the top repository). For implementations that can be faster than naive copying.
In general this does not copy the data of data elements, but sets the attribute
LayeredDataElement.ATTRIBUTE_DATA_ELEMENT_MISSING
to 1 on each data element not copied.target
- the digital object to copy intoRepositoryException
java.io.IOException