public interface OutboxManager
@Nullable Outbox getOutbox(Session session, String name, boolean autoCreate) throws ReplicationException, AccessDeniedException
null is returned, unless
autoCreate is set to true.
Note that the given session needs to be able to read and write nodes on an existing outbox, or needs to be
able to create nodes below the default outboxes path "/var/replication/outboxes".session - the session to access the outboxname - name of the outbox.autoCreate - if true the outbox will be created if it does not existnullReplicationException - if an error occurs.AccessDeniedException - if the given session is not allowed to get or create the outbox.@Nonnull Outbox getDefaultOutbox(Session session) throws ReplicationException
session - the session to access the default outboxReplicationException - if an error occurs.@Deprecated void put(ReplicationAction action, InputStream in) throws ReplicationException
getDefaultOutbox(javax.jcr.Session).Outbox.put(ReplicationAction, java.io.InputStream) instead.action - replication action, must not be ReplicationActionType.ACTIVATEin - item dataReplicationException - if an error occurs@Deprecated void put(ReplicationAction action) throws ReplicationException
getDefaultOutbox(javax.jcr.Session).Outbox.put(ReplicationAction) instead.ReplicationActionType.ACTIVATE.action - replication action, must not be ReplicationActionType.ACTIVATEReplicationException - if an error occurs@Deprecated void put(InputStream in) throws ReplicationException
put(ReplicationAction, java.io.InputStream) instead.ReplicationActionType.ACTIVATEin - item dataReplicationException - if an error occurs@Deprecated void fetch(Session session, Calendar time, OutputStream out) throws ReplicationException
getDefaultOutbox(javax.jcr.Session).Outbox.fetch(java.util.Calendar, java.io.OutputStream) instead.session - session to usetime - 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 occurs@Deprecated boolean checkPermission(Session session)
getDefaultOutbox(javax.jcr.Session)} instead.session - session to useCopyright © 2010 - 2020 Adobe. All Rights Reserved