no.difi.vefa.peppol.common.model.Header.getProcess()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(3.3k)|赞(0)|评价(0)|浏览(116)

本文整理了Java中no.difi.vefa.peppol.common.model.Header.getProcess()方法的一些代码示例,展示了Header.getProcess()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Header.getProcess()方法的具体详情如下:
包路径:no.difi.vefa.peppol.common.model.Header
类名称:Header
方法名:getProcess

Header.getProcess介绍

暂无

代码示例

代码示例来源:origin: difi/oxalis

public HeaderStub(Header header) {
  this.receiver = header.getReceiver();
  this.documentType = header.getDocumentType();
  this.process = header.getProcess();
}

代码示例来源:origin: no.difi.vefa/peppol-lookup

public Endpoint getEndpoint(Header header, TransportProfile... transportProfiles)
      throws LookupException, PeppolSecurityException, EndpointNotFoundException {
    return getEndpoint(header.getReceiver(), header.getDocumentType(),
        header.getProcess(), transportProfiles);
  }
}

代码示例来源:origin: difi/oxalis

public PeppolStandardBusinessHeader(Header header) {
  senderId = header.getSender();
  recipientId = header.getReceiver();
  creationDateAndTime = header.getCreationTimestamp();
  peppolDocumentTypeId = header.getDocumentType();
  profileTypeIdentifier = header.getProcess();
  instanceId = new InstanceId(header.getIdentifier().getIdentifier());
}

代码示例来源:origin: no.difi.oxalis/oxalis-statistics

public void persist(InboundMetadata inboundMetadata) {
    // Persists raw statistics when message was received (ignore if stats couldn't be persisted, just warn)
    try {
      DefaultRawStatistics rawStatistics = new DefaultRawStatistics.RawStatisticsBuilder()
          .accessPointIdentifier(ourAccessPointIdentifier)
          .direction(Direction.IN)
          .documentType(inboundMetadata.getHeader().getDocumentType())
          .sender(inboundMetadata.getHeader().getSender())
          .receiver(inboundMetadata.getHeader().getReceiver())
          .profile(inboundMetadata.getHeader().getProcess())
          .channel(new ChannelId("AS2"))
          .build();

      rawStatisticsRepository.persist(rawStatistics);
    } catch (Exception e) {
      logger.error("Unable to persist statistics for " + inboundMetadata.toString() + ";\n " + e.getMessage(), e);
    }
  }
}

代码示例来源:origin: difi/oxalis

public void persist(InboundMetadata inboundMetadata) {
    // Persists raw statistics when message was received (ignore if stats couldn't be persisted, just warn)
    try {
      DefaultRawStatistics rawStatistics = new DefaultRawStatistics.RawStatisticsBuilder()
          .accessPointIdentifier(ourAccessPointIdentifier)
          .direction(Direction.IN)
          .documentType(inboundMetadata.getHeader().getDocumentType())
          .sender(inboundMetadata.getHeader().getSender())
          .receiver(inboundMetadata.getHeader().getReceiver())
          .profile(inboundMetadata.getHeader().getProcess())
          .channel(new ChannelId("AS2"))
          .build();

      rawStatisticsRepository.persist(rawStatistics);
    } catch (Exception e) {
      logger.error("Unable to persist statistics for " + inboundMetadata.toString() + ";\n " + e.getMessage(), e);
    }
  }
}

代码示例来源:origin: no.difi.vefa/peppol-sbdh

scopes.add(SbdhHelper.createScope(header.getProcess()));

代码示例来源:origin: no.difi.oxalis/oxalis-statistics

.sender(transmissionResponse.getHeader().getSender())
.receiver(transmissionResponse.getHeader().getReceiver())
.profile(transmissionResponse.getHeader().getProcess())

代码示例来源:origin: difi/oxalis

.sender(transmissionResponse.getHeader().getSender())
.receiver(transmissionResponse.getHeader().getReceiver())
.profile(transmissionResponse.getHeader().getProcess())

代码示例来源:origin: no.difi.vefa/peppol-sbdh

header.getDocumentType());
notNull("Scope containing process identifier is not provided in SBDH.",
    header.getProcess());

相关文章