01: /*
02: * JBoss, Home of Professional Open Source.
03: * Copyright 2006, Red Hat Middleware LLC, and individual contributors
04: * as indicated by the @author tags. See the copyright.txt file in the
05: * distribution for a full listing of individual contributors.
06: *
07: * This is free software; you can redistribute it and/or modify it
08: * under the terms of the GNU Lesser General Public License as
09: * published by the Free Software Foundation; either version 2.1 of
10: * the License, or (at your option) any later version.
11: *
12: * This software is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15: * Lesser General Public License for more details.
16: *
17: * You should have received a copy of the GNU Lesser General Public
18: * License along with this software; if not, write to the Free
19: * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20: * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21: */
22: package org.jboss.test.cmp2.audit.interfaces;
23:
24: import java.rmi.RemoteException;
25: import javax.ejb.EJBObject;
26:
27: /**
28: * Session facade for audit testing.
29: *
30: * @author Adrian.Brock@HappeningTimes.com
31: * @version $Revision: 57211 $
32: */
33: public interface AuditSession extends EJBObject {
34: public void createAudit(String id) throws RemoteException;
35:
36: public void updateAudit(String id, String stringValue)
37: throws RemoteException;
38:
39: public String fullAuditCheck(String id, String user,
40: long beginTime, long endTime) throws RemoteException;
41:
42: public String createAuditCheck(String id, String user,
43: long beginTime, long endTime) throws RemoteException;
44:
45: public String updateAuditCheck(String id, String user,
46: long beginTime, long endTime) throws RemoteException;
47:
48: public void createAuditChangedNames(String id)
49: throws RemoteException;
50:
51: public void updateAuditChangedNames(String id, String stringValue)
52: throws RemoteException;
53:
54: public String createAuditChangedNamesCheck(String id, String user,
55: long beginTime, long endTime) throws RemoteException;
56:
57: public String updateAuditChangedNamesCheck(String id, String user,
58: long beginTime, long endTime) throws RemoteException;
59:
60: public void createAuditMapped(String id) throws RemoteException;
61:
62: public void updateAuditMapped(String id, String stringValue)
63: throws RemoteException;
64:
65: public void createAuditMappedChangedFields(String id, String user,
66: long time) throws RemoteException;
67:
68: public void updateAuditMappedChangedFields(String id,
69: String stringValue, String user, long time)
70: throws RemoteException;
71:
72: public String createAuditMappedCheck(String id, String user,
73: long beginTime, long endTime) throws RemoteException;
74:
75: public String updateAuditMappedCheck(String id, String user,
76: long beginTime, long endTime) throws RemoteException;
77:
78: }
|