source: ccr/trunk/nhin-vista/projects/NHINC/Current/Product/Production/Gateway/AuditRepositoryEJB/src/java/gov/hhs/fha/nhinc/auditrepository/AuditRepository.java@ 507

Last change on this file since 507 was 507, checked in by George Lilly, 15 years ago

NHIN gateway and adaptor for use on linux with VistA EHR and RPMS

File size: 1.6 KB
Line 
1/*
2 * To change this template, choose Tools | Templates
3 * and open the template in the editor.
4 */
5
6package gov.hhs.fha.nhinc.auditrepository;
7
8import gov.hhs.fha.nhinc.common.nhinccommon.AcknowledgementType;
9import gov.hhs.fha.nhinc.common.nhinccommonadapter.FindCommunitiesAndAuditEventsResponseType;
10import gov.hhs.fha.nhinc.nhinccomponentauditrepository.AuditRepositoryManagerPortType;
11import javax.ejb.Stateless;
12import javax.jws.WebService;
13
14import org.apache.commons.logging.Log;
15import org.apache.commons.logging.LogFactory;
16
17/**
18 *
19 * @author mflynn02
20 */
21@WebService(serviceName = "AuditRepositoryManagerService", portName = "AuditRepositoryManagerPort", endpointInterface = "gov.hhs.fha.nhinc.nhinccomponentauditrepository.AuditRepositoryManagerPortType", targetNamespace = "urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository", wsdlLocation = "META-INF/wsdl/AuditRepository/NhincComponentAuditRepository.wsdl")
22@Stateless
23public class AuditRepository implements AuditRepositoryManagerPortType {
24
25 private static Log log = LogFactory.getLog(AuditRepository.class);
26
27 public gov.hhs.fha.nhinc.common.nhinccommonadapter.FindCommunitiesAndAuditEventsResponseType queryAuditEvents(gov.hhs.fha.nhinc.common.nhinccommonadapter.FindCommunitiesAndAuditEventsRequestType queryAuditEventsRequest) {
28 return AuditRepositoryHelper.queryAuditEvents(queryAuditEventsRequest);
29 }
30
31 public gov.hhs.fha.nhinc.common.nhinccommon.AcknowledgementType logEvent(gov.hhs.fha.nhinc.common.auditlog.LogEventRequestType logEventRequest) {
32 return AuditRepositoryHelper.logEvent(logEventRequest);
33 }
34
35}
Note: See TracBrowser for help on using the repository browser.