示例#1
0
 public static void logConsumerXCAImport(
     String patID, URL repositoryURL, RetrieveDocumentSetRequestType docReq, boolean success) {
   if (logger != null && logger.isInstalled()) {
     logImport(
         EventTypeCode.ITI_39_CrossGatewayRetrieve,
         null,
         patID,
         repositoryURL.toExternalForm(),
         null,
         repositoryURL.getHost(),
         XDSConstants.WS_ADDRESSING_ANONYMOUS,
         AuditLogger.processID(),
         AuditLogger.localHost().getHostName(),
         docReq,
         success);
   }
 }
示例#2
0
 /**
  * Send a ITI-42 Import Audit message. (Document Registry: register document set) patID(1)
  * srcUserID content of wsa:ReplyTo. ('http://www.w3.org/2005/08/addressing/anonymous' if null).
  * altSrcUserID not specialized destUserID SOAP endpoint URI. altDestUserID Process ID (consumer)
  * SubmissionSet(1) Document(0)
  *
  * @param submissionSetUID
  * @param patID
  * @param info
  * @param success
  */
 public static void logRegistryImport(
     String submissionSetUID, String patID, AuditRequestInfo info, boolean success) {
   if (logger != null && logger.isInstalled()) {
     logImport(
         EventTypeCode.ITI_42_RegisterDocumentSetB,
         submissionSetUID,
         patID,
         info.getReplyTo(),
         null,
         info.getRemoteHost(),
         info.getRequestURI(),
         AuditLogger.processID(),
         info.getLocalHost(),
         null,
         success);
   }
 }