1 11 12 package org.jivesoftware.messenger.audit; 13 14 import java.util.Collection ; 15 import java.util.Iterator ; 16 17 27 public interface AuditManager { 28 29 public static final int PRESENCE_UNAVAILABLE_AVAILABLE = 1; 31 public static final int PRESENCE_AVAILABLE_AVAILABLE = 2; 32 public static final int PRESENCE_AVAILABLE_UNAVAILABLE = 4; 33 public static final int PRESENCE_UNAVAILABLE_UNAVAILABLE = 8; 34 35 40 boolean isEnabled(); 41 42 47 void setEnabled(boolean enabled); 48 49 55 Auditor getAuditor(); 56 57 64 int getMaxFileSize(); 65 66 71 void setMaxFileSize(int size); 72 73 82 int getMaxFileCount(); 83 84 90 void setMaxFileCount(int count); 91 92 99 int getLogTimeout(); 100 101 108 void setLogTimeout(int logTimeout); 109 110 115 String getLogDir(); 116 117 122 void setLogDir(String logDir); 123 124 131 boolean isAuditMessage(); 132 133 140 void setAuditMessage(boolean enabled); 141 142 149 boolean isAuditPresence(); 150 151 158 void setAuditPresence(boolean enabled); 159 160 167 boolean isAuditIQ(); 168 169 176 void setAuditIQ(boolean enabled); 177 178 186 boolean isAuditXPath(); 187 188 196 void setAuditXPath(boolean enabled); 197 198 205 void addXPath(String xpathExpression); 206 207 214 void removeXPath(String xpathExpression); 215 216 224 Iterator getXPathFilters(); 225 226 232 void setIgnoreList(Collection <String > usernames); 233 234 240 Collection <String > getIgnoreList(); 241 } | Popular Tags |