01: /*
02: * JFolder, Copyright 2001-2006 Gary Steinmetz
03: *
04: * Distributable under LGPL license.
05: * See terms of license at gnu.org.
06: */
07:
08: package org.jfolder.security.audit;
09:
10: //base classes
11: import java.math.BigDecimal;
12: import java.util.HashMap;
13:
14: //project specific classes
15: import org.jfolder.common.UnexpectedSystemException;
16: import org.jfolder.common.utils.misc.MiscHelper;
17: import org.jfolder.security.model.UserIdentity;
18:
19: //other classes
20:
21: public interface SecurityAudit {
22:
23: //public void refreshSecurityAudit(SecurityAudit inWa);
24:
25: //
26: //public UserIdentity getAuditUser();
27: //public int getAuditCode();
28: //public String getAuditComment();
29: //public String getAuditStatus();
30: //public long getAuditTimestamp();
31: //
32: //public boolean isAuditFaultPresent();
33: //public String getAuditFaultMessage();
34: //public String getAuditFaultSource();
35:
36: //
37: public boolean isAuditUserIdentityPresent();
38:
39: public UserIdentity getAuditUserIdentity();
40:
41: public BigDecimal getAuditSequenceNumber();
42:
43: public String getAuditMachineOfOrigin();
44:
45: public String getAuditDateTime();
46:
47: public String getAuditSeverityLevel();
48:
49: public HashMap getAuditCategoryType();
50:
51: public HashMap getAuditSourceType();
52:
53: public String getAuditServerVersion();
54:
55: //
56: public BigDecimal getAuditCustomCode();
57:
58: public HashMap getAuditCustomCategoryType();
59:
60: public HashMap getAuditCustomSourceType();
61:
62: public String getAuditCustomMessage();
63:
64: //
65: public boolean isAuditOpened();
66:
67: //
68: //
69: //
70: public void setAuditOpened(boolean inOpened);
71:
72: //
73: //public void setAuditFault(Exception inException);
74: //public void setAuditFault(String inMessage, String inSource);
75:
76: //protected void setAuditStatus(String inStatus);
77: }
|