Пример #1
0
 public void setAttachments(Map<String, com.cloudant.client.api.model.Attachment> attachments) {
   Map<String, Attachment> lightCouchAttachments = new HashMap<String, Attachment>();
   Iterator<String> iterator = attachments.keySet().iterator();
   while (iterator.hasNext()) {
     String key = (String) iterator.next();
     com.cloudant.client.api.model.Attachment attachment = attachments.get(key);
     Attachment lightCouchAttachment = attachment.getAttachement();
     lightCouchAttachments.put(key, lightCouchAttachment);
   }
   replicatorDocument.setAttachments(lightCouchAttachments);
 }
Пример #2
0
 public Map<String, com.cloudant.client.api.model.Attachment> getAttachments() {
   Map<String, Attachment> couchDbAttachments = replicatorDocument.getAttachments();
   Map<String, com.cloudant.client.api.model.Attachment> attachments =
       new HashMap<String, com.cloudant.client.api.model.Attachment>();
   Iterator<String> iterator = couchDbAttachments.keySet().iterator();
   while (iterator.hasNext()) {
     String key = (String) iterator.next();
     Attachment couchDbAttachment = couchDbAttachments.get(key);
     com.cloudant.client.api.model.Attachment attachment =
         new com.cloudant.client.api.model.Attachment(couchDbAttachment);
     attachments.put(key, attachment);
   }
   return attachments;
 }
Пример #3
0
 public Integer getRetriesPerRequest() {
   return replicatorDocument.getRetriesPerRequest();
 }
Пример #4
0
 public String getTarget() {
   return replicatorDocument.getTarget();
 }
Пример #5
0
 public void addAttachment(String name, com.cloudant.client.api.model.Attachment attachment) {
   replicatorDocument.addAttachment(name, attachment.getAttachement());
 }
Пример #6
0
 public void setRevision(String revision) {
   replicatorDocument.setRevision(revision);
 }
Пример #7
0
 public String getId() {
   return replicatorDocument.getId();
 }
Пример #8
0
 public Integer getSinceSeq() {
   return replicatorDocument.getSinceSeq();
 }
Пример #9
0
 public void setProxy(String proxy) {
   replicatorDocument.setProxy(proxy);
 }
Пример #10
0
 public void setDocIds(String[] docIds) {
   replicatorDocument.setDocIds(docIds);
 }
Пример #11
0
 public void setQueryParams(JsonObject queryParams) {
   replicatorDocument.setQueryParams(queryParams);
 }
Пример #12
0
 public void setFilter(String filter) {
   replicatorDocument.setFilter(filter);
 }
Пример #13
0
 public void setContinuous(Boolean continuous) {
   replicatorDocument.setContinuous(continuous);
 }
Пример #14
0
 public void setTarget(String target) {
   replicatorDocument.setTarget(target);
 }
Пример #15
0
 public void setSource(String source) {
   replicatorDocument.setSource(source);
 }
Пример #16
0
 public void setConnectionTimeout(Long connectionTimeout) {
   replicatorDocument.setConnectionTimeout(connectionTimeout);
 }
Пример #17
0
 public void setRetriesPerRequest(Integer retriesPerRequest) {
   replicatorDocument.setRetriesPerRequest(retriesPerRequest);
 }
Пример #18
0
 public void setCreateTarget(Boolean createTarget) {
   replicatorDocument.setCreateTarget(createTarget);
 }
Пример #19
0
 public void setSinceSeq(Integer sinceSeq) {
   replicatorDocument.setSinceSeq(sinceSeq);
 }
Пример #20
0
 public void setReplicationId(String replicationId) {
   replicatorDocument.setReplicationId(replicationId);
 }
Пример #21
0
 public String getRevision() {
   return replicatorDocument.getRevision();
 }
Пример #22
0
 public void setReplicationStateTime(String replicationStateTime) {
   replicatorDocument.setReplicationStateTime(replicationStateTime);
 }
Пример #23
0
 public void setId(String id) {
   replicatorDocument.setId(id);
 }
Пример #24
0
 public void setUserCtx(UserCtx userCtx) {
   replicatorDocument.setUserCtx(userCtx.getLightCouchUserCtx());
 }
Пример #25
0
 public void setWorkerProcesses(Integer workerProcesses) {
   replicatorDocument.setWorkerProcesses(workerProcesses);
 }
Пример #26
0
 public void setWorkerBatchSize(Integer workerBatchSize) {
   replicatorDocument.setWorkerBatchSize(workerBatchSize);
 }
Пример #27
0
 public String getSource() {
   return replicatorDocument.getSource();
 }
Пример #28
0
 public void setHttpConnections(Integer httpConnections) {
   replicatorDocument.setHttpConnections(httpConnections);
 }
Пример #29
0
 public Boolean getContinuous() {
   return replicatorDocument.getContinuous();
 }
Пример #30
0
 public Long getConnectionTimeout() {
   return replicatorDocument.getConnectionTimeout();
 }