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 |
|
---|
6 | package gov.hhs.fha.nhinc.auditrepository;
|
---|
7 |
|
---|
8 | import gov.hhs.fha.nhinc.common.nhinccommon.AcknowledgementType;
|
---|
9 | import gov.hhs.fha.nhinc.common.nhinccommonadapter.FindCommunitiesAndAuditEventsResponseType;
|
---|
10 | import gov.hhs.fha.nhinc.nhinccomponentauditrepository.AuditRepositoryManagerPortType;
|
---|
11 | import javax.ejb.Stateless;
|
---|
12 | import javax.jws.WebService;
|
---|
13 |
|
---|
14 | import org.apache.commons.logging.Log;
|
---|
15 | import 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
|
---|
23 | public 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.