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.services.console;
09:
10: //base classes
11: import java.math.BigDecimal;
12:
13: //project specific classes
14: import org.jfolder.common.tagging.RootConceptTagHolder;
15: import org.jfolder.security.audit.SecurityAudit;
16: import org.jfolder.security.audit.SecurityAuditSet;
17: import org.jfolder.security.model.UserIdentity;
18: import org.jfolder.services.base.BaseService;
19:
20: //other classes
21:
22: public interface ConsoleService extends BaseService {
23:
24: //
25: public RootConceptTagHolder getConsoleConfig(UserIdentity inUi,
26: String inPreferencesHandle);
27:
28: public void saveConsoleConfig(UserIdentity inUi,
29: String inPreferencesHandle, RootConceptTagHolder inRcth);
30:
31: public void resetConsoleConfig(UserIdentity inUi,
32: String inPreferencesHandle);
33:
34: //
35: public SecurityAuditSet getSecurityAudits(long inStartDate,
36: long inEndDate, BigDecimal inSeverityLevels[],
37: String inCategoryTypes[], String inSourceTypes[],
38: BigDecimal inCustomCodes[], String inCustomCategoryTypes[],
39: String inCustomSourceTypes[], Boolean inOpened);
40:
41: public void saveAudit(SecurityAudit inSa);
42:
43: public void updateAudit(BigDecimal inId, UserIdentity inUi,
44: long inUtcDateTime, String inAnnotation, Boolean inStatus);
45: }
|