public interface Outbox
| Modifier and Type | Method and Description |
|---|---|
void |
fetch(java.util.Calendar time,
java.io.OutputStream out)
Fetch items from the outbox, having a last modified time greater than
the given optional time, automatically removing items that are older.
|
java.lang.String |
getPath()
Returns the outbox path.
|
void |
put(ReplicationAction action)
Put an empty item in the outbox with a replication action other than
ReplicationActionType.ACTIVATE. |
void |
put(ReplicationAction action,
java.io.InputStream in)
Put item in the outbox.
|
void put(ReplicationAction action, java.io.InputStream in) throws ReplicationException
action - replication action, must not be ReplicationActionType.ACTIVATEin - item dataReplicationException - if an error occursvoid put(ReplicationAction action) throws ReplicationException
ReplicationActionType.ACTIVATE.action - replication action, must not be ReplicationActionType.ACTIVATEReplicationException - if an error occursvoid fetch(java.util.Calendar time,
java.io.OutputStream out)
throws ReplicationException
time - if not null, all items older than this date
are automatically purged from the outbox before returning the
outbox's contentout - output stream where to store a virtual durbo package named
outbox with the items in the outbox as childrenReplicationException - if an error occursjava.lang.String getPath()
Copyright © 2010 - 2023 Adobe. All Rights Reserved