public class Repositories
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
INTERNAL_CREATED |
static java.lang.String |
INTERNAL_MODIFIED |
static java.lang.String |
SYNC_UNAVAILABLE
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static DigitalObject |
copy(DigitalObject dobj,
Repository repo,
java.util.List<java.lang.String> elementsToInclude,
boolean copyAll)
Copies the digital object and the specified data elements.
|
static DigitalObject |
copy(java.util.Map<java.lang.String,java.lang.String> searchResult,
Repository remoteRepo,
Repository repo,
java.util.List<java.lang.String> elementsToInclude,
boolean copyAll)
Deprecated.
|
static Repository |
getNetworkedRepository(java.lang.String repoHandle,
java.lang.String host,
int port,
byte[] pubKeyBytes,
java.lang.String userHandle,
byte[] userPassword) |
@Deprecated public static final java.lang.String SYNC_UNAVAILABLE
Constants.ELEMENT_ATTRIBUTE_DATA_NOT_PRESENTpublic static final java.lang.String INTERNAL_CREATED
public static final java.lang.String INTERNAL_MODIFIED
public static Repository getNetworkedRepository(java.lang.String repoHandle, java.lang.String host, int port, byte[] pubKeyBytes, java.lang.String userHandle, byte[] userPassword) throws RepositoryException
RepositoryExceptionpublic static DigitalObject copy(DigitalObject dobj, Repository repo, java.util.List<java.lang.String> elementsToInclude, boolean copyAll) throws java.io.IOException, RepositoryException, CreationException
dobj - Digital object to be copied.repo - Destination Repository.elementsToInclude - list of the element names to be included in the copy.copyAll - If set to true all elements will be copied.java.io.IOExceptionRepositoryExceptionCreationException@Deprecated public static DigitalObject copy(java.util.Map<java.lang.String,java.lang.String> searchResult, Repository remoteRepo, Repository repo, java.util.List<java.lang.String> elementsToInclude, boolean copyAll) throws java.io.IOException, RepositoryException, CreationException
elementsToInclude - list of the element names to be included in the copy.java.io.IOExceptionRepositoryExceptionCreationException