public interface IStore
Modifier and Type | Method and Description |
---|---|
void |
copy(String srcId,
DMSObject srcObj,
String destId,
DMSObject destObj)
Copies the data of the content identified by origId to the content identified by copyId.
|
void |
delete(String id,
DMSObject obj)
Deletes the content identified by id from the storage of the DMS.
|
byte[] |
get(String id,
DMSObject obj)
Returns the content identified by id from the storage of the DMS.
|
InputStream |
getAsStream(String id,
DMSObject obj)
Returns an InputStream to the content identified by id from the storage of the DMS.
|
long |
getLength(String id,
DMSObject obj)
Returns the number of bytes of the content identified by id from the storage of the DMS.
|
void |
insert(String id,
byte[] content,
DMSObject obj)
Inserts the content identified by id into the storage of the DMS.
|
void |
insert(String id,
InputStream is,
long length,
DMSObject obj)
Inserts the content identified by id into the storage of the DMS.
|
void |
update(String id,
byte[] content,
DMSObject obj)
Updates the content identified by id in the storage of the DMS.
|
void |
update(String id,
InputStream is,
long length,
DMSObject obj)
Updates the content identified by id in the storage of the DMS.
|
void insert(String id, byte[] content, DMSObject obj)
id
- identifies the contentcontent
- the data to be storedobj
- the object to which the content belongs to. It is passed if some store implementation
needs additional information about the origin of the content.void update(String id, byte[] content, DMSObject obj)
id
- identifies the contentcontent
- the new data to be storedobj
- the object to which the content belongs to. It is passed if some store implementation
needs additional information about the origin of the content.void delete(String id, DMSObject obj)
id
- identifies the contentobj
- the object to which the content belongs to. It is passed if some store implementation
needs additional information about the origin of the content.byte[] get(String id, DMSObject obj)
id
- identifies the contentobj
- the object to which the content belongs to. It is passed if some store implementation
needs additional information about the origin of the content.void insert(String id, InputStream is, long length, DMSObject obj)
id
- identifies the contentis
- an InputStream to the data to be storedlength
- the number of bytes provided by the streamobj
- the object to which the content belongs to. It is passed if some store implementation
needs additional information about the origin of the content.void update(String id, InputStream is, long length, DMSObject obj)
id
- identifies the contentis
- an InputStream to the data to be storedlength
- the number of bytes provided by the streamobj
- the object to which the content belongs to. It is passed if some store implementation
needs additional information about the origin of the content.InputStream getAsStream(String id, DMSObject obj)
id
- identifies the contentobj
- the object to which the content belongs to. It is passed if some store implementation
needs additional information about the origin of the content.void copy(String srcId, DMSObject srcObj, String destId, DMSObject destObj)
srcId
- the id of the content which data should be copiedsrcObj
- the object to which the content belongs todestId
- the id of the content to which the data should be copieddestObj
- the object to which the destination content belongs tolong getLength(String id, DMSObject obj)
id
- identifies the contentobj
- the object to which the content belongs to. It is passed if some store implementation
needs additional information about the origin of the content.@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.